diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index e6c2d741f465a3..46aa68b1025c50 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -1342,6 +1342,9 @@ PICS: id: LVL.S.M.VarRate #Groups Cluster + - label: "Does the DUT(Server) support Group Names feature?" + id: G.S.F00 + - label: "Does the DUT(Server) support NameSupport attribute?" id: G.S.A0000 @@ -2129,54 +2132,41 @@ PICS: id: MEDIAPLAYBACK.S.C0B.Rsp - label: - "Does the DUT support the Media Playback client cluster Play command?" - id: MEDIAPLAYBACK.C.C0000 - - - label: - "Does the DUT support the Media Playback client cluster Pause command?" - id: MEDIAPLAYBACK.C.C0001 - - - label: - "Does the DUT support the Media Playback client cluster Stop command?" - id: MEDIAPLAYBACK.C.C0002 + "Does the DUT support the Media Playback client cluster, Play command?" + id: MEDIAPLAYBACK.C.C00.Tx - label: - "Does the DUT support the Media Playback client cluster StartOver + "Does the DUT support the Media Playback client cluster, Pause command?" - id: MEDIAPLAYBACK.C.C0003 + id: MEDIAPLAYBACK.C.C01.Tx - label: - "Does the DUT support the Media Playback client cluster Previous - command?" - id: MEDIAPLAYBACK.C.C0004 - - - label: - "Does the DUT support the Media Playback client cluster Next command?" - id: MEDIAPLAYBACK.C.C0005 + "Does the DUT support the Media Playback client cluster, Stop command?" + id: MEDIAPLAYBACK.C.C02.Tx - label: - "Does the DUT support the Media Playback client cluster Rewind + "Does the DUT support the Media Playback client cluster, StartOver command?" - id: MEDIAPLAYBACK.C.C0006 + id: MEDIAPLAYBACK.C.C03.Tx - label: - "Does the DUT support the Media Playback client cluster FastForward + "Does the DUT support the Media Playback client cluster, Previous command?" - id: MEDIAPLAYBACK.C.C0007 + id: MEDIAPLAYBACK.C.C04.Tx - label: - "Does the DUT support the Media Playback client cluster SkipForward - command?" - id: MEDIAPLAYBACK.C.C0008 + "Does the DUT support the Media Playback client cluster, Next command?" + id: MEDIAPLAYBACK.C.C05.Tx - label: - "Does the DUT support the Media Playback client cluster SkipBackward + "Does the DUT support the Media Playback client cluster, SkipForward command?" - id: MEDIAPLAYBACK.C.C0009 + id: MEDIAPLAYBACK.C.C08.Tx - label: - "Does the DUT support the Media Playback client cluster Seek command?" - id: MEDIAPLAYBACK.C.C000B + "Does the DUT support the Media Playback client cluster, SkipBackward + command?" + id: MEDIAPLAYBACK.C.C09.Tx - label: "Does the DUT support the Audio Output server cluster OutputList 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 7b1bda48b01248..67284f571f9a4e 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 @@ -13,7 +13,7 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 129.2.10. [TC-ACL-2.10] Persistence +name: 131.2.10. [TC-ACL-2.10] Persistence config: nodeId: 0x12344321 @@ -22,13 +22,6 @@ config: tests: - label: "TH1 commissions DUT using admin node ID N1" - verification: | - - disabled: true - - - label: - "TH1 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" verification: | DUT sudo ./chip-all-clusters-app @@ -38,53 +31,53 @@ tests: disabled: true - label: - "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin - node ID N2" + "TH1 reads DUT Endpoint 0 OperationalCredentials cluster + CurrentFabricIndex attribute" verification: | ./chip-tool operationalcredentials read current-fabric-index 1 0 - - [1656588171.078880][3260:3265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1776815488 - [1656588171.078952][3260:3265] CHIP:TOO: CurrentFabricIndex: 1 - [1656588171.079037][3260:3265] CHIP:EM: Sending Standalone Ack for MessageCounter:260718042 on exchange 36423i + [1658329512.220471][3036:3041] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572 + [1658329512.220529][3036:3041] CHIP:TOO: CurrentFabricIndex: 1 + [1658329512.220601][3036:3041] CHIP:EM: Sending Standalone Ack for MessageCounter:23447431 on exchange 2287i disabled: true - label: - "TH2 reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" + "TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin + node ID N2" verification: | Open a commissioning window on TH1 using below command ./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000 + On TH2, verify DUT Responds SUCCESSFULLY [1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage = [1657286379.420894][4724:4729] CHIP:DMG: { - [1657286379.420937][4724:4729] CHIP:DMG: suppressResponse = false, - [1657286379.421000][4724:4729] CHIP:DMG: InvokeResponseIBs = - [1657286379.421068][4724:4729] CHIP:DMG: [ - [1657286379.421120][4724:4729] CHIP:DMG: InvokeResponseIB = - [1657286379.421208][4724:4729] CHIP:DMG: { - [1657286379.421264][4724:4729] CHIP:DMG: CommandStatusIB = - [1657286379.421344][4724:4729] CHIP:DMG: { - [1657286379.421407][4724:4729] CHIP:DMG: CommandPathIB = - [1657286379.421493][4724:4729] CHIP:DMG: { - [1657286379.421581][4724:4729] CHIP:DMG: EndpointId = 0x0, - [1657286379.421656][4724:4729] CHIP:DMG: ClusterId = 0x3c, - [1657286379.421754][4724:4729] CHIP:DMG: CommandId = 0x1, - [1657286379.421838][4724:4729] CHIP:DMG: }, + [1657286379.420937][4724:4729] CHIP:DMG: suppressResponse = false, + [1657286379.421000][4724:4729] CHIP:DMG: InvokeResponseIBs = + [1657286379.421068][4724:4729] CHIP:DMG: [ + [1657286379.421120][4724:4729] CHIP:DMG: InvokeResponseIB = + [1657286379.421208][4724:4729] CHIP:DMG: { + [1657286379.421264][4724:4729] CHIP:DMG: CommandStatusIB = + [1657286379.421344][4724:4729] CHIP:DMG: { + [1657286379.421407][4724:4729] CHIP:DMG: CommandPathIB = + [1657286379.421493][4724:4729] CHIP:DMG: { + [1657286379.421581][4724:4729] CHIP:DMG: EndpointId = 0x0, + [1657286379.421656][4724:4729] CHIP:DMG: ClusterId = 0x3c, + [1657286379.421754][4724:4729] CHIP:DMG: CommandId = 0x1, + [1657286379.421838][4724:4729] CHIP:DMG: }, [1657286379.421916][4724:4729] CHIP:DMG: - [1657286379.421998][4724:4729] CHIP:DMG: StatusIB = - [1657286379.422084][4724:4729] CHIP:DMG: { - [1657286379.422159][4724:4729] CHIP:DMG: status = 0x00 (SUCCESS), - [1657286379.422251][4724:4729] CHIP:DMG: }, + [1657286379.421998][4724:4729] CHIP:DMG: StatusIB = + [1657286379.422084][4724:4729] CHIP:DMG: { + [1657286379.422159][4724:4729] CHIP:DMG: status = 0x00 (SUCCESS), + [1657286379.422251][4724:4729] CHIP:DMG: }, [1657286379.422336][4724:4729] CHIP:DMG: - [1657286379.422397][4724:4729] CHIP:DMG: }, + [1657286379.422397][4724:4729] CHIP:DMG: }, [1657286379.422483][4724:4729] CHIP:DMG: - [1657286379.422537][4724:4729] CHIP:DMG: }, + [1657286379.422537][4724:4729] CHIP:DMG: }, [1657286379.422616][4724:4729] CHIP:DMG: - [1657286379.422666][4724:4729] CHIP:DMG: ], + [1657286379.422666][4724:4729] CHIP:DMG: ], [1657286379.422745][4724:4729] CHIP:DMG: - [1657286379.422796][4724:4729] CHIP:DMG: InteractionModelRevision = 1 + [1657286379.422796][4724:4729] CHIP:DMG: InteractionModelRevision = 1 [1657286379.422861][4724:4729] CHIP:DMG: }, [1657286379.422975][4724:4729] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 [1657286379.423058][4724:4729] CHIP:DMG: ICR moving to [AwaitingDe] @@ -99,172 +92,234 @@ tests: [1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success disabled: true + - label: + "TH2 reads DUT Endpoint 0 OperationalCredentials cluster + 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 + + 1658329570.828165][4563:4568] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572 + [1658329570.831838][4563:4568] CHIP:TOO: CurrentFabricIndex: 2 + [1658329570.831929][4563:4568] CHIP:EM: Sending Standalone Ack for MessageCounter:4928928 on exchange 29185i + disabled: true + - label: "TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute, value - is list of AccessControlEntryStruct containing 2 elements struct + is list of AccessControlEntryStruct containing 2 elements 1.struct Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N1, 1111] Targets field: null struct Privilege field: Operate - (3) AuthMode field: Group (3) Subjects field: [3333] Targets field: - null" + field: [N1, 1111] Targets field: null 2.struct Privilege field: + Operate (3) AuthMode field: Group (3) Subjects field: [3333] Targets + field: null" PICS: ACL.S.A0000 verification: | - ./chip-tool operationalcredentials read current-fabric-index 2 0 - - [1657188499.165669][4046:4051] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1529840827 - [1657188499.165816][4046:4051] CHIP:TOO: CurrentFabricIndex: 2 + ./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 + [1658329787.635523][3056:3061] CHIP:DMG: WriteClient moving to [ResponseRe] + [1658329787.635615][3056:3061] CHIP:DMG: WriteResponseMessage = + [1658329787.635661][3056:3061] CHIP:DMG: { + [1658329787.635701][3056:3061] CHIP:DMG: AttributeStatusIBs = + [1658329787.635758][3056:3061] CHIP:DMG: [ + [1658329787.635804][3056:3061] CHIP:DMG: AttributeStatusIB = + [1658329787.635864][3056:3061] CHIP:DMG: { + [1658329787.635913][3056:3061] CHIP:DMG: AttributePathIB = + [1658329787.635971][3056:3061] CHIP:DMG: { + [1658329787.636030][3056:3061] CHIP:DMG: Endpoint = 0x0, + [1658329787.636093][3056:3061] CHIP:DMG: Cluster = 0x1f, + [1658329787.636157][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, + [1658329787.636216][3056:3061] CHIP:DMG: } + [1658329787.636280][3056:3061] CHIP:DMG: + [1658329787.636334][3056:3061] CHIP:DMG: StatusIB = + [1658329787.636395][3056:3061] CHIP:DMG: { + [1658329787.636452][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329787.636509][3056:3061] CHIP:DMG: }, + [1658329787.636566][3056:3061] CHIP:DMG: + [1658329787.636613][3056:3061] CHIP:DMG: }, + [1658329787.636678][3056:3061] CHIP:DMG: + [1658329787.636723][3056:3061] CHIP:DMG: AttributeStatusIB = + [1658329787.636774][3056:3061] CHIP:DMG: { + [1658329787.636822][3056:3061] CHIP:DMG: AttributePathIB = + [1658329787.636880][3056:3061] CHIP:DMG: { + [1658329787.636937][3056:3061] CHIP:DMG: Endpoint = 0x0, + [1658329787.636998][3056:3061] CHIP:DMG: Cluster = 0x1f, + [1658329787.637066][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, + [1658329787.637131][3056:3061] CHIP:DMG: ListIndex = Null, + [1658329787.637194][3056:3061] CHIP:DMG: } + [1658329787.637263][3056:3061] CHIP:DMG: + [1658329787.637319][3056:3061] CHIP:DMG: StatusIB = + [1658329787.637376][3056:3061] CHIP:DMG: { + [1658329787.637626][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329787.637691][3056:3061] CHIP:DMG: }, + [1658329787.637750][3056:3061] CHIP:DMG: + [1658329787.637801][3056:3061] CHIP:DMG: }, + [1658329787.637868][3056:3061] CHIP:DMG: + [1658329787.637913][3056:3061] CHIP:DMG: AttributeStatusIB = + [1658329787.637966][3056:3061] CHIP:DMG: { + [1658329787.638017][3056:3061] CHIP:DMG: AttributePathIB = + [1658329787.638074][3056:3061] CHIP:DMG: { + [1658329787.638131][3056:3061] CHIP:DMG: Endpoint = 0x0, + [1658329787.638193][3056:3061] CHIP:DMG: Cluster = 0x1f, + [1658329787.638256][3056:3061] CHIP:DMG: Attribute = 0x0000_0000, + [1658329787.638322][3056:3061] CHIP:DMG: ListIndex = Null, + [1658329787.638382][3056:3061] CHIP:DMG: } + [1658329787.638444][3056:3061] CHIP:DMG: + [1658329787.638505][3056:3061] CHIP:DMG: StatusIB = + [1658329787.638562][3056:3061] CHIP:DMG: { + [1658329787.638639][3056:3061] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329787.638698][3056:3061] CHIP:DMG: }, + [1658329787.638754][3056:3061] CHIP:DMG: + [1658329787.638801][3056:3061] CHIP:DMG: }, + [1658329787.638854][3056:3061] CHIP:DMG: + [1658329787.638899][3056:3061] CHIP:DMG: ], + [1658329787.638965][3056:3061] CHIP:DMG: + [1658329787.639009][3056:3061] CHIP:DMG: InteractionModelRevision = 1 + [1658329787.639053][3056:3061] CHIP:DMG: } + [1658329787.639281][3056:3061] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1658329787.639370][3056:3061] CHIP:EM: Sending Standalone Ack for MessageCounter:32017076 on exchange 14424i disabled: true - label: "TH2 writes DUT Endpoint 0 AccessControl cluster ACL attribute value - is list of AccessControlEntryStruct containing 2 elements struct + is list of AccessControlEntryStruct containing 2 elements 1.struct Privilege field: Administer (5) AuthMode field: CASE (2) Subjects - field: [N2, 2222] Targets field: null struct Privilege field: Operate - (3) AuthMode field: Group (3) Subjects field: [4444] Targets field: - null" + field: [N2, 2222] Targets field: null 2.struct Privilege field: + Operate (3) AuthMode field: Group (3) Subjects field: [4444] Targets + field: null" 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 - - [1657287441.844970][4884:4889] CHIP:DMG: WriteResponseMessage = - [1657287441.845030][4884:4889] CHIP:DMG: { - [1657287441.845083][4884:4889] CHIP:DMG: AttributeStatusIBs = - [1657287441.845157][4884:4889] CHIP:DMG: [ - [1657287441.845218][4884:4889] CHIP:DMG: AttributeStatusIB = - [1657287441.845285][4884:4889] CHIP:DMG: { - [1657287441.845348][4884:4889] CHIP:DMG: AttributePathIB = - [1657287441.845425][4884:4889] CHIP:DMG: { - [1657287441.845513][4884:4889] CHIP:DMG: Endpoint = 0x0, - [1657287441.845588][4884:4889] CHIP:DMG: Cluster = 0x1f, - [1657287441.845664][4884:4889] CHIP:DMG: Attribute = 0x0000_0000, - [1657287441.845749][4884:4889] CHIP:DMG: } - [1657287441.845830][4884:4889] CHIP:DMG: - [1657287441.845902][4884:4889] CHIP:DMG: StatusIB = - [1657287441.845977][4884:4889] CHIP:DMG: { - [1657287441.846051][4884:4889] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287441.846127][4884:4889] CHIP:DMG: }, - [1657287441.846197][4884:4889] CHIP:DMG: - [1657287441.846259][4884:4889] CHIP:DMG: }, - [1657287441.846345][4884:4889] CHIP:DMG: - [1657287441.846405][4884:4889] CHIP:DMG: AttributeStatusIB = - [1657287441.846470][4884:4889] CHIP:DMG: { - [1657287441.846616][4884:4889] CHIP:DMG: AttributePathIB = - [1657287441.846698][4884:4889] CHIP:DMG: { - [1657287441.846774][4884:4889] CHIP:DMG: Endpoint = 0x0, - [1657287441.846857][4884:4889] CHIP:DMG: Cluster = 0x1f, - [1657287441.846932][4884:4889] CHIP:DMG: Attribute = 0x0000_0000, - [1657287441.847010][4884:4889] CHIP:DMG: ListIndex = Null, - [1657287441.847093][4884:4889] CHIP:DMG: } - [1657287441.847175][4884:4889] CHIP:DMG: - [1657287441.847247][4884:4889] CHIP:DMG: StatusIB = - [1657287441.847319][4884:4889] CHIP:DMG: { - [1657287441.847389][4884:4889] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287441.847470][4884:4889] CHIP:DMG: }, - [1657287441.847540][4884:4889] CHIP:DMG: - [1657287441.847601][4884:4889] CHIP:DMG: }, - [1657287441.847686][4884:4889] CHIP:DMG: - [1657287441.847746][4884:4889] CHIP:DMG: AttributeStatusIB = - [1657287441.847811][4884:4889] CHIP:DMG: { - [1657287441.847934][4884:4889] CHIP:DMG: AttributePathIB = - [1657287441.848013][4884:4889] CHIP:DMG: { - [1657287441.848088][4884:4889] CHIP:DMG: Endpoint = 0x0, - [1657287441.848196][4884:4889] CHIP:DMG: Cluster = 0x1f, - [1657287441.848284][4884:4889] CHIP:DMG: Attribute = 0x0000_0000, - [1657287441.848363][4884:4889] CHIP:DMG: ListIndex = Null, - [1657287441.848439][4884:4889] CHIP:DMG: } - [1657287441.848522][4884:4889] CHIP:DMG: - [1657287441.848593][4884:4889] CHIP:DMG: StatusIB = - [1657287441.848665][4884:4889] CHIP:DMG: { - [1657287441.848739][4884:4889] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287441.848823][4884:4889] CHIP:DMG: }, - [1657287441.848899][4884:4889] CHIP:DMG: - [1657287441.848960][4884:4889] CHIP:DMG: }, - [1657287441.849032][4884:4889] CHIP:DMG: - [1657287441.849090][4884:4889] CHIP:DMG: ], - [1657287441.849177][4884:4889] CHIP:DMG: - [1657287441.849358][4884:4889] CHIP:DMG: InteractionModelRevision = 1 - [1657287441.849425][4884:4889] CHIP:DMG: } - [1657287441.849729][4884:4889] CHIP:DMG: WriteClient moving to [AwaitingDe] + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets": null}, + {"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]' 2 0 --commissioner-nodeid 223344 --commissioner-name beta + + + On TH2 , Verify DUT Responds Successfully + + [1658329868.113411][4587:4592] CHIP:DMG: WriteClient moving to [ResponseRe] + [1658329868.113469][4587:4592] CHIP:DMG: WriteResponseMessage = + [1658329868.113496][4587:4592] CHIP:DMG: { + [1658329868.113537][4587:4592] CHIP:DMG: AttributeStatusIBs = + [1658329868.113568][4587:4592] CHIP:DMG: [ + [1658329868.113602][4587:4592] CHIP:DMG: AttributeStatusIB = + [1658329868.113646][4587:4592] CHIP:DMG: { + [1658329868.113672][4587:4592] CHIP:DMG: AttributePathIB = + [1658329868.113712][4587:4592] CHIP:DMG: { + [1658329868.113745][4587:4592] CHIP:DMG: Endpoint = 0x0, + [1658329868.113788][4587:4592] CHIP:DMG: Cluster = 0x1f, + [1658329868.113833][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, + [1658329868.113868][4587:4592] CHIP:DMG: } + [1658329868.113914][4587:4592] CHIP:DMG: + [1658329868.113951][4587:4592] CHIP:DMG: StatusIB = + [1658329868.113984][4587:4592] CHIP:DMG: { + [1658329868.114028][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329868.114091][4587:4592] CHIP:DMG: }, + [1658329868.114124][4587:4592] CHIP:DMG: + [1658329868.114160][4587:4592] CHIP:DMG: }, + [1658329868.114197][4587:4592] CHIP:DMG: + [1658329868.114229][4587:4592] CHIP:DMG: AttributeStatusIB = + [1658329868.114266][4587:4592] CHIP:DMG: { + [1658329868.114294][4587:4592] CHIP:DMG: AttributePathIB = + [1658329868.114335][4587:4592] CHIP:DMG: { + [1658329868.114367][4587:4592] CHIP:DMG: Endpoint = 0x0, + [1658329868.114411][4587:4592] CHIP:DMG: Cluster = 0x1f, + [1658329868.114458][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, + [1658329868.114491][4587:4592] CHIP:DMG: ListIndex = Null, + [1658329868.114529][4587:4592] CHIP:DMG: } + [1658329868.114563][4587:4592] CHIP:DMG: + [1658329868.114604][4587:4592] CHIP:DMG: StatusIB = + [1658329868.114645][4587:4592] CHIP:DMG: { + [1658329868.114677][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329868.114716][4587:4592] CHIP:DMG: }, + [1658329868.114747][4587:4592] CHIP:DMG: + [1658329868.114782][4587:4592] CHIP:DMG: }, + [1658329868.114826][4587:4592] CHIP:DMG: + [1658329868.114850][4587:4592] CHIP:DMG: AttributeStatusIB = + [1658329868.114884][4587:4592] CHIP:DMG: { + [1658329868.114910][4587:4592] CHIP:DMG: AttributePathIB = + [1658329868.114948][4587:4592] CHIP:DMG: { + [1658329868.114980][4587:4592] CHIP:DMG: Endpoint = 0x0, + [1658329868.115024][4587:4592] CHIP:DMG: Cluster = 0x1f, + [1658329868.115067][4587:4592] CHIP:DMG: Attribute = 0x0000_0000, + [1658329868.115102][4587:4592] CHIP:DMG: ListIndex = Null, + [1658329868.115145][4587:4592] CHIP:DMG: } + [1658329868.115188][4587:4592] CHIP:DMG: + [1658329868.115222][4587:4592] CHIP:DMG: StatusIB = + [1658329868.115260][4587:4592] CHIP:DMG: { + [1658329868.115291][4587:4592] CHIP:DMG: status = 0x00 (SUCCESS), + [1658329868.115333][4587:4592] CHIP:DMG: }, + [1658329868.115371][4587:4592] CHIP:DMG: + [1658329868.115398][4587:4592] CHIP:DMG: }, + [1658329868.115438][4587:4592] CHIP:DMG: + [1658329868.115463][4587:4592] CHIP:DMG: ], + [1658329868.115507][4587:4592] CHIP:DMG: + [1658329868.115531][4587:4592] CHIP:DMG: InteractionModelRevision = 1 + [1658329868.115565][4587:4592] CHIP:DMG: } + [1658329868.115702][4587:4592] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1658329868.115764][4587:4592] CHIP:EM: Sending Standalone Ack for MessageCounter:240702602 on exchange 57878i disabled: true - label: "TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute, - value is list of AccessControlExtensionStruct containing 1 element + value is list of AccessControlExtensionStruct containing 1 element 1. struct Data field: D_OK_EMPTY" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write acl '[{"fabricIndex": 2, "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets": null}, - {"fabricIndex": 2, "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]' 2 0 --commissioner-name beta --commissioner-nodeid 223344 - - [1657287539.047027][18486:18491] CHIP:DMG: WriteResponseMessage = - [1657287539.047052][18486:18491] CHIP:DMG: { - [1657287539.047072][18486:18491] CHIP:DMG: AttributeStatusIBs = - [1657287539.047106][18486:18491] CHIP:DMG: [ - [1657287539.047127][18486:18491] CHIP:DMG: AttributeStatusIB = - [1657287539.047150][18486:18491] CHIP:DMG: { - [1657287539.047163][18486:18491] CHIP:DMG: AttributePathIB = - [1657287539.047177][18486:18491] CHIP:DMG: { - [1657287539.047193][18486:18491] CHIP:DMG: Endpoint = 0x0, - [1657287539.047214][18486:18491] CHIP:DMG: Cluster = 0x1f, - [1657287539.047237][18486:18491] CHIP:DMG: Attribute = 0x0000_0000, - [1657287539.047262][18486:18491] CHIP:DMG: } - [1657287539.047301][18486:18491] CHIP:DMG: - [1657287539.047326][18486:18491] CHIP:DMG: StatusIB = - [1657287539.047349][18486:18491] CHIP:DMG: { - [1657287539.047370][18486:18491] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287539.047383][18486:18491] CHIP:DMG: }, - [1657287539.047401][18486:18491] CHIP:DMG: - [1657287539.047418][18486:18491] CHIP:DMG: }, - [1657287539.047473][18486:18491] CHIP:DMG: - [1657287539.047495][18486:18491] CHIP:DMG: AttributeStatusIB = - [1657287539.047514][18486:18491] CHIP:DMG: { - [1657287539.047531][18486:18491] CHIP:DMG: AttributePathIB = - [1657287539.047549][18486:18491] CHIP:DMG: { - [1657287539.047573][18486:18491] CHIP:DMG: Endpoint = 0x0, - [1657287539.047596][18486:18491] CHIP:DMG: Cluster = 0x1f, - [1657287539.047622][18486:18491] CHIP:DMG: Attribute = 0x0000_0000, - [1657287539.047646][18486:18491] CHIP:DMG: ListIndex = Null, - [1657287539.047669][18486:18491] CHIP:DMG: } - [1657287539.047700][18486:18491] CHIP:DMG: - [1657287539.047721][18486:18491] CHIP:DMG: StatusIB = - [1657287539.047744][18486:18491] CHIP:DMG: { - [1657287539.047768][18486:18491] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287539.047791][18486:18491] CHIP:DMG: }, - [1657287539.047818][18486:18491] CHIP:DMG: - [1657287539.047837][18486:18491] CHIP:DMG: }, - [1657287539.047875][18486:18491] CHIP:DMG: - [1657287539.047896][18486:18491] CHIP:DMG: AttributeStatusIB = - [1657287539.047921][18486:18491] CHIP:DMG: { - [1657287539.047943][18486:18491] CHIP:DMG: AttributePathIB = - [1657287539.047967][18486:18491] CHIP:DMG: { - [1657287539.047993][18486:18491] CHIP:DMG: Endpoint = 0x0, - [1657287539.048019][18486:18491] CHIP:DMG: Cluster = 0x1f, - [1657287539.048044][18486:18491] CHIP:DMG: Attribute = 0x0000_0000, - [1657287539.048066][18486:18491] CHIP:DMG: ListIndex = Null, - [1657287539.048081][18486:18491] CHIP:DMG: } - [1657287539.048104][18486:18491] CHIP:DMG: - [1657287539.048120][18486:18491] CHIP:DMG: StatusIB = - [1657287539.048207][18486:18491] CHIP:DMG: { - [1657287539.048226][18486:18491] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287539.048242][18486:18491] CHIP:DMG: }, - [1657287539.048260][18486:18491] CHIP:DMG: - [1657287539.048276][18486:18491] CHIP:DMG: }, - [1657287539.048297][18486:18491] CHIP:DMG: - [1657287539.048311][18486:18491] CHIP:DMG: ], - [1657287539.048345][18486:18491] CHIP:DMG: - [1657287539.048361][18486:18491] CHIP:DMG: InteractionModelRevision = 1 - [1657287539.048376][18486:18491] CHIP:DMG: } - [1657287539.048530][18486:18491] CHIP:DMG: WriteClient moving to [AwaitingDe] + ./chip-tool accesscontrol write extension '[{"data":"1718"}]' 1 0 + On TH , Verify DUT Responds 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: { + [1658330105.863284][3079:3084] CHIP:DMG: AttributeStatusIBs = + [1658330105.863315][3079:3084] CHIP:DMG: [ + [1658330105.863339][3079:3084] CHIP:DMG: AttributeStatusIB = + [1658330105.863367][3079:3084] CHIP:DMG: { + [1658330105.863393][3079:3084] CHIP:DMG: AttributePathIB = + [1658330105.863428][3079:3084] CHIP:DMG: { + [1658330105.863460][3079:3084] CHIP:DMG: Endpoint = 0x0, + [1658330105.863495][3079:3084] CHIP:DMG: Cluster = 0x1f, + [1658330105.863529][3079:3084] CHIP:DMG: Attribute = 0x0000_0001, + [1658330105.863589][3079:3084] CHIP:DMG: } + [1658330105.863670][3079:3084] CHIP:DMG: + [1658330105.863745][3079:3084] CHIP:DMG: StatusIB = + [1658330105.863812][3079:3084] CHIP:DMG: { + [1658330105.863877][3079:3084] CHIP:DMG: status = 0x00 (SUCCESS), + [1658330105.863945][3079:3084] CHIP:DMG: }, + [1658330105.864010][3079:3084] CHIP:DMG: + [1658330105.864068][3079:3084] CHIP:DMG: }, + [1658330105.864146][3079:3084] CHIP:DMG: + [1658330105.864197][3079:3084] CHIP:DMG: AttributeStatusIB = + [1658330105.864257][3079:3084] CHIP:DMG: { + [1658330105.864315][3079:3084] CHIP:DMG: AttributePathIB = + [1658330105.864379][3079:3084] CHIP:DMG: { + [1658330105.864444][3079:3084] CHIP:DMG: Endpoint = 0x0, + [1658330105.864516][3079:3084] CHIP:DMG: Cluster = 0x1f, + [1658330105.864592][3079:3084] CHIP:DMG: Attribute = 0x0000_0001, + [1658330105.864669][3079:3084] CHIP:DMG: ListIndex = Null, + [1658330105.864736][3079:3084] CHIP:DMG: } + [1658330105.864808][3079:3084] CHIP:DMG: + [1658330105.864871][3079:3084] CHIP:DMG: StatusIB = + [1658330105.864936][3079:3084] CHIP:DMG: { + [1658330105.865001][3079:3084] CHIP:DMG: status = 0x00 (SUCCESS), + [1658330105.865068][3079:3084] CHIP:DMG: }, + [1658330105.865134][3079:3084] CHIP:DMG: + [1658330105.865188][3079:3084] CHIP:DMG: }, + [1658330105.865251][3079:3084] CHIP:DMG: + [1658330105.865302][3079:3084] CHIP:DMG: ], + [1658330105.865370][3079:3084] CHIP:DMG: + [1658330105.865421][3079:3084] CHIP:DMG: InteractionModelRevision = 1 + [1658330105.865472][3079:3084] CHIP:DMG: } + [1658330105.865672][3079:3084] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1658330105.865769][3079:3084] CHIP:EM: Sending Standalone Ack for MessageCounter:104745751 on exchange 216i disabled: true - label: "TH2 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" PICS: ACL.S.A0001 verification: | - ./chip-tool accesscontrol write extension '[{"data":"1000110010001100"}]' 1 0 - + ./chip-tool accesscontrol write extension '[{"data":"1000110010001100"}]' 2 0 --commissioner-nodeid 223344 --commissioner-name beta + On TH , Verify DUT Responds Successfully to extension attribute list containg one element + On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element . [1657187217.204901][10872:10877] CHIP:DMG: WriteResponseMessage = [1657187217.204928][10872:10877] CHIP:DMG: { [1657187217.204947][10872:10877] CHIP:DMG: AttributeStatusIBs = @@ -311,49 +366,14 @@ tests: - label: "Reboot the DUT" verification: | - ./chip-tool accesscontrol write extension '[{"data":"1000110010001101"}]' 2 0 --commissioner-name beta --commissioner-nodeid 223344 - [1657287839.618348][18563:18568] CHIP:DMG: WriteResponseMessage = - [1657287839.618369][18563:18568] CHIP:DMG: { - [1657287839.618381][18563:18568] CHIP:DMG: AttributeStatusIBs = - [1657287839.618402][18563:18568] CHIP:DMG: [ - [1657287839.618414][18563:18568] CHIP:DMG: AttributeStatusIB = - [1657287839.618434][18563:18568] CHIP:DMG: { - [1657287839.618456][18563:18568] CHIP:DMG: AttributePathIB = - [1657287839.618481][18563:18568] CHIP:DMG: { - [1657287839.618508][18563:18568] CHIP:DMG: Endpoint = 0x0, - [1657287839.618532][18563:18568] CHIP:DMG: Cluster = 0x1f, - [1657287839.618557][18563:18568] CHIP:DMG: Attribute = 0x0000_0001, - [1657287839.618577][18563:18568] CHIP:DMG: } - [1657287839.618610][18563:18568] CHIP:DMG: - [1657287839.618630][18563:18568] CHIP:DMG: StatusIB = - [1657287839.618661][18563:18568] CHIP:DMG: { - [1657287839.618684][18563:18568] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287839.618712][18563:18568] CHIP:DMG: }, - [1657287839.618738][18563:18568] CHIP:DMG: - [1657287839.618758][18563:18568] CHIP:DMG: }, - [1657287839.618794][18563:18568] CHIP:DMG: - [1657287839.618814][18563:18568] CHIP:DMG: AttributeStatusIB = - [1657287839.618834][18563:18568] CHIP:DMG: { - [1657287839.618858][18563:18568] CHIP:DMG: AttributePathIB = - [1657287839.618883][18563:18568] CHIP:DMG: { - [1657287839.618907][18563:18568] CHIP:DMG: Endpoint = 0x0, - [1657287839.618927][18563:18568] CHIP:DMG: Cluster = 0x1f, - [1657287839.618961][18563:18568] CHIP:DMG: Attribute = 0x0000_0001, - [1657287839.618983][18563:18568] CHIP:DMG: ListIndex = Null, - [1657287839.619010][18563:18568] CHIP:DMG: } - [1657287839.619038][18563:18568] CHIP:DMG: - [1657287839.619057][18563:18568] CHIP:DMG: StatusIB = - [1657287839.619079][18563:18568] CHIP:DMG: { - [1657287839.619099][18563:18568] CHIP:DMG: status = 0x00 (SUCCESS), - [1657287839.619120][18563:18568] CHIP:DMG: }, - [1657287839.619145][18563:18568] CHIP:DMG: - [1657287839.619166][18563:18568] CHIP:DMG: }, - [1657287839.619196][18563:18568] CHIP:DMG: - [1657287839.619215][18563:18568] CHIP:DMG: ], - [1657287839.619251][18563:18568] CHIP:DMG: - [1657287839.619267][18563:18568] CHIP:DMG: InteractionModelRevision = 1 - [1657287839.619278][18563:18568] CHIP:DMG: } - [1657287839.619400][18563:18568] CHIP:DMG: WriteClient moving to [AwaitingDe] + Follow the below procedure for rebooting (Only applicable on raspi) + + 1. create a file using touch command , something like touch mytest.txt + 2. chmod 777 mytest.txt + 3. launch the app sudo ./out/all-clusters-app/chip-all-clusters-app --KVS ./mytest.txt + 4. commission DUT with TH using above steps + + And in this step use kill DUT and launch again, without commission follow the next steps disabled: true - label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute" @@ -361,6 +381,8 @@ tests: verification: | ./chip-tool accesscontrol read acl 1 0 + On TH 1, Verify DUT Responds Successfully. + [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 [1657289627.393798][5251:5256] CHIP:TOO: [1]: { @@ -387,11 +409,13 @@ tests: PICS: ACL.S.A0001 verification: | ./chip-tool accesscontrol read extension 1 0 + On TH1 , Verify DUT Responds Successfully + [1657289676.947323][5260:5265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 [1657289676.947388][5260:5265] CHIP:TOO: Extension: 1 entries [1657289676.947438][5260:5265] CHIP:TOO: [1]: { - [1657289676.947467][5260:5265] CHIP:TOO: Data: 1000110010001100 + [1657289676.947467][5260:5265] CHIP:TOO: Data: 1718 [1657289676.947504][5260:5265] CHIP:TOO: FabricIndex: 1 [1657289676.947528][5260:5265] CHIP:TOO: } disabled: true @@ -401,6 +425,9 @@ tests: verification: | ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344 + On TH 2, Verify DUT Responds Successfully . + + [1657289713.626327][19279:19284] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 [1657289713.626381][19279:19284] CHIP:TOO: ACL: 2 entries [1657289713.626417][19279:19284] CHIP:TOO: [1]: { @@ -428,10 +455,12 @@ 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 . + [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 [1657289746.737778][19293:19298] CHIP:TOO: [1]: { - [1657289746.737803][19293:19298] CHIP:TOO: Data: 1000110010001101 + [1657289746.737803][19293:19298] CHIP:TOO: Data: 17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018 [1657289746.737844][19293:19298] CHIP:TOO: FabricIndex: 2 [1657289746.737862][19293:19298] CHIP:TOO: } disabled: true @@ -447,6 +476,8 @@ tests: verification: | ./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344 + On TH2 , Verify DUT Responds Successfully . + [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 [1657289809.358559][19309:19314] CHIP:TOO: NOCResponse: { @@ -459,6 +490,8 @@ tests: PICS: ACL.S.A0000 verification: | ./chip-tool accesscontrol read acl 1 0 + On TH1 , Verify DUT Responds Successfully . + [1657289848.956276][5274:5279] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152 [1657289848.956366][5274:5279] CHIP:TOO: ACL: 2 entries @@ -486,11 +519,13 @@ 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 . + [1657289881.142883][5283:5288] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152 [1657289881.142955][5283:5288] CHIP:TOO: Extension: 1 entries [1657289881.143019][5283:5288] CHIP:TOO: [1]: { - [1657289881.143056][5283:5288] CHIP:TOO: Data: 1000110010001100 + [1657289881.143056][5283:5288] CHIP:TOO: Data: 1718 [1657289881.143107][5283:5288] CHIP:TOO: FabricIndex: 1 [1657289881.143138][5283:5288] CHIP:TOO: } disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml index b473029dcf1a51..f6e1cc7ddd8ffd 100644 --- a/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_2.yaml @@ -13,20 +13,22 @@ # limitations under the License. # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default -name: 11.2.2. [TC-BINFO-2.2] Events [DUT-Server] +name: "[TC-BINFO-2.2] Events [DUT - Server]" config: nodeId: 0x12344321 cluster: "Basic" endpoint: 0 - tests: - label: "Reboot the DUT TH reads the StartUp event from DUT" PICS: BINFO.S.E00 verification: | + On Raspi platform the event is triggered with this command, Pls use equivalent command on the respective DUT + + ./chip-tool basic read-event start-up 1 0 - Verify on the TH Log: + On TH verify that StartUp event has priority set as CRITICAL and software verision [1657193007.841105][5422:5427] CHIP:DMG: ], [1657193007.841137][5422:5427] CHIP:DMG: @@ -46,15 +48,18 @@ tests: - label: "TH subscribes to the ShutDown event on the DUT. Shutdown DUT." PICS: BINFO.S.E01 verification: | + On Raspi platform the event is triggered with this command, Pls use equivalent command on the respective DUT + + 1. Launch chip-tool into interactive mode with the command ./chip-tool interactive start basic subscribe-event shut-down 20 100 1 0 - 2. Turn down the DUT and run below command in interactive mode shell + 2. run below command in interactive mode shell and Turn down the DUT - Verify on the TH Log: + On TH verify that StartUp event has priority set as CRITICAL CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Event 0x0000_0001 [1653050528.900202][119367:119372] CHIP:TOO: Event number: 5 diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml deleted file mode 100644 index 3d1f43b96370c2..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_CGEN_2_3.yaml +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: - 90.2.3. [TC-CGEN-2.3] BusyWithOtherAdmin Status code verification [DUT - - Server] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "Condition 1: Factory reset the DUT Start the commissioning process of - TH1 on DUT" - verification: | - On reference platform we clear the storage (rm -rf /tmp/chip*) that will erase all NOCs ..etc and power cycle the device. - disabled: true - - - label: - "TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds as - 'commission_timeout' seconds and Breadcrumb value as 1" - PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx - verification: | - Start the commissioning process of TH1 on DUT - While provisioning will get all the below mentioned logs, using that log need to verify these steps - - [1651140888.275461][5289:5294] CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' - [1651140888.275490][5289:5294] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' - [1651140888.275514][5289:5294] CHIP:CTL: Arming failsafe (60 seconds) - - [1651140888.367336][5289:5294] CHIP:CTL: Received ArmFailSafe response - [1651140888.367398][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' - disabled: true - - - label: - "TH1 Sends SetRegulatoryConfig command to the DUT with Location - attribute" - PICS: CGEN.S.C02.Rsp && CGEN.S.C03.Tx - verification: | - [1651140888.367450][5289:5294] CHIP:CTL: Commissioning stage next step: 'ArmFailSafe' -> 'ConfigRegulatory' - [1651140888.367506][5289:5294] CHIP:CTL: Performing next commissioning step 'ConfigRegulatory' - [1651140888.367556][5289:5294] CHIP:CTL: Setting Regulatory Config - [1651140888.367605][5289:5294] CHIP:CTL: Device does not support configurable regulatory location - - [1651140888.464020][5289:5294] CHIP:CTL: Received SetRegulatoryConfig response - [1651140888.464080][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ConfigRegulatory' - disabled: true - - - label: "TH1 sends AttestationRequest command to the DUT" - verification: | - [1651140889.243208][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendDACCertificateRequest' -> 'SendAttestationRequest' - [1651140889.243265][5289:5294] CHIP:CTL: Performing next commissioning step 'SendAttestationRequest' - [1651140889.243316][5289:5294] CHIP:CTL: Sending Attestation Request to the device. - [1651140889.243367][5289:5294] CHIP:CTL: Sending Attestation request to 0xffff90000b60 device - - [1651140889.583895][5289:5294] CHIP:CTL: Received Attestation Information from the device - [1651140889.583923][5289:5294] CHIP:CTL: Successfully finished commissioning step 'SendAttestationRequest' - [1651140889.583988][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendAttestationRequest' -> 'AttestationVerification' - [1651140889.584015][5289:5294] CHIP:CTL: Performing next commissioning step 'AttestationVerification' - [1651140889.584036][5289:5294] CHIP:CTL: Verifying attestation - [1651140889.589167][5289:5294] CHIP:CTL: Successfully validated 'Attestation Information' command received from the device. - [1651140889.589244][5289:5294] CHIP:CTL: Successfully finished commissioning step 'AttestationVerification - disabled: true - - - label: - "When TH1s commissioning process with DUT is in progress, TH2 sends - ArmFailSafe command to the same DUT with ExpiryLengthSeconds value as - 950 seconds and Breadcrumb value as 1" - PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx - verification: | - This is not testable in normal scenario, and needs to be tested as part of Unit test. this test step to be removed from the manual execution. - disabled: true - - - label: "TH1 sends CSRRequest command to the DUT" - verification: | - [1651140889.829096][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendOpCertSigningRequest' -> 'ValidateCSR' - [1651140889.829144][5289:5294] CHIP:CTL: Performing next commissioning step 'ValidateCSR' - [1651140889.831317][5289:5294] CHIP:CTL: Successfully finished commissioning step 'ValidateCSR' - disabled: true - - - label: "TH1 sends AddNOC command to the DUT" - verification: | - [1651140889.831388][5289:5294] CHIP:CTL: Commissioning stage next step: 'ValidateCSR' -> 'GenerateNOCChain' - [1651140889.831436][5289:5294] CHIP:CTL: Performing next commissioning step 'GenerateNOCChain' - [1651140889.831482][5289:5294] CHIP:CTL: Getting certificate chain for the device from the issuer - [1651140889.831880][5289:5294] CHIP:CTL: Verifying Certificate Signing Request - [1651140889.833332][5289:5294] CHIP:CTL: Generating NOC - - [1651140890.024038][5289:5294] CHIP:CTL: Commissioning stage next step: 'SendTrustedRootCert' -> 'SendNOC' - [1651140890.024093][5289:5294] CHIP:CTL: Performing next commissioning step 'SendNOC' - disabled: true - - - label: "TH1 Sends CommissionComplete command to the DUT" - PICS: CGEN.S.C04.Rsp && CGEN.S.C05.Tx - verification: | - [1651140891.081162][5289:5294] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1651140891.081231][5289:5294] CHIP:CTL: Received CommissioningComplete response - [1651140891.081281][5289:5294] CHIP:CTL: Successfully finished commissioning step 'SendComplete' - disabled: true - - - label: "Condition 2: Factory reset the DUT" - verification: | - - disabled: true - - - label: "Commission TH1 and DUT" - verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool pairing ble-wifi 1 GRLPrivate_EXT matter123 20202021 3840 - - [1651138461.545846][5161:5166] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1651138461.545906][5161:5166] CHIP:CTL: Received CommissioningComplete response - [1651138461.545950][5161:5166] CHIP:CTL: Successfully finished commissioning step 'SendComplete' - disabled: true - - - label: "TH1 opens the open-commissioning-window" - verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool pairing open-commissioning-window 1 1 600 1000 3840 - - - [1651138474.832127][5172:5177] CHIP:CTL: Manual pairing code: [35788419489] - [1651138474.832180][5172:5177] CHIP:CTL: SetupQRCode: [MT:-24J0AFN00WGI52OP00] - [1651138474.970651][5172:5177] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0 - [1651138474.970678][5172:5177] CHIP:CTL: Successfully opened pairing window on the device - [1651138474.970754][5172:5177] CHIP:DMG: ICR moving to [AwaitingDe] - [1651138474.970792][5172:5177] CHIP:EM: Sending Standalone Ack for MessageCounter:7501147 on exchange 56004i - disabled: true - - - label: "Commission TH2 with DUT using manualcode from TH1" - verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool pairing manualcode 2 35788419489 - - [1651138495.571105][3838:3843] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 - [1651138495.571174][3838:3843] CHIP:CTL: Received CommissioningComplete response - [1651138495.571223][3838:3843] CHIP:CTL: Successfully finished commissioning step 'SendComplete' - disabled: true - - - label: - 'TH1 sends ArmFailSafe command to the DUT with ExpiryLengthSeconds as - "commission_timeout" seconds and Breadcrumb value as 1' - PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx - verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 - - [1651138554.165168][5180:5185] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1651138554.165272][5180:5185] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1651138554.165424][5180:5185] CHIP:TOO: ArmFailSafeResponse: { - [1651138554.165499][5180:5185] CHIP:TOO: errorCode: 0 - [1651138554.165556][5180:5185] CHIP:TOO: debugText: - [1651138554.165613][5180:5185] CHIP:TOO: } - [1651138554.165701][5180:5185] CHIP:DMG: ICR moving to [AwaitingDe] - [1651138554.165810][5180:5185] CHIP:EM: Sending Standalone Ack for MessageCounter:4547852 on exchange 39801i - disabled: true - - - label: - 'before the fail-safe timer expires, TH2 sends ArmFailSafe command to - the DUT with ExpiryLengthSeconds as "xx" seconds and Breadcrumb value - as 0' - PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx - verification: | - ubuntu@ubuntu:~/apps$ ./chip-tool generalcommissioning arm-fail-safe 60 0 2 0 - - [1651138555.612926][3849:3854] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1651138555.615710][3849:3854] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1651138555.615973][3849:3854] CHIP:TOO: ArmFailSafeResponse: { - [1651138555.616042][3849:3854] CHIP:TOO: errorCode: 4 - [1651138555.616089][3849:3854] CHIP:TOO: debugText: - [1651138555.616180][3849:3854] CHIP:TOO: } - [1651138555.616291][3849:3854] CHIP:DMG: ICR moving to [AwaitingDe] - [1651138555.616394][3849:3854] CHIP:EM: Sending Standalone Ack for MessageCounter:6224633 on exchange 56443i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml index b38fcb1589d7e7..97b156d7b4f886 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml @@ -29,7 +29,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 900 1 62 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1650391404.723087][10042:10047] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650391404.723164][10042:10047] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -47,7 +47,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657790578.359665][5247:5252] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2276799582 [1657790578.359820][5247:5252] CHIP:TOO: Networks: 1 entries @@ -72,9 +72,11 @@ tests: 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | - ./chip-tool networkcommissioning remove-network hex:1850171990782922 62 0 + ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:1850171990782922 62 0 - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1657790635.532308][5254:5259] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1657790635.532395][5254:5259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -91,7 +93,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657625584.426746][2703:2708] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1201757611 [1657625584.427014][2703:2708] CHIP:TOO: Networks: 0 entries @@ -103,7 +105,7 @@ tests: verification: | ./chip-tool networkcommissioning read last-networking-status 1 0 - Verify on the TH Log: + Verify LastNetworkingStatus on the TH Log: [1657625631.550171][2710:2715] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1201757611 [1657625631.550337][2710:2715] CHIP:TOO: LastNetworkingStatus: 0 @@ -115,7 +117,7 @@ tests: verification: | ./chip-tool networkcommissioning read last-network-id 1 0 - Verify on the TH Log: + Verify LastNetworkID on the TH Log: [1657625691.050998][2718:2724] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1201757611 [1657625691.051142][2718:2724] CHIP:TOO: LastNetworkID: 1850171990782922 @@ -129,7 +131,7 @@ tests: verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify Breadcrumb: 1 on the TH Log: [1657625860.742472][2739:2744] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2669958173 [1657625860.742607][2739:2744] CHIP:TOO: Breadcrumb: 1 @@ -142,9 +144,11 @@ tests: and Breadcrumb field set to 2" PICS: CNET.S.C04.Rsp verification: | + ./chip-tool networkcommissioning connect-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning connect-network hex:1850171990782922 1 0 --Breadcrumb 2 - Verify on the TH Log: + Verify ConnectNetworkResponse and its arguments on the TH Log: [1657625912.836563][2747:2752] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 @@ -164,7 +168,7 @@ tests: verification: | ./chip-tool generalcommissioning read breadcrumb 1 0 - Verify on the TH Log: + Verify Breadcrumb: 1 on the TH Log: [1657781070.617341][4823:4828] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2383846386 [1657781070.617458][4823:4828] CHIP:TOO: Breadcrumb: 1 @@ -177,7 +181,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1657626058.290176][2767:2772] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657626058.290276][2767:2772] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -193,7 +197,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657790810.454838][5308:5313] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2276799582 [1657790810.454996][5308:5313] CHIP:TOO: Networks: 1 entries @@ -210,7 +214,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 90 0 1 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1657626161.611078][2780:2785] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1657626161.611183][2780:2785] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 @@ -228,9 +232,11 @@ tests: Breadcrumb field set to 1" PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning remove-network hex:1850171990782922 32 0 --Breadcrumb 1 - Verify on the TH Log: + Verify NetworkConfigResponse and its arguments on the TH Log: [1657791030.761976][5336:5341] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1657791030.762070][5336:5341] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 @@ -247,7 +253,7 @@ tests: verification: | ./chip-tool generalcommissioning commissioning-complete 1 0 - Verify on the TH Log: + Verify CommissioningCompleteResponse and its arguments on the TH Log: [1657626243.485752][2795:2801] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 [1657626243.485947][2795:2801] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0005 @@ -267,7 +273,7 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 0 0 62 0 - Verify on the TH Log: + Verify ArmFailSafeResponse on the TH Log: [1657626274.218994][2802:2807] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 @@ -285,7 +291,7 @@ tests: verification: | ./chip-tool networkcommissioning read networks 1 0 - Verify on the TH Log: + Verify Networks entiries and its status on the TH Log: [1657626300.861344][2808:2813] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1201757611 [1657626300.861492][2808:2813] CHIP:TOO: Networks: 0 entries diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml index 4e1345b1d17dfb..a8be4cf5f31ddb 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml @@ -22,11 +22,18 @@ config: endpoint: 0 tests: + - label: "Commission TH and DUT over BLE to setup the Wi-Fi" + verification: | + + disabled: true + - label: "DUT sends the ScanNetwork command to the TH" PICS: CNET.C.C00.Tx verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid null --Breadcrumb 1 + Verify ScanNetworksResponse status on the TH Log: + [1653475026.012811][29937:29942] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475026.012942][29937:29942] CHIP:TOO: ScanNetworksResponse: { [1653475026.012983][29937:29942] CHIP:TOO: networkingStatus: 0 @@ -160,6 +167,8 @@ tests: verification: | ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 + Verify ArmFailSafeResponse on the TH Log: + [1650371269.889246][42481:42486] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 [1650371269.889331][42481:42486] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 [1650371269.889471][42481:42486] CHIP:TOO: ArmFailSafeResponse: { @@ -173,8 +182,12 @@ tests: - label: "DUT sends the AddOrUpdateWiFiNetwork command to the TH" PICS: CNET.C.C03.Tx verification: | + ./chip-tool networkcommissioning add-or-update-wi-fi-network-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:47524C50726976617465 grlprivatewifi092010 1 0 + Verify NetworkConfigResponse and its arguments on the TH Log: + [1650371276.622265][42488:42493] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650371276.622332][42488:42493] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1650371276.622445][42488:42493] CHIP:TOO: NetworkConfigResponse: { @@ -185,25 +198,14 @@ tests: [1650371276.622728][42488:42493] CHIP:EM: Sending Standalone Ack for MessageCounter:9593846 on exchange 33754i disabled: true - - label: "DUT sends the RemoveNetwork command to the TH" + - label: "DUT sends the ConnectNetwork command to the TH" PICS: CNET.C.C06.Tx verification: | - ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + ./chip-tool networkcommissioning connect-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 - [1650373300.704806][42697:42702] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650373300.704864][42697:42702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1650373300.704957][42697:42702] CHIP:TOO: NetworkConfigResponse: { - [1650373300.705012][42697:42702] CHIP:TOO: networkingStatus: 0 - [1650373300.705044][42697:42702] CHIP:TOO: networkIndex: 0 - [1650373300.705073][42697:42702] CHIP:TOO: } - [1650373300.705120][42697:42702] CHIP:DMG: ICR moving to [AwaitingDe] - [1650373300.705181][42697:42702] CHIP:EM: Sending Standalone Ack for MessageCounter:9924068 on exchange 3557i - disabled: true - - - label: "DUT sends the ConnectNetwork command to the TH" - PICS: CNET.C.C08.Tx - verification: | - ./chip-tool networkcommissioning connect-network hex:47524C50726976617465 1 0 + Verify ConnectNetworkResponse and its arguments on the TH Log: [1650376217.124606][42876:42881] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007 [1650376217.124707][42876:42881] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007 @@ -216,10 +218,14 @@ tests: disabled: true - label: "DUT sends the ReorderNetwork command to the TH" - PICS: CNET.C.C04.Tx + PICS: CNET.C.C08.Tx verification: | + ./chip-tool networkcommissioning reorder-network hex: 1 0 + Below is an example: ./chip-tool networkcommissioning reorder-network hex:47524C50726976617465 3 1 0 + Verify NetworkConfigResponse and its arguments on the TH Log: + [1650381494.820649][44087:44092] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 [1650381494.820749][44087:44092] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 [1650381494.820860][44087:44092] CHIP:TOO: NetworkConfigResponse: { @@ -229,3 +235,22 @@ tests: [1650381494.821087][44087:44092] CHIP:DMG: ICR moving to [AwaitingDe] [1650381494.821174][44087:44092] CHIP:EM: Sending Standalone Ack for MessageCounter:5656346 on exchange 4849i disabled: true + + - label: "DUT sends the RemoveNetwork command to the TH" + PICS: CNET.C.C04.Tx + verification: | + ./chip-tool networkcommissioning remove-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning remove-network hex:47524C50726976617465 1 0 + + Verify NetworkConfigResponse and its arguments on the TH Log: + + [1650373300.704806][42697:42702] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 + [1650373300.704864][42697:42702] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 + [1650373300.704957][42697:42702] CHIP:TOO: NetworkConfigResponse: { + [1650373300.705012][42697:42702] CHIP:TOO: networkingStatus: 0 + [1650373300.705044][42697:42702] CHIP:TOO: networkIndex: 0 + [1650373300.705073][42697:42702] CHIP:TOO: } + [1650373300.705120][42697:42702] CHIP:DMG: ICR moving to [AwaitingDe] + [1650373300.705181][42697:42702] CHIP:EM: Sending Standalone Ack for MessageCounter:9924068 on exchange 3557i + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml index db3a51888da9bf..b027d91c5b2322 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_4.yaml @@ -24,13 +24,14 @@ config: tests: - label: - "TH sends ScanNetworks command to the DUT with the SSID argument value - as 'null' and Breadcrumb argument value as 1" + "TH sends ScanNetworks command to the DUT with the SSID field set to + 'null' and Breadcrumb field set to 1" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | ./chip-tool networkcommissioning scan-networks 1 0 --Ssid null --Breadcrumb 1 - Verify on the TH Log: + Verify wiFiScanResults entries and its arguments on the TH Log: + [1653475026.012811][29937:29942] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475026.012942][29937:29942] CHIP:TOO: ScanNetworksResponse: { [1653475026.012983][29937:29942] CHIP:TOO: networkingStatus: 0 @@ -161,13 +162,27 @@ tests: disabled: true - label: - "TH sends ScanNetworks Command to the DUT with SSID argument value as - 'Userwifi_ssid' and Breadcrumb argument value 1" + "TH reads Breadcumb attribute from the General Commissioning Cluster" + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify Breadcrumb: 1 on the TH Log: + + [1657190614.753193][5241:5246] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642039 + [1657190614.753305][5241:5246] CHIP:TOO: Breadcrumb: 1 + disabled: true + + - label: + "TH sends ScanNetworks Command to the DUT with SSID field set to + PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and Breadcrumb field set to 2" PICS: CNET.S.C00.Rsp && CNET.S.C01.Tx verification: | - ./chip-tool networkcommissioning scan-networks 1 0 --Ssid 47524C50726976617465 --Breadcrumb 1 + ./chip-tool networkcommissioning scan-network hex: 1 0 + Below is an example: + ./chip-tool networkcommissioning scan-networks 1 0 --Ssid 47524C50726976617465 --Breadcrumb 2 + + Verify ScanNetworksResponse and its arguments on the TH Log: - Verify on the TH Log: [1653475824.575642][30076:30081] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0001 [1653475824.575807][30076:30081] CHIP:TOO: ScanNetworksResponse: { [1653475824.575888][30076:30081] CHIP:TOO: networkingStatus: 0 @@ -184,3 +199,14 @@ tests: [1653475824.576668][30076:30081] CHIP:DMG: ICR moving to [AwaitingDe] [1653475824.576777][30076:30081] CHIP:EM: Sending Standalone Ack for MessageCounter:251134 on exchange 38023i disabled: true + + - label: + "TH reads Breadcumb attribute from the General Commissioning Cluster" + verification: | + ./chip-tool generalcommissioning read breadcrumb 1 0 + + Verify Breadcrumb: 2 on the TH Log: + + [1657197542.352377][5661:5666] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Attribute 0x0000_0000 DataVersion: 2805642042 + [1657197542.352450][5661:5666] CHIP:TOO: Breadcrumb: 2 + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml deleted file mode 100644 index be3a92db8eebf2..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_7.yaml +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: - 11.4.7. [TC-CNET-4.7] [Wi-Fi] Verification for AddOrUpdateWiFiNetwork - command [DUT-Server] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH sends ArmFailSafe command to the DUT" - verification: | - ./chip-tool generalcommissioning arm-fail-safe 60 0 1 0 - - Verify on the TH Log: - - [1653477320.523480][30238:30243] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001 - [1653477320.523608][30238:30243] CHIP:TOO: ArmFailSafeResponse: { - [1653477320.523675][30238:30243] CHIP:TOO: errorCode: 0 - [1653477320.523724][30238:30243] CHIP:TOO: debugText: - [1653477320.523773][30238:30243] CHIP:TOO: } - [1653477320.523848][30238:30243] CHIP:DMG: ICR moving to [AwaitingDe] - [1653477320.523942][30238:30243] CHIP:EM: Sending Standalone Ack for MessageCounter:1909301 on exchange 3085i - disabled: true - - - label: - "TH sends AddOrUpdateWiFiNetwork command to the DUT with SSID argument - value as 'Userwifi_ssid', Credentials argument value as - 'Userwifi_Credentials' and Breadcrumb argument value as 1" - PICS: CNET.S.C02.Rsp && CNET.S.C05.Tx - verification: | - ./chip-tool networkcommissioning add-or-update-wi-fi-network hex:63686970736574757033 matter123 1 0 - - Verify on the TH Log: - - 1653477413.528761][30261:30266] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1653477413.528863][30261:30266] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0005 - [1653477413.529035][30261:30266] CHIP:TOO: NetworkConfigResponse: { - [1653477413.529114][30261:30266] CHIP:TOO: networkingStatus: 0 - [1653477413.529175][30261:30266] CHIP:TOO: networkIndex: 0 - [1653477413.529231][30261:30266] CHIP:TOO: } - [1653477413.529319][30261:30266] CHIP:DMG: ICR moving to [AwaitingDe] - [1653477413.529433][30261:30266] CHIP:EM: Sending Standalone Ack for MessageCounter:5895144 on exchange 38910i - disabled: true - - - label: "TH reads MaxNetworks attribute from the DUT" - PICS: CNET.S.A0000 - verification: | - ./chip-tool networkcommissioning read max-networks 1 0 - - Verify on the TH Log: - - [1653477467.285273][30270:30275] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 1600858167 - [1653477467.285409][30270:30275] CHIP:TOO: MaxNetworks: 1 - [1653477467.285585][30270:30275] CHIP:EM: Sending Standalone Ack for MessageCounter:2688725 on exchange 43816i - disabled: true - - - label: "TH reads LastNetworkingStatus attribute from the DUT" - PICS: CNET.S.A0005 - verification: | - ./chip-tool networkcommissioning read last-networking-status 1 0 - - Verify on the TH Log: - - [1653477574.502812][30306:30311] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167 - [1653477574.502935][30306:30311] CHIP:TOO: LastNetworkingStatus: 0 - [1653477574.503104][30306:30311] CHIP:EM: Sending Standalone Ack for MessageCounter:12420113 on exchange 5762i - disabled: true - - - label: "TH reads Networks attribute from the DUT" - PICS: CNET.S.A0001 - verification: | - ./chip-tool networkcommissioning read networks 1 0 - - Verify on the TH Log: - - [1653477517.257488][30295:30300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 1600858167 - [1653477517.257649][30295:30300] CHIP:TOO: Networks: 1 entries - [1653477517.257760][30295:30300] CHIP:TOO: [1]: { - [1653477517.257824][30295:30300] CHIP:TOO: NetworkID: 47524C50726976617465 - [1653477517.257882][30295:30300] CHIP:TOO: Connected: TRUE - [1653477517.257940][30295:30300] CHIP:TOO: } - [1653477517.258168][30295:30300] CHIP:EM: Sending Standalone Ack for MessageCounter:13806793 on exchange 56068i - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_8.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_8.yaml deleted file mode 100644 index 49fe9d9663208b..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_8.yaml +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: - 11.4.8. [TC-CNET-4.8] [Thread] Verification for AddOrUpdateThreadNetwork - command [DUT-Server] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: - "During the commissioning process, TH sends ArmFailSafe command to the - DUT" - verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs - - [1650388634.822788][9682:9687] CHIP:CTL: Commissioning stage next step: 'ReadCommissioningInfo' -> 'ArmFailSafe' - [1650388634.822849][9682:9687] CHIP:CTL: Performing next commissioning step 'ArmFailSafe' - [1650388634.822902][9682:9687] CHIP:CTL: Arming failsafe (60 seconds) - [1650388635.103211][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001 - [1650388635.103362][9682:9687] CHIP:CTL: Received ArmFailSafe response - [1650388635.103426][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ArmFailSafe' - disabled: true - - - label: - "During the commissioning process, TH sends AddOrUpdateThreadNetwork - command to the DUT with OperationalDataset argument value as - 'Userth_op' and Breadcrumb argument value as 1" - PICS: CNET.S.C03.Rsp && CNET.S.C05.Tx - verification: | - Executed during the commissioning - ubuntu@ubuntu:~/cntl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-thread 62 hex:0e080000000000010000000300001035060004001fffe0020801191008990820220708fd067fa7635e1066051009116253045736078899aabbccddeeff030e4f70656e686b72657069446f6e6f01021234041029282c49503302ea4536648015d1ff180c0402a0fff8 20202021 3840 - [1650388629.653868][9682:9682] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs - - - [1650388638.775935][9682:9687] CHIP:CTL: Successfully finished commissioning step 'SendNOC' - [1650388638.775991][9682:9687] CHIP:CTL: Commissioning stage next step: 'SendNOC' -> 'ThreadNetworkSetup' - [1650388638.776048][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkSetup' - [1650388639.091089][9682:9687] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0005 - [1650388639.091215][9682:9687] CHIP:CTL: Received NetworkConfig response - [1650388639.091281][9682:9687] CHIP:CTL: Successfully finished commissioning step 'ThreadNetworkSetup' - [1650388639.091336][9682:9687] CHIP:CTL: Commissioning stage next step: 'ThreadNetworkSetup' -> 'ThreadNetworkEnable' - [1650388639.091393][9682:9687] CHIP:CTL: Performing next commissioning step 'ThreadNetworkEnable' - disabled: true - - - label: - "After commissioning completes, TH reads MaxNetworks attribute from - the DUT" - PICS: CNET.S.A0000 - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read max-networks 162 0 - - - [1645772548.257320][3837:3842] CHIP:DMG: SuppressResponse = true, - [1645772548.257381][3837:3842] CHIP:DMG: InteractionModelRevision = 1 - [1645772548.257437][3837:3842] CHIP:DMG: } - [1645772548.257735][3837:3842] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000DataVersion: 92121563 - [1645772548.257878][3837:3842] CHIP:TOO: MaxNetworks: 1 - [1645772548.258032][3837:3842] CHIP:EM: Sending Standalone Ack for MessageCounter:7388528 on exchange 41499i - disabled: true - - - label: "TH reads LastNetworkingStatus attribute from the DUT" - PICS: CNET.S.A0005 - verification: | - ./chip-tool networkcommissioning read last-networking-status 51 0 - - [1650371954.334608][7548:7553] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1032683896 - [1650371954.334756][7548:7553] CHIP:TOO: LastNetworkingStatus: 0 - [1650371954.334942][7548:7553] CHIP:EM: Sending Standalone Ack for MessageCounter:4654405 on exchange 45344i - disabled: true - - - label: "TH reads Networks attribute from the DUT" - PICS: CNET.S.A0001 - verification: | - ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning read networks 162 0 - - [1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true, - [1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1 - [1645772651.445209][3856:3861] CHIP:DMG: } - [1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563 - [1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries - [1645772651.446057][3856:3861] CHIP:TOO: [1]: { - [1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 0119100899082022 - [1650389742.394958][9809:9814] CHIP:TOO: Connected: TRUE - [1645772651.446228][3856:3861] CHIP:TOO: } - [1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i" - disabled: true 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 b5714b2c1e5581..407243f10ad9ee 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 @@ -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: - 113.2.10. [TC-DRLK-2.10] Verification for the Door Lock Events [DUT-Server] + 114.2.10. [TC-DRLK-2.10] Verification for the Door Lock Events [DUT-Server] config: nodeId: 0x12344321 @@ -28,14 +28,6 @@ tests: PICS: DRLK.S.E00 verification: | ./chip-tool doorlock read-event door-lock-alarm 1 1 - - Verify on the TH Log: - - [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: } disabled: true - label: "TH reads the DoorLockAlarm event from DUT" @@ -43,7 +35,7 @@ tests: verification: | ./chip-tool doorlock read-event door-lock-alarm 1 1 - Verify on the TH Log: + [1658139762.662050][2506:2511] CHIP:DMG: ReportDataMessage = [1658139762.662086][2506:2511] CHIP:DMG: { @@ -57,13 +49,13 @@ tests: verification: | ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - "Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [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 - "Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1656497508.814196][25858:25863] CHIP:TOO: SetCredentialResponse: { [1656497508.814257][25858:25863] CHIP:TOO: status: 0 @@ -74,7 +66,7 @@ tests: ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - "Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1654687870.020678][4246:4251] CHIP:DMG: [1654687870.020715][4246:4251] CHIP:DMG: StatusIB = @@ -95,15 +87,7 @@ tests: - label: "TH reads the DoorStateChange event from DUT" PICS: DRLK.S.F05 && DRLK.S.E01 verification: | - ./chip-tool doorlock read-event door-state-change 1 1 - - Verify on the TH Log: - - [1658140355.250306][2597:2602] CHIP:DMG: ReportDataMessage = - [1658140355.250342][2597:2602] CHIP:DMG: { - [1658140355.250374][2597:2602] CHIP:DMG: SuppressResponse = true, - [1658140355.250408][2597:2602] CHIP:DMG: InteractionModelRevision = 1 - [1658140355.250440][2597:2602] CHIP:DMG: } + out of scope disabled: true - label: "TH sends the Unlock Door command to the DUT with valid PINCode" @@ -111,7 +95,7 @@ tests: verification: | ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658140426.668024][2679:2684] CHIP:DMG: [1658140426.668070][2679:2684] CHIP:DMG: StatusIB = @@ -133,15 +117,7 @@ tests: - label: "TH reads the DoorStateChange event from DUT" PICS: DRLK.S.F05 && DRLK.S.E01 verification: | - ./chip-tool doorlock read-event door-state-change 1 1 - - Verify on the TH Log: - - [1658140531.370175][2693:2698] CHIP:DMG: ReportDataMessage = - [1658140531.370210][2693:2698] CHIP:DMG: { - [1658140531.370241][2693:2698] CHIP:DMG: SuppressResponse = true, - [1658140531.370273][2693:2698] CHIP:DMG: InteractionModelRevision = 1 - [1658140531.370303][2693:2698] CHIP:DMG: } + out of scope disabled: true - label: @@ -151,7 +127,7 @@ tests: verification: | ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658140605.608041][2735:2740] CHIP:DMG: [1658140605.608082][2735:2740] CHIP:DMG: StatusIB = @@ -175,113 +151,24 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation 1 1 - Verify on the TH Log: - - [1658140690.917363][2747:2752] CHIP:DMG: } - [1658140690.917725][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.917758][2747:2752] CHIP:TOO: Event number: 5 - [1658140690.917782][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.917807][2747:2752] CHIP:TOO: Timestamp: 799336 - [1658140690.917992][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.918038][2747:2752] CHIP:TOO: LockOperationType: 1 - [1658140690.918067][2747:2752] CHIP:TOO: OperationSource: 7 - [1658140690.918095][2747:2752] CHIP:TOO: UserIndex: 1 - [1658140690.918123][2747:2752] CHIP:TOO: FabricIndex: 1 - [1658140690.918152][2747:2752] CHIP:TOO: SourceNode: 112233 - [1658140690.918190][2747:2752] CHIP:TOO: Credentials: 1 entries - [1658140690.918233][2747:2752] CHIP:TOO: [1]: { - [1658140690.918262][2747:2752] CHIP:TOO: CredentialType: 1 - [1658140690.918290][2747:2752] CHIP:TOO: CredentialIndex: 1 - [1658140690.918318][2747:2752] CHIP:TOO: } - [1658140690.918347][2747:2752] CHIP:TOO: } - [1658140690.918472][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.918502][2747:2752] CHIP:TOO: Event number: 6 - [1658140690.918528][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.918559][2747:2752] CHIP:TOO: Timestamp: 859340 - [1658140690.918606][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.918635][2747:2752] CHIP:TOO: LockOperationType: 0 - [1658140690.918662][2747:2752] CHIP:TOO: OperationSource: 4 - [1658140690.918689][2747:2752] CHIP:TOO: UserIndex: null - [1658140690.918714][2747:2752] CHIP:TOO: FabricIndex: null - [1658140690.918741][2747:2752] CHIP:TOO: SourceNode: null - [1658140690.918767][2747:2752] CHIP:TOO: Credentials: null - [1658140690.918793][2747:2752] CHIP:TOO: } - [1658140690.918919][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.919025][2747:2752] CHIP:TOO: Event number: 7 - [1658140690.919053][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.919079][2747:2752] CHIP:TOO: Timestamp: 980898 - [1658140690.919135][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.919166][2747:2752] CHIP:TOO: LockOperationType: 0 - [1658140690.919194][2747:2752] CHIP:TOO: OperationSource: 7 - [1658140690.919221][2747:2752] CHIP:TOO: UserIndex: 1 - [1658140690.919248][2747:2752] CHIP:TOO: FabricIndex: 1 - [1658140690.919273][2747:2752] CHIP:TOO: SourceNode: 112233 - [1658140690.919305][2747:2752] CHIP:TOO: Credentials: 1 entries - [1658140690.919341][2747:2752] CHIP:TOO: [1]: { - [1658140690.919369][2747:2752] CHIP:TOO: CredentialType: 1 - [1658140690.919396][2747:2752] CHIP:TOO: CredentialIndex: 1 - [1658140690.919422][2747:2752] CHIP:TOO: } - [1658140690.919454][2747:2752] CHIP:TOO: } - [1658140690.919587][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.919614][2747:2752] CHIP:TOO: Event number: 8 - [1658140690.919695][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.919725][2747:2752] CHIP:TOO: Timestamp: 1103895 - [1658140690.919779][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.919810][2747:2752] CHIP:TOO: LockOperationType: 0 - [1658140690.919836][2747:2752] CHIP:TOO: OperationSource: 7 - [1658140690.919864][2747:2752] CHIP:TOO: UserIndex: 1 - [1658140690.919891][2747:2752] CHIP:TOO: FabricIndex: 1 - [1658140690.919919][2747:2752] CHIP:TOO: SourceNode: 112233 - [1658140690.919952][2747:2752] CHIP:TOO: Credentials: 1 entries - [1658140690.919987][2747:2752] CHIP:TOO: [1]: { - [1658140690.920014][2747:2752] CHIP:TOO: CredentialType: 1 - [1658140690.920040][2747:2752] CHIP:TOO: CredentialIndex: 1 - [1658140690.920066][2747:2752] CHIP:TOO: } - [1658140690.920094][2747:2752] CHIP:TOO: } - [1658140690.920224][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.920253][2747:2752] CHIP:TOO: Event number: 9 - [1658140690.920278][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.920303][2747:2752] CHIP:TOO: Timestamp: 1220546 - [1658140690.920350][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.920381][2747:2752] CHIP:TOO: LockOperationType: 1 - [1658140690.920405][2747:2752] CHIP:TOO: OperationSource: 7 - [1658140690.920429][2747:2752] CHIP:TOO: UserIndex: 1 - [1658140690.920452][2747:2752] CHIP:TOO: FabricIndex: 1 - [1658140690.920476][2747:2752] CHIP:TOO: SourceNode: 112233 - [1658140690.920567][2747:2752] CHIP:TOO: Credentials: 1 entries - [1658140690.920599][2747:2752] CHIP:TOO: [1]: { - [1658140690.920623][2747:2752] CHIP:TOO: CredentialType: 1 - [1658140690.920646][2747:2752] CHIP:TOO: CredentialIndex: 1 - [1658140690.920668][2747:2752] CHIP:TOO: } - [1658140690.920692][2747:2752] CHIP:TOO: } - [1658140690.920798][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.920822][2747:2752] CHIP:TOO: Event number: 10 - [1658140690.920844][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.920866][2747:2752] CHIP:TOO: Timestamp: 1280590 - [1658140690.920899][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.920925][2747:2752] CHIP:TOO: LockOperationType: 0 - [1658140690.920949][2747:2752] CHIP:TOO: OperationSource: 4 - [1658140690.920972][2747:2752] CHIP:TOO: UserIndex: null - [1658140690.920996][2747:2752] CHIP:TOO: FabricIndex: null - [1658140690.921019][2747:2752] CHIP:TOO: SourceNode: null - [1658140690.921042][2747:2752] CHIP:TOO: Credentials: null - [1658140690.921064][2747:2752] CHIP:TOO: } - [1658140690.921173][2747:2752] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658140690.921197][2747:2752] CHIP:TOO: Event number: 11 - [1658140690.921225][2747:2752] CHIP:TOO: Priority: Critical - [1658140690.921247][2747:2752] CHIP:TOO: Timestamp: 1399486 - [1658140690.921284][2747:2752] CHIP:TOO: LockOperation: { - [1658140690.921310][2747:2752] CHIP:TOO: LockOperationType: 0 - [1658140690.921333][2747:2752] CHIP:TOO: OperationSource: 7 - [1658140690.921356][2747:2752] CHIP:TOO: UserIndex: 1 - [1658140690.921379][2747:2752] CHIP:TOO: FabricIndex: 1 - [1658140690.921403][2747:2752] CHIP:TOO: SourceNode: 112233 - [1658140690.921431][2747:2752] CHIP:TOO: Credentials: 1 entries - [1658140690.921463][2747:2752] CHIP:TOO: [1]: { - [1658140690.921487][2747:2752] CHIP:TOO: CredentialType: 1 - [1658140690.921510][2747:2752] CHIP:TOO: CredentialIndex: 1 - [1658140690.921533][2747:2752] CHIP:TOO: } - [1658140690.921557][2747:2752] CHIP:TOO: } + 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: } disabled: true - label: @@ -289,9 +176,9 @@ tests: PINCode" PICS: DRLK.S.C01.Rsp verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345 + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - Verify on the TH Log: + 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), @@ -314,141 +201,40 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation 1 1 - Verify on the TH Log: - - [1658141417.196253][2790:2795] CHIP:DMG: } - [1658141417.196625][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.196651][2790:2795] CHIP:TOO: Event number: 5 - [1658141417.196672][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.196693][2790:2795] CHIP:TOO: Timestamp: 799336 - [1658141417.196825][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.196864][2790:2795] CHIP:TOO: LockOperationType: 1 - [1658141417.196889][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.196912][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.196935][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.196970][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.197001][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.197046][2790:2795] CHIP:TOO: [1]: { - [1658141417.197070][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.197103][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.197125][2790:2795] CHIP:TOO: } - [1658141417.197158][2790:2795] CHIP:TOO: } - [1658141417.197277][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.197301][2790:2795] CHIP:TOO: Event number: 6 - [1658141417.197332][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.197353][2790:2795] CHIP:TOO: Timestamp: 859340 - [1658141417.197386][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.197420][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.197444][2790:2795] CHIP:TOO: OperationSource: 4 - [1658141417.197474][2790:2795] CHIP:TOO: UserIndex: null - [1658141417.197497][2790:2795] CHIP:TOO: FabricIndex: null - [1658141417.197519][2790:2795] CHIP:TOO: SourceNode: null - [1658141417.197550][2790:2795] CHIP:TOO: Credentials: null - [1658141417.197572][2790:2795] CHIP:TOO: } - [1658141417.197697][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.197729][2790:2795] CHIP:TOO: Event number: 7 - [1658141417.197750][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.197771][2790:2795] CHIP:TOO: Timestamp: 980898 - [1658141417.197808][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.197843][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.197866][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.197889][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.197921][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.197944][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.197980][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.198010][2790:2795] CHIP:TOO: [1]: { - [1658141417.198043][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.198066][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.198097][2790:2795] CHIP:TOO: } - [1658141417.198120][2790:2795] CHIP:TOO: } - [1658141417.198245][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.198277][2790:2795] CHIP:TOO: Event number: 8 - [1658141417.198298][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.198319][2790:2795] CHIP:TOO: Timestamp: 1103895 - [1658141417.198354][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.198387][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.198410][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.198432][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.198463][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.198486][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.198522][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.198552][2790:2795] CHIP:TOO: [1]: { - [1658141417.198585][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.198607][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.198638][2790:2795] CHIP:TOO: } - [1658141417.198662][2790:2795] CHIP:TOO: } - [1658141417.198784][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.198815][2790:2795] CHIP:TOO: Event number: 9 - [1658141417.198837][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.198858][2790:2795] CHIP:TOO: Timestamp: 1220546 - [1658141417.198893][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.198926][2790:2795] CHIP:TOO: LockOperationType: 1 - [1658141417.198949][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.198981][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.199004][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.199027][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.199063][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.199093][2790:2795] CHIP:TOO: [1]: { - [1658141417.199125][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.199148][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.199178][2790:2795] CHIP:TOO: } - [1658141417.199202][2790:2795] CHIP:TOO: } - [1658141417.199318][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.199342][2790:2795] CHIP:TOO: Event number: 10 - [1658141417.199372][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.199394][2790:2795] CHIP:TOO: Timestamp: 1280590 - [1658141417.199425][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.199449][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.199481][2790:2795] CHIP:TOO: OperationSource: 4 - [1658141417.199503][2790:2795] CHIP:TOO: UserIndex: null - [1658141417.199534][2790:2795] CHIP:TOO: FabricIndex: null - [1658141417.199557][2790:2795] CHIP:TOO: SourceNode: null - [1658141417.199589][2790:2795] CHIP:TOO: Credentials: null - [1658141417.199612][2790:2795] CHIP:TOO: } - [1658141417.199748][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.199780][2790:2795] CHIP:TOO: Event number: 11 - [1658141417.199802][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.199824][2790:2795] CHIP:TOO: Timestamp: 1399486 - [1658141417.199859][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.199893][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.199916][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.199938][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.199969][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.199992][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.200028][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.200058][2790:2795] CHIP:TOO: [1]: { - [1658141417.200091][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.200114][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.200146][2790:2795] CHIP:TOO: } - [1658141417.200170][2790:2795] CHIP:TOO: } - [1658141417.200294][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.200326][2790:2795] CHIP:TOO: Event number: 12 - [1658141417.200348][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.200369][2790:2795] CHIP:TOO: Timestamp: 2106609 - [1658141417.200404][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.200436][2790:2795] CHIP:TOO: LockOperationType: 1 - [1658141417.200459][2790:2795] CHIP:TOO: OperationSource: 7 - [1658141417.200481][2790:2795] CHIP:TOO: UserIndex: 1 - [1658141417.200513][2790:2795] CHIP:TOO: FabricIndex: 1 - [1658141417.200535][2790:2795] CHIP:TOO: SourceNode: 112233 - [1658141417.200572][2790:2795] CHIP:TOO: Credentials: 1 entries - [1658141417.200601][2790:2795] CHIP:TOO: [1]: { - [1658141417.200634][2790:2795] CHIP:TOO: CredentialType: 1 - [1658141417.200656][2790:2795] CHIP:TOO: CredentialIndex: 1 - [1658141417.200689][2790:2795] CHIP:TOO: } - [1658141417.200712][2790:2795] CHIP:TOO: } - [1658141417.200829][2790:2795] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658141417.200860][2790:2795] CHIP:TOO: Event number: 13 - [1658141417.200882][2790:2795] CHIP:TOO: Priority: Critical - [1658141417.200903][2790:2795] CHIP:TOO: Timestamp: 2166613 - [1658141417.200934][2790:2795] CHIP:TOO: LockOperation: { - [1658141417.200957][2790:2795] CHIP:TOO: LockOperationType: 0 - [1658141417.200990][2790:2795] CHIP:TOO: OperationSource: 4 - [1658141417.201013][2790:2795] CHIP:TOO: UserIndex: null - [1658141417.201035][2790:2795] CHIP:TOO: FabricIndex: null - [1658141417.201067][2790:2795] CHIP:TOO: SourceNode: null - [1658141417.201089][2790:2795] CHIP:TOO: Credentials: null - [1658141417.201119][2790:2795] CHIP:TOO: } + 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: } disabled: true - label: @@ -458,7 +244,7 @@ tests: verification: | ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 - Verify on the TH Log: + On TH, verify DUT responds with status code as (FAILURE) [1658144579.661894][3173:3179] CHIP:DMG: StatusIB = [1658144579.661936][3173:3179] CHIP:DMG: { @@ -482,29 +268,25 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation-error 1 1 - Verify on the TH Log: - - [1658141588.017284][2825:2830] CHIP:DMG: - [1658141588.017331][2825:2830] CHIP:DMG: SuppressResponse = true, - [1658141588.017366][2825:2830] CHIP:DMG: InteractionModelRevision = 1 - [1658141588.017410][2825:2830] CHIP:DMG: } - [1658141588.017667][2825:2830] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658141588.017701][2825:2830] CHIP:TOO: Event number: 15 - [1658141588.017731][2825:2830] CHIP:TOO: Priority: Critical - [1658141588.017761][2825:2830] CHIP:TOO: Timestamp: 2346777 - [1658141588.017930][2825:2830] CHIP:TOO: LockOperationError: { - [1658141588.017979][2825:2830] CHIP:TOO: LockOperationType: 0 - [1658141588.018013][2825:2830] CHIP:TOO: OperationSource: 7 - [1658141588.018044][2825:2830] CHIP:TOO: OperationError: 1 - [1658141588.018077][2825:2830] CHIP:TOO: UserIndex: 0 - [1658141588.018109][2825:2830] CHIP:TOO: FabricIndex: 1 - [1658141588.018156][2825:2830] CHIP:TOO: SourceNode: 112233 - [1658141588.018196][2825:2830] CHIP:TOO: Credentials: 1 entries - [1658141588.018255][2825:2830] CHIP:TOO: [1]: { - [1658141588.018289][2825:2830] CHIP:TOO: CredentialType: 1 - [1658141588.018333][2825:2830] CHIP:TOO: CredentialIndex: 0 - [1658141588.018365][2825:2830] CHIP:TOO: } - [1658141588.018410][2825:2830] CHIP:TOO: } + 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: } disabled: true - label: @@ -514,7 +296,7 @@ tests: verification: | ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 - Verify on the TH Log: + On TH, verify DUT responds with status code as (FAILURE) [1658141754.166112][2844:2850] CHIP:DMG: [1658141754.166152][2844:2850] CHIP:DMG: StatusIB = @@ -539,62 +321,45 @@ tests: verification: | ./chip-tool doorlock read-event lock-operation-error 1 1 - Verify on the TH Log: - - [1658141778.331445][2852:2857] CHIP:DMG: SuppressResponse = true, - [1658141778.331482][2852:2857] CHIP:DMG: InteractionModelRevision = 1 - [1658141778.331516][2852:2857] CHIP:DMG: } - [1658141778.331837][2852:2857] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658141778.331867][2852:2857] CHIP:TOO: Event number: 15 - [1658141778.331890][2852:2857] CHIP:TOO: Priority: Critical - [1658141778.331913][2852:2857] CHIP:TOO: Timestamp: 2346777 - [1658141778.332035][2852:2857] CHIP:TOO: LockOperationError: { - [1658141778.332075][2852:2857] CHIP:TOO: LockOperationType: 0 - [1658141778.332101][2852:2857] CHIP:TOO: OperationSource: 7 - [1658141778.332125][2852:2857] CHIP:TOO: OperationError: 1 - [1658141778.332150][2852:2857] CHIP:TOO: UserIndex: 0 - [1658141778.332174][2852:2857] CHIP:TOO: FabricIndex: 1 - [1658141778.332200][2852:2857] CHIP:TOO: SourceNode: 112233 - [1658141778.332232][2852:2857] CHIP:TOO: Credentials: 1 entries - [1658141778.332269][2852:2857] CHIP:TOO: [1]: { - [1658141778.332295][2852:2857] CHIP:TOO: CredentialType: 1 - [1658141778.332319][2852:2857] CHIP:TOO: CredentialIndex: 0 - [1658141778.332342][2852:2857] CHIP:TOO: } - [1658141778.332368][2852:2857] CHIP:TOO: } - [1658141778.332490][2852:2857] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658141778.332516][2852:2857] CHIP:TOO: Event number: 16 - [1658141778.332539][2852:2857] CHIP:TOO: Priority: Critical - [1658141778.332561][2852:2857] CHIP:TOO: Timestamp: 2516979 - [1658141778.332601][2852:2857] CHIP:TOO: LockOperationError: { - [1658141778.332627][2852:2857] CHIP:TOO: LockOperationType: 1 - [1658141778.332651][2852:2857] CHIP:TOO: OperationSource: 7 - [1658141778.332675][2852:2857] CHIP:TOO: OperationError: 1 - [1658141778.332698][2852:2857] CHIP:TOO: UserIndex: 0 - [1658141778.332722][2852:2857] CHIP:TOO: FabricIndex: 1 - [1658141778.332746][2852:2857] CHIP:TOO: SourceNode: 112233 - [1658141778.332774][2852:2857] CHIP:TOO: Credentials: 1 entries - [1658141778.332805][2852:2857] CHIP:TOO: [1]: { - [1658141778.332830][2852:2857] CHIP:TOO: CredentialType: 1 - [1658141778.332854][2852:2857] CHIP:TOO: CredentialIndex: 0 - [1658141778.332877][2852:2857] CHIP:TOO: } - [1658141778.332902][2852:2857] CHIP:TOO: } - [1658141778.333018][2852:2857] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658141778.333043][2852:2857] CHIP:TOO: Event number: 17 - [1658141778.333066][2852:2857] CHIP:TOO: Priority: Critical - [1658141778.333088][2852:2857] CHIP:TOO: Timestamp: 2548044 - [1658141778.333126][2852:2857] CHIP:TOO: LockOperationError: { - [1658141778.333153][2852:2857] CHIP:TOO: LockOperationType: 1 - [1658141778.333176][2852:2857] CHIP:TOO: OperationSource: 7 - [1658141778.333200][2852:2857] CHIP:TOO: OperationError: 1 - [1658141778.333223][2852:2857] CHIP:TOO: UserIndex: 0 - [1658141778.333246][2852:2857] CHIP:TOO: FabricIndex: 1 - [1658141778.333270][2852:2857] CHIP:TOO: SourceNode: 112233 - [1658141778.333298][2852:2857] CHIP:TOO: Credentials: 1 entries - [1658141778.333329][2852:2857] CHIP:TOO: [1]: { - [1658141778.333353][2852:2857] CHIP:TOO: CredentialType: 1 - [1658141778.333377][2852:2857] CHIP:TOO: CredentialIndex: 0 - [1658141778.333400][2852:2857] CHIP:TOO: } - [1658141778.333425][2852:2857] CHIP:TOO: } + 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: @@ -607,7 +372,7 @@ tests: verification: | ./chip-tool doorlock set-user 0 2 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 100 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658141909.546881][2863:2868] CHIP:DMG: StatusIB = [1658141909.546925][2863:2868] CHIP:DMG: { @@ -630,49 +395,34 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - Verify on the TH Log: - - [1658142004.711305][2873:2878] CHIP:DMG: SuppressResponse = true, - [1658142004.711336][2873:2878] CHIP:DMG: InteractionModelRevision = 1 - [1658142004.711365][2873:2878] CHIP:DMG: } - [1658142004.711620][2873:2878] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142004.711668][2873:2878] CHIP:TOO: Event number: 3 - [1658142004.711695][2873:2878] CHIP:TOO: Priority: Info - [1658142004.711722][2873:2878] CHIP:TOO: Timestamp: 770678 - [1658142004.711849][2873:2878] CHIP:TOO: LockUserChange: { - [1658142004.711894][2873:2878] CHIP:TOO: LockDataType: 2 - [1658142004.711925][2873:2878] CHIP:TOO: DataOperationType: 0 - [1658142004.712065][2873:2878] CHIP:TOO: OperationSource: 7 - [1658142004.712095][2873:2878] CHIP:TOO: UserIndex: 1 - [1658142004.712124][2873:2878] CHIP:TOO: FabricIndex: 1 - [1658142004.712154][2873:2878] CHIP:TOO: SourceNode: 112233 - [1658142004.712182][2873:2878] CHIP:TOO: DataIndex: 1 - [1658142004.712210][2873:2878] CHIP:TOO: } - [1658142004.712343][2873:2878] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142004.712373][2873:2878] CHIP:TOO: Event number: 4 - [1658142004.712400][2873:2878] CHIP:TOO: Priority: Info - [1658142004.712427][2873:2878] CHIP:TOO: Timestamp: 785182 - [1658142004.712469][2873:2878] CHIP:TOO: LockUserChange: { - [1658142004.712501][2873:2878] CHIP:TOO: LockDataType: 6 - [1658142004.712531][2873:2878] CHIP:TOO: DataOperationType: 0 - [1658142004.712560][2873:2878] CHIP:TOO: OperationSource: 7 - [1658142004.712587][2873:2878] CHIP:TOO: UserIndex: 1 - [1658142004.712615][2873:2878] CHIP:TOO: FabricIndex: 1 - [1658142004.712643][2873:2878] CHIP:TOO: SourceNode: 112233 - [1658142004.712671][2873:2878] CHIP:TOO: DataIndex: 1 - [1658142004.712698][2873:2878] CHIP:TOO: } - [1658142004.712817][2873:2878] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142004.712847][2873:2878] CHIP:TOO: Event number: 18 - [1658142004.712875][2873:2878] CHIP:TOO: Priority: Info - [1658142004.712901][2873:2878] CHIP:TOO: Timestamp: 2703425 - [1658142004.712941][2873:2878] CHIP:TOO: LockUserChange: { - [1658142004.712971][2873:2878] CHIP:TOO: LockDataType: 2 - [1658142004.713000][2873:2878] CHIP:TOO: DataOperationType: 0 - [1658142004.713028][2873:2878] CHIP:TOO: OperationSource: 7 - [1658142004.713056][2873:2878] CHIP:TOO: UserIndex: 2 - [1658142004.713084][2873:2878] CHIP:TOO: FabricIndex: 1 - [1658142004.713112][2873:2878] CHIP:TOO: SourceNode: 112233 - [1658142004.713140][2873:2878] CHIP:TOO: DataIndex: 2 + 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: } disabled: true - label: @@ -683,7 +433,7 @@ tests: verification: | ./chip-tool doorlock set-week-day-schedule 1 1 2 15 45 16 55 1 1 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658142169.347859][2900:2905] CHIP:DMG: StatusIB = [1658142169.347900][2900:2905] CHIP:DMG: { @@ -705,51 +455,34 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - Verify on the TH Log: - - [1658142193.226750][2907:2912] CHIP:DMG: - [1658142193.226784][2907:2912] CHIP:DMG: SuppressResponse = true, - [1658142193.226818][2907:2912] CHIP:DMG: InteractionModelRevision = 1 - [1658142193.226850][2907:2912] CHIP:DMG: } - [1658142193.227131][2907:2912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142193.227165][2907:2912] CHIP:TOO: Event number: 18 - [1658142193.227191][2907:2912] CHIP:TOO: Priority: Info - [1658142193.227215][2907:2912] CHIP:TOO: Timestamp: 2703425 - [1658142193.227345][2907:2912] CHIP:TOO: LockUserChange: { - [1658142193.227394][2907:2912] CHIP:TOO: LockDataType: 2 - [1658142193.227428][2907:2912] CHIP:TOO: DataOperationType: 0 - [1658142193.227460][2907:2912] CHIP:TOO: OperationSource: 7 - [1658142193.227492][2907:2912] CHIP:TOO: UserIndex: 2 - [1658142193.227523][2907:2912] CHIP:TOO: FabricIndex: 1 - [1658142193.227557][2907:2912] CHIP:TOO: SourceNode: 112233 - [1658142193.227588][2907:2912] CHIP:TOO: DataIndex: 2 - [1658142193.227618][2907:2912] CHIP:TOO: } - [1658142193.227780][2907:2912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142193.227815][2907:2912] CHIP:TOO: Event number: 19 - [1658142193.227845][2907:2912] CHIP:TOO: Priority: Info - [1658142193.227874][2907:2912] CHIP:TOO: Timestamp: 2942697 - [1658142193.227921][2907:2912] CHIP:TOO: LockUserChange: { - [1658142193.227954][2907:2912] CHIP:TOO: LockDataType: 3 - [1658142193.227986][2907:2912] CHIP:TOO: DataOperationType: 0 - [1658142193.228016][2907:2912] CHIP:TOO: OperationSource: 7 - [1658142193.228046][2907:2912] CHIP:TOO: UserIndex: 1 - [1658142193.228077][2907:2912] CHIP:TOO: FabricIndex: 1 - [1658142193.228108][2907:2912] CHIP:TOO: SourceNode: 112233 - [1658142193.228139][2907:2912] CHIP:TOO: DataIndex: 1 - [1658142193.228168][2907:2912] CHIP:TOO: } - [1658142193.228305][2907:2912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142193.228336][2907:2912] CHIP:TOO: Event number: 20 - [1658142193.228366][2907:2912] CHIP:TOO: Priority: Info - [1658142193.228395][2907:2912] CHIP:TOO: Timestamp: 2963226 - [1658142193.228439][2907:2912] CHIP:TOO: LockUserChange: { - [1658142193.228472][2907:2912] CHIP:TOO: LockDataType: 3 - [1658142193.228503][2907:2912] CHIP:TOO: DataOperationType: 0 - [1658142193.228534][2907:2912] CHIP:TOO: OperationSource: 7 - [1658142193.228564][2907:2912] CHIP:TOO: UserIndex: 1 - [1658142193.228594][2907:2912] CHIP:TOO: FabricIndex: 1 - [1658142193.228624][2907:2912] CHIP:TOO: SourceNode: 112233 - [1658142193.228654][2907:2912] CHIP:TOO: DataIndex: 1 - [1658142193.228684][2907:2912] CHIP:TOO: } + 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: } disabled: true - label: @@ -760,7 +493,7 @@ tests: verification: | ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 1 }' 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658142472.351596][2966:2971] CHIP:DMG: }, [1658142472.351698][2966:2971] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 @@ -777,102 +510,34 @@ tests: verification: | ./chip-tool doorlock read-event lock-user-change 1 1 - Verify on the TH Log: - - [1658142539.454641][2974:2979] CHIP:DMG: SuppressResponse = true, - [1658142539.454670][2974:2979] CHIP:DMG: InteractionModelRevision = 1 - [1658142539.454697][2974:2979] CHIP:DMG: } - [1658142539.455028][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.455058][2974:2979] CHIP:TOO: Event number: 18 - [1658142539.455084][2974:2979] CHIP:TOO: Priority: Info - [1658142539.455110][2974:2979] CHIP:TOO: Timestamp: 2703425 - [1658142539.455235][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.455279][2974:2979] CHIP:TOO: LockDataType: 2 - [1658142539.455309][2974:2979] CHIP:TOO: DataOperationType: 0 - [1658142539.455336][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.455363][2974:2979] CHIP:TOO: UserIndex: 2 - [1658142539.455391][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.455419][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.455446][2974:2979] CHIP:TOO: DataIndex: 2 - [1658142539.455471][2974:2979] CHIP:TOO: } - [1658142539.455587][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.455615][2974:2979] CHIP:TOO: Event number: 19 - [1658142539.455652][2974:2979] CHIP:TOO: Priority: Info - [1658142539.455679][2974:2979] CHIP:TOO: Timestamp: 2942697 - [1658142539.455721][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.455750][2974:2979] CHIP:TOO: LockDataType: 3 - [1658142539.455776][2974:2979] CHIP:TOO: DataOperationType: 0 - [1658142539.455802][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.455828][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.455853][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.455879][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.455904][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.455929][2974:2979] CHIP:TOO: } - [1658142539.456044][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.456070][2974:2979] CHIP:TOO: Event number: 20 - [1658142539.456095][2974:2979] CHIP:TOO: Priority: Info - [1658142539.456120][2974:2979] CHIP:TOO: Timestamp: 2963226 - [1658142539.456158][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.456183][2974:2979] CHIP:TOO: LockDataType: 3 - [1658142539.456209][2974:2979] CHIP:TOO: DataOperationType: 0 - [1658142539.456235][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.456260][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.456286][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.456313][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.456339][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.456364][2974:2979] CHIP:TOO: } - [1658142539.456480][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.456506][2974:2979] CHIP:TOO: Event number: 21 - [1658142539.456531][2974:2979] CHIP:TOO: Priority: Info - [1658142539.456555][2974:2979] CHIP:TOO: Timestamp: 3177054 - [1658142539.456593][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.456621][2974:2979] CHIP:TOO: LockDataType: 2 - [1658142539.456647][2974:2979] CHIP:TOO: DataOperationType: 1 - [1658142539.456672][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.456699][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.456724][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.456749][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.456775][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.456799][2974:2979] CHIP:TOO: } - [1658142539.456914][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.456940][2974:2979] CHIP:TOO: Event number: 22 - [1658142539.456965][2974:2979] CHIP:TOO: Priority: Info - [1658142539.456989][2974:2979] CHIP:TOO: Timestamp: 3245726 - [1658142539.457026][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.457054][2974:2979] CHIP:TOO: LockDataType: 2 - [1658142539.457080][2974:2979] CHIP:TOO: DataOperationType: 1 - [1658142539.457106][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.457132][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.457158][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.457183][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.457209][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.457234][2974:2979] CHIP:TOO: } - [1658142539.457350][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.457376][2974:2979] CHIP:TOO: Event number: 23 - [1658142539.457402][2974:2979] CHIP:TOO: Priority: Info - [1658142539.457426][2974:2979] CHIP:TOO: Timestamp: 3258719 - [1658142539.457464][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.457492][2974:2979] CHIP:TOO: LockDataType: 2 - [1658142539.457519][2974:2979] CHIP:TOO: DataOperationType: 0 - [1658142539.457544][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.457571][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.457596][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.457621][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.457648][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.457673][2974:2979] CHIP:TOO: } - [1658142539.457789][2974:2979] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658142539.457815][2974:2979] CHIP:TOO: Event number: 24 - [1658142539.457840][2974:2979] CHIP:TOO: Priority: Info - [1658142539.457865][2974:2979] CHIP:TOO: Timestamp: 3266228 - [1658142539.457903][2974:2979] CHIP:TOO: LockUserChange: { - [1658142539.457931][2974:2979] CHIP:TOO: LockDataType: 6 - [1658142539.457958][2974:2979] CHIP:TOO: DataOperationType: 0 - [1658142539.457983][2974:2979] CHIP:TOO: OperationSource: 7 - [1658142539.458009][2974:2979] CHIP:TOO: UserIndex: 1 - [1658142539.458034][2974:2979] CHIP:TOO: FabricIndex: 1 - [1658142539.458060][2974:2979] CHIP:TOO: SourceNode: 112233 - [1658142539.458085][2974:2979] CHIP:TOO: DataIndex: 1 - [1658142539.458110][2974:2979] CHIP:TOO: } + On TH verify that LockUserChange event has priority set as INFO and LockDataType is set to UserIndex + + [1658223096.124315][4517:4522] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1658223096.124350][4517:4522] CHIP:TOO: Event number: 3 + [1658223096.124380][4517:4522] CHIP:TOO: Priority: Info + [1658223096.124409][4517:4522] CHIP:TOO: Timestamp: 14584496 + [1658223096.124583][4517:4522] CHIP:TOO: LockUserChange: { + [1658223096.124633][4517:4522] CHIP:TOO: LockDataType: 2 + [1658223096.124668][4517:4522] CHIP:TOO: DataOperationType: 0 + [1658223096.124700][4517:4522] CHIP:TOO: OperationSource: 7 + [1658223096.124731][4517:4522] CHIP:TOO: UserIndex: 1 + [1658223096.124763][4517:4522] CHIP:TOO: FabricIndex: 1 + [1658223096.124796][4517:4522] CHIP:TOO: SourceNode: 112233 + [1658223096.124827][4517:4522] CHIP:TOO: DataIndex: 1 + [1658223096.124857][4517:4522] CHIP:TOO: } + [1658223096.124988][4517:4522] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1658223096.125020][4517:4522] CHIP:TOO: Event number: 4 + [1658223096.125050][4517:4522] CHIP:TOO: Priority: Info + [1658223096.125079][4517:4522] CHIP:TOO: Timestamp: 14612633 + [1658223096.125125][4517:4522] CHIP:TOO: LockUserChange: { + [1658223096.125158][4517:4522] CHIP:TOO: LockDataType: 6 + [1658223096.125190][4517:4522] CHIP:TOO: DataOperationType: 0 + [1658223096.125220][4517:4522] CHIP:TOO: OperationSource: 7 + [1658223096.125250][4517:4522] CHIP:TOO: UserIndex: 1 + [1658223096.125281][4517:4522] CHIP:TOO: FabricIndex: 1 + [1658223096.125312][4517:4522] CHIP:TOO: SourceNode: 112233 + [1658223096.125342][4517:4522] CHIP:TOO: DataIndex: 1 + [1658223096.125372][4517:4522] CHIP:TOO: } disabled: true - label: "TH sends Clear Credential Command to DUT" @@ -880,7 +545,7 @@ tests: verification: | ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658142697.890014][2985:2990] CHIP:DMG: StatusIB = [1658142697.890058][2985:2990] CHIP:DMG: { @@ -904,7 +569,7 @@ tests: verification: | ./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000 - Verify on the TH Log: + On TH, verify DUT responds with status code as (SUCCESS) [1658142762.492854][2993:2998] CHIP:DMG: [1658142762.492888][2993:2998] CHIP:DMG: StatusIB = 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 953d7e237a0682..c89dd737772221 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 @@ -26,7 +26,24 @@ tests: verification: | ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Lock Door command from the DUT on TH / lock app log: + + [1658397948.013891][2822:2827] CHIP:DMG: CommandPathIB = + [1658397948.013943][2822:2827] CHIP:DMG: { + [1658397948.013993][2822:2827] CHIP:DMG: EndpointId = 0x1, + [1658397948.014040][2822:2827] CHIP:DMG: ClusterId = 0x101, + [1658397948.014086][2822:2827] CHIP:DMG: CommandId = 0x0, + [1658397948.014127][2822:2827] CHIP:DMG: }, + [1658397948.014172][2822:2827] CHIP:DMG: + [1658397948.014208][2822:2827] CHIP:DMG: StatusIB = + [1658397948.014253][2822:2827] CHIP:DMG: { + [1658397948.014298][2822:2827] CHIP:DMG: status = 0x00 (SUCCESS), + [1658397948.014342][2822:2827] CHIP:DMG: }, + [1658397948.014386][2822:2827] CHIP:DMG: + + + DUT/ChipTool log: + [1654755271.172070][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755271.172131][2969:2969] CHIP:DMG: { @@ -63,7 +80,24 @@ tests: PICS: DRLK.C.C01.Tx verification: | ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Unlock Door command from the DUT on TH / lock app log: + + + [1658398068.142926][2835:2840] CHIP:DMG: CommandPathIB = + [1658398068.142976][2835:2840] CHIP:DMG: { + [1658398068.143026][2835:2840] CHIP:DMG: EndpointId = 0x1, + [1658398068.143072][2835:2840] CHIP:DMG: ClusterId = 0x101, + [1658398068.143108][2835:2840] CHIP:DMG: CommandId = 0x1, + [1658398068.143143][2835:2840] CHIP:DMG: }, + [1658398068.143184][2835:2840] CHIP:DMG: + [1658398068.143243][2835:2840] CHIP:DMG: StatusIB = + [1658398068.143287][2835:2840] CHIP:DMG: { + [1658398068.143334][2835:2840] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398068.143377][2835:2840] CHIP:DMG: }, + [1658398068.143422][2835:2840] CHIP:DMG: + + + DUT/ChipTool log: [1654755356.562412][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755356.562459][2969:2969] CHIP:DMG: { @@ -100,7 +134,23 @@ tests: PICS: DRLK.C.C03.Tx verification: | ./chip-tool doorlock unlock-with-timeout 60 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Unlock with Timeout command from the DUT on TH / lock app log: + + + [1658398109.395806][2844:2849] CHIP:DMG: CommandPathIB = + [1658398109.395850][2844:2849] CHIP:DMG: { + [1658398109.395900][2844:2849] CHIP:DMG: EndpointId = 0x1, + [1658398109.395942][2844:2849] CHIP:DMG: ClusterId = 0x101, + [1658398109.395990][2844:2849] CHIP:DMG: CommandId = 0x3, + [1658398109.396037][2844:2849] CHIP:DMG: }, + [1658398109.396076][2844:2849] CHIP:DMG: + [1658398109.396117][2844:2849] CHIP:DMG: StatusIB = + [1658398109.396162][2844:2849] CHIP:DMG: { + [1658398109.396200][2844:2849] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398109.396246][2844:2849] CHIP:DMG: }, + + DUT/ChipTool log: [1654755446.175911][2969:2969] CHIP:DMG: InvokeRequestMessage = [1654755446.175940][2969:2969] CHIP:DMG: { @@ -140,8 +190,30 @@ tests: - label: "DUT sends Set Week Day Schedule command to TH." PICS: DRLK.S.F04 && DRLK.C.C0b.Tx 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: + + [1656497453.684077][25847:25853] CHIP:DMG: status = 0x00 (SUCCESS), + ./chip-tool doorlock set-week-day-schedule 1 1 2 15 45 16 55 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Set Week Day Schedule command from the DUT on TH / lock app log: + + [1658398235.190085][2867:2873] CHIP:DMG: CommandPathIB = + [1658398235.190127][2867:2873] CHIP:DMG: { + [1658398235.190170][2867:2873] CHIP:DMG: EndpointId = 0x1, + [1658398235.190213][2867:2873] CHIP:DMG: ClusterId = 0x101, + [1658398235.190253][2867:2873] CHIP:DMG: CommandId = 0xb, + [1658398235.190290][2867:2873] CHIP:DMG: }, + [1658398235.190358][2867:2873] CHIP:DMG: + [1658398235.190404][2867:2873] CHIP:DMG: StatusIB = + [1658398235.190452][2867:2873] CHIP:DMG: { + [1658398235.190499][2867:2873] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398235.190536][2867:2873] CHIP:DMG: }, + + + DUT/ChipTool log: [1657115333.959925][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115333.959993][8804:8804] CHIP:DMG: { @@ -184,7 +256,25 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0c.Tx verification: | ./chip-tool doorlock get-week-day-schedule 1 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Get Week Day Schedule command from the DUT on TH / lock app log: + + + [1658398448.669494][2880:2886] CHIP:DMG: }, + [1658398448.669599][2880:2886] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000C + [1658398448.669668][2880:2886] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_000C + [1658398448.669754][2880:2886] CHIP:TOO: GetWeekDayScheduleResponse: { + [1658398448.669809][2880:2886] CHIP:TOO: weekDayIndex: 1 + [1658398448.669838][2880:2886] CHIP:TOO: userIndex: 1 + [1658398448.669867][2880:2886] CHIP:TOO: status: 0 + [1658398448.669922][2880:2886] CHIP:TOO: daysMask: 2 + [1658398448.669963][2880:2886] CHIP:TOO: startHour: 15 + [1658398448.669991][2880:2886] CHIP:TOO: startMinute: 45 + [1658398448.670019][2880:2886] CHIP:TOO: endHour: 16 + [1658398448.670058][2880:2886] CHIP:TOO: endMinute: 55 + [1658398448.670084][2880:2886] CHIP:TOO: } + + + DUT/ChipTool log: [1657115377.506828][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115377.506895][8804:8804] CHIP:DMG: { @@ -225,7 +315,23 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0d.Tx verification: | ./chip-tool doorlock clear-week-day-schedule 1 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Clear Week Day Schedule command from the DUT on TH / lock app log: + [1658398494.785114][2890:2895] CHIP:DMG: CommandPathIB = + [1658398494.785145][2890:2895] CHIP:DMG: { + [1658398494.785175][2890:2895] CHIP:DMG: EndpointId = 0x1, + [1658398494.785208][2890:2895] CHIP:DMG: ClusterId = 0x101, + [1658398494.785239][2890:2895] CHIP:DMG: CommandId = 0xd, + [1658398494.785268][2890:2895] CHIP:DMG: }, + [1658398494.785302][2890:2895] CHIP:DMG: + [1658398494.785330][2890:2895] CHIP:DMG: StatusIB = + [1658398494.785361][2890:2895] CHIP:DMG: { + [1658398494.785392][2890:2895] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398494.785422][2890:2895] CHIP:DMG: }, + [1658398494.785451][2890:2895] CHIP:DMG: + + + DUT/ChipTool log: [1657115416.513747][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115416.513812][8804:8804] CHIP:DMG: { @@ -266,7 +372,23 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0e.Tx verification: | ./chip-tool doorlock set-year-day-schedule 1 1 1080 2100 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Set Year Day Schedule command from the DUT on TH / lock app log: + + + [1658398552.203952][2899:2904] CHIP:DMG: CommandPathIB = + [1658398552.204130][2899:2904] CHIP:DMG: { + [1658398552.204249][2899:2904] CHIP:DMG: EndpointId = 0x1, + [1658398552.204376][2899:2904] CHIP:DMG: ClusterId = 0x101, + [1658398552.204503][2899:2904] CHIP:DMG: CommandId = 0xe, + [1658398552.204629][2899:2904] CHIP:DMG: }, + [1658398552.204748][2899:2904] CHIP:DMG: + [1658398552.204849][2899:2904] CHIP:DMG: StatusIB = + [1658398552.204964][2899:2904] CHIP:DMG: { + [1658398552.205079][2899:2904] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398552.205205][2899:2904] CHIP:DMG: }, + + DUT/ChipTool log: [1657115453.534892][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115453.534959][8804:8804] CHIP:DMG: { @@ -309,7 +431,21 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C0f.Tx verification: | ./chip-tool doorlock get-year-day-schedule 1 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Get Year Day Schedule command from the DUT on TH / lock app log: + + + [1658398580.334699][2907:2912] CHIP:DMG: }, + [1658398580.334778][2907:2912] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000F + [1658398580.334837][2907:2912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_000F + [1658398580.334916][2907:2912] CHIP:TOO: GetYearDayScheduleResponse: { + [1658398580.334959][2907:2912] CHIP:TOO: yearDayIndex: 1 + [1658398580.334988][2907:2912] CHIP:TOO: userIndex: 1 + [1658398580.335016][2907:2912] CHIP:TOO: status: 0 + [1658398580.335045][2907:2912] CHIP:TOO: localStartTime: 1080 + [1658398580.335074][2907:2912] CHIP:TOO: localEndTime: 2100 + [1658398580.335102][2907:2912] CHIP:TOO: } + + DUT/ChipTool log: [1657115480.383098][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115480.383167][8804:8804] CHIP:DMG: { @@ -350,7 +486,22 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C10.Tx verification: | ./chip-tool doorlock clear-year-day-schedule 1 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Clear Year Day Schedule command from the DUT on TH / lock app log: + + [1658398609.109412][2915:2920] CHIP:DMG: CommandPathIB = + [1658398609.109449][2915:2920] CHIP:DMG: { + [1658398609.109496][2915:2920] CHIP:DMG: EndpointId = 0x1, + [1658398609.109547][2915:2920] CHIP:DMG: ClusterId = 0x101, + [1658398609.109596][2915:2920] CHIP:DMG: CommandId = 0x10, + [1658398609.109631][2915:2920] CHIP:DMG: }, + [1658398609.109679][2915:2920] CHIP:DMG: + [1658398609.109723][2915:2920] CHIP:DMG: StatusIB = + [1658398609.109772][2915:2920] CHIP:DMG: { + [1658398609.109822][2915:2920] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398609.109869][2915:2920] CHIP:DMG: }, + + DUT/ChipTool log: [1657115522.132250][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115522.132318][8804:8804] CHIP:DMG: { @@ -391,7 +542,23 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C11.Tx verification: | ./chip-tool doorlock set-holiday-schedule 1 20 30 0 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Set Holiday Day Schedule command from the DUT on TH / lock app log: + + [1658398634.311670][2925:2930] CHIP:DMG: CommandPathIB = + [1658398634.311724][2925:2930] CHIP:DMG: { + [1658398634.311792][2925:2930] CHIP:DMG: EndpointId = 0x1, + [1658398634.311863][2925:2930] CHIP:DMG: ClusterId = 0x101, + [1658398634.311931][2925:2930] CHIP:DMG: CommandId = 0x11, + [1658398634.311980][2925:2930] CHIP:DMG: }, + [1658398634.312046][2925:2930] CHIP:DMG: + [1658398634.312105][2925:2930] CHIP:DMG: StatusIB = + [1658398634.312160][2925:2930] CHIP:DMG: { + [1658398634.312224][2925:2930] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398634.312286][2925:2930] CHIP:DMG: }, + [1658398634.312335][2925:2930] CHIP:DMG: + + DUT/ChipTool log: [1657115547.835987][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115547.836055][8804:8804] CHIP:DMG: { @@ -432,7 +599,19 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C12.Tx verification: | ./chip-tool doorlock get-holiday-schedule 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Get Holiday Day Schedule command from the DUT on TH / lock app log: + + [1658398730.061557][3008:3013] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012 + [1658398730.061605][3008:3013] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0012 + [1658398730.061687][3008:3013] CHIP:TOO: GetHolidayScheduleResponse: { + [1658398730.061728][3008:3013] CHIP:TOO: holidayIndex: 1 + [1658398730.061753][3008:3013] CHIP:TOO: status: 0 + [1658398730.061778][3008:3013] CHIP:TOO: localStartTime: 20 + [1658398730.061802][3008:3013] CHIP:TOO: localEndTime: 30 + [1658398730.061827][3008:3013] CHIP:TOO: operatingMode: 0 + [1658398730.061850][3008:3013] CHIP:TOO: } + + DUT/ChipTool log: [1655380520.601439][3411:3411] CHIP:DMG: { [1655380520.601461][3411:3411] CHIP:DMG: suppressResponse = false, @@ -467,7 +646,23 @@ tests: PICS: DRLK.S.F04 && DRLK.C.C13.Tx verification: | ./chip-tool doorlock clear-holiday-schedule 1 1 1 - verify on Reference app receives the right response for the data sent in the above commands + + Verify Test Harness receives the Clear Holiday Day Schedule command from the DUT on TH / lock app log: + + [1658398766.330588][3015:3021] CHIP:DMG: CommandPathIB = + [1658398766.330626][3015:3021] CHIP:DMG: { + [1658398766.330666][3015:3021] CHIP:DMG: EndpointId = 0x1, + [1658398766.330705][3015:3021] CHIP:DMG: ClusterId = 0x101, + [1658398766.330743][3015:3021] CHIP:DMG: CommandId = 0x13, + [1658398766.330786][3015:3021] CHIP:DMG: }, + [1658398766.330831][3015:3021] CHIP:DMG: + [1658398766.330867][3015:3021] CHIP:DMG: StatusIB = + [1658398766.330911][3015:3021] CHIP:DMG: { + [1658398766.330955][3015:3021] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398766.330992][3015:3021] CHIP:DMG: }, + [1658398766.331032][3015:3021] CHIP:DMG: + + DUT/ChipTool log: [1657115633.501630][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115633.501697][8804:8804] CHIP:DMG: { @@ -504,273 +699,334 @@ tests: - label: "DUT sends Set USer command to TH." PICS: DRLK.S.F08 && DRLK.C.C1a.Tx verification: | - ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands - - [1657115673.129634][8804:8804] CHIP:DMG: InvokeRequestMessage = - [1657115673.129696][8804:8804] CHIP:DMG: { - [1657115673.129753][8804:8804] CHIP:DMG: suppressResponse = false, - [1657115673.129818][8804:8804] CHIP:DMG: timedRequest = true, - [1657115673.129877][8804:8804] CHIP:DMG: InvokeRequests = - [1657115673.129959][8804:8804] CHIP:DMG: [ - [1657115673.130019][8804:8804] CHIP:DMG: CommandDataIB = - [1657115673.130094][8804:8804] CHIP:DMG: { - [1657115673.130156][8804:8804] CHIP:DMG: CommandPathIB = - [1657115673.130230][8804:8804] CHIP:DMG: { - [1657115673.130311][8804:8804] CHIP:DMG: EndpointId = 0x1, - [1657115673.130392][8804:8804] CHIP:DMG: ClusterId = 0x101, - [1657115673.130470][8804:8804] CHIP:DMG: CommandId = 0x1a, - [1657115673.130545][8804:8804] CHIP:DMG: }, - [1657115673.130622][8804:8804] CHIP:DMG: - [1657115673.130687][8804:8804] CHIP:DMG: CommandFields = - [1657115673.130762][8804:8804] CHIP:DMG: { - [1657115673.130839][8804:8804] CHIP:DMG: 0x0 = 0, - [1657115673.130928][8804:8804] CHIP:DMG: 0x1 = 1, - [1657115673.131013][8804:8804] CHIP:DMG: 0x2 = "xxx", - [1657115673.131094][8804:8804] CHIP:DMG: 0x3 = 6452, - [1657115673.131183][8804:8804] CHIP:DMG: 0x4 = 1, - [1657115673.131264][8804:8804] CHIP:DMG: 0x5 = 0, - [1657115673.131345][8804:8804] CHIP:DMG: 0x6 = 0, - [1657115673.131423][8804:8804] CHIP:DMG: }, - [1657115673.131493][8804:8804] CHIP:DMG: }, - [1657115673.131572][8804:8804] CHIP:DMG: - [1657115673.131632][8804:8804] CHIP:DMG: ], - [1657115673.131708][8804:8804] CHIP:DMG: - [1657115673.131766][8804:8804] CHIP:DMG: InteractionModelRevision = 1 - [1657115673.131823][8804:8804] CHIP:DMG: }, - [1657115673.131976][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a - [1657115673.132056][8804:8804] CHIP:DMG: AccessControl: allowed - [1657115673.132122][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A - [1657115673.132232][8804:8804] CHIP:ZCL: [SetUser] Incoming command [endpointId=1,userIndex=1] - [1657115673.132324][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] - [1657115673.132380][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0] - [1657115673.132436][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=1,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0] - [1657115673.132499][8804:8804] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=1,adjustedIndex=0] - [1657115673.132551][8804:8804] CHIP:ZCL: [createUser] User created [endpointId=1,creatorFabricId=1,userIndex=1,userName="xxx",userUniqueId=0x1934,userStatus=1,userType=0,credentialRule=0,totalCredentials=0] - [1657115673.132702][8804:8804] CHIP:EVL: LogEvent event number: 0x0000000000000003 priority: 1, endpoint id: 0x1 cluster id: 0x0000_0101 event id: 0x4 Sys timestamp: 0x000000000221E52F - [1657115673.132770][8804:8804] CHIP:ZCL: [RemoteLockUserChange] Sent lock user change event [endpointId=1,eventNumber=3,dataType=2,operation=0,nodeId=112233,fabricIndex=1] + ./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: + + [1658398796.184936][3022:3027] CHIP:DMG: CommandPathIB = + [1658398796.184985][3022:3027] CHIP:DMG: { + [1658398796.185037][3022:3027] CHIP:DMG: EndpointId = 0x1, + [1658398796.185085][3022:3027] CHIP:DMG: ClusterId = 0x101, + [1658398796.185135][3022:3027] CHIP:DMG: CommandId = 0x1a, + [1658398796.185179][3022:3027] CHIP:DMG: }, + [1658398796.185233][3022:3027] CHIP:DMG: + [1658398796.185278][3022:3027] CHIP:DMG: StatusIB = + [1658398796.185331][3022:3027] CHIP:DMG: { + [1658398796.185379][3022:3027] CHIP:DMG: status = 0x00 (SUCCESS), + [1658398796.185429][3022:3027] CHIP:DMG: }, + [1658398796.185477][3022:3027] CHIP:DMG: + + DUT/ChipTool log: + + [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 + [1658398796.182849][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A + [1658398796.182918][2474:2474] CHIP:ZCL: [SetUser] Incoming command [endpointId=1,userIndex=2] + [1658398796.182977][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2] + [1658398796.183011][2474:2474] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=1] + [1658398796.183043][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=2,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0] + [1658398796.183081][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=2,adjustedIndex=1] disabled: true - label: "DUT sends Get User to TH." PICS: DRLK.S.F08 && DRLK.C.C1b.Tx verification: | - ./chip-tool doorlock get-user 1 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands - - [1657115701.117285][8804:8804] CHIP:DMG: InvokeRequestMessage = - [1657115701.117346][8804:8804] CHIP:DMG: { - [1657115701.117403][8804:8804] CHIP:DMG: suppressResponse = false, - [1657115701.117467][8804:8804] CHIP:DMG: timedRequest = true, - [1657115701.117527][8804:8804] CHIP:DMG: InvokeRequests = - [1657115701.117601][8804:8804] CHIP:DMG: [ - [1657115701.117660][8804:8804] CHIP:DMG: CommandDataIB = - [1657115701.117779][8804:8804] CHIP:DMG: { - [1657115701.117851][8804:8804] CHIP:DMG: CommandPathIB = - [1657115701.117932][8804:8804] CHIP:DMG: { - [1657115701.118014][8804:8804] CHIP:DMG: EndpointId = 0x1, - [1657115701.118099][8804:8804] CHIP:DMG: ClusterId = 0x101, - [1657115701.118180][8804:8804] CHIP:DMG: CommandId = 0x1b, - [1657115701.118256][8804:8804] CHIP:DMG: }, - [1657115701.118336][8804:8804] CHIP:DMG: - [1657115701.118403][8804:8804] CHIP:DMG: CommandFields = - [1657115701.118482][8804:8804] CHIP:DMG: { - [1657115701.118564][8804:8804] CHIP:DMG: 0x0 = 1, - [1657115701.118645][8804:8804] CHIP:DMG: }, - [1657115701.118716][8804:8804] CHIP:DMG: }, - [1657115701.118789][8804:8804] CHIP:DMG: - [1657115701.118847][8804:8804] CHIP:DMG: ], - [1657115701.118919][8804:8804] CHIP:DMG: - [1657115701.118977][8804:8804] CHIP:DMG: InteractionModelRevision = 1 - [1657115701.119035][8804:8804] CHIP:DMG: }, - [1657115701.119186][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a - [1657115701.119271][8804:8804] CHIP:DMG: AccessControl: allowed - [1657115701.119338][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001B - [1657115701.119416][8804:8804] CHIP:ZCL: [GetUser] Incoming command [endpointId=1,userIndex=1] + ./chip-tool doorlock get-user 2 1 1 --timedInteractionTimeoutMs 1000 + Verify Test Harness receives the Get User command from the DUT on TH / lock app log: + + [1658398920.382466][3033:3038] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001C + [1658398920.382524][3033:3038] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_001C + [1658398920.382637][3033:3038] CHIP:TOO: GetUserResponse: { + [1658398920.382679][3033:3038] CHIP:TOO: userIndex: 2 + [1658398920.382710][3033:3038] CHIP:TOO: userName: xxx + [1658398920.382740][3033:3038] CHIP:TOO: userUniqueId: 6452 + [1658398920.382770][3033:3038] CHIP:TOO: userStatus: 1 + [1658398920.382799][3033:3038] CHIP:TOO: userType: 0 + [1658398920.382827][3033:3038] CHIP:TOO: credentialRule: 0 + [1658398920.382856][3033:3038] CHIP:TOO: credentials: null + [1658398920.382885][3033:3038] CHIP:TOO: creatorFabricIndex: 1 + [1658398920.382914][3033:3038] CHIP:TOO: lastModifiedFabricIndex: 1 + [1658398920.382943][3033:3038] CHIP:TOO: nextUserIndex: null + [1658398920.382971][3033:3038] CHIP:TOO: } + + + DUT/ChipTool log: + + [1658398920.378963][2474:2474] CHIP:DMG: CommandPathIB = + [1658398920.378994][2474:2474] CHIP:DMG: { + [1658398920.379027][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658398920.379064][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658398920.379096][2474:2474] CHIP:DMG: CommandId = 0x1b, + [1658398920.379125][2474:2474] CHIP:DMG: }, + [1658398920.379156][2474:2474] CHIP:DMG: + [1658398920.379185][2474:2474] CHIP:DMG: CommandFields = + [1658398920.379281][2474:2474] CHIP:DMG: { + [1658398920.379315][2474:2474] CHIP:DMG: 0x0 = 2, + [1658398920.379348][2474:2474] CHIP:DMG: }, + [1658398920.379377][2474:2474] CHIP:DMG: }, + [1658398920.379408][2474:2474] CHIP:DMG: + [1658398920.379433][2474:2474] CHIP:DMG: ], + [1658398920.379463][2474:2474] CHIP:DMG: + [1658398920.379486][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658398920.379508][2474:2474] CHIP:DMG: }, + [1658398920.379573][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658398920.379611][2474:2474] CHIP:DMG: AccessControl: allowed + [1658398920.379637][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001B + [1658398920.379669][2474:2474] CHIP:ZCL: [GetUser] Incoming command [endpointId=1,userIndex=2] + [1658398920.379707][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2] disabled: true - label: "DUT sends Clear User command to TH.a" PICS: DRLK.S.F08 && DRLK.C.C1d.Tx verification: | - ./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands - - - [1657115759.636068][8804:8804] CHIP:DMG: InvokeRequestMessage = - [1657115759.636131][8804:8804] CHIP:DMG: { - [1657115759.636188][8804:8804] CHIP:DMG: suppressResponse = false, - [1657115759.636253][8804:8804] CHIP:DMG: timedRequest = true, - [1657115759.636314][8804:8804] CHIP:DMG: InvokeRequests = - [1657115759.636390][8804:8804] CHIP:DMG: [ - [1657115759.636450][8804:8804] CHIP:DMG: CommandDataIB = - [1657115759.636534][8804:8804] CHIP:DMG: { - [1657115759.636597][8804:8804] CHIP:DMG: CommandPathIB = - [1657115759.636686][8804:8804] CHIP:DMG: { - [1657115759.636769][8804:8804] CHIP:DMG: EndpointId = 0x1, - [1657115759.636902][8804:8804] CHIP:DMG: ClusterId = 0x101, - [1657115759.636989][8804:8804] CHIP:DMG: CommandId = 0x1d, - [1657115759.637074][8804:8804] CHIP:DMG: }, - [1657115759.637155][8804:8804] CHIP:DMG: - [1657115759.637221][8804:8804] CHIP:DMG: CommandFields = - [1657115759.637299][8804:8804] CHIP:DMG: { - [1657115759.637381][8804:8804] CHIP:DMG: 0x0 = 1, - [1657115759.637462][8804:8804] CHIP:DMG: }, - [1657115759.637534][8804:8804] CHIP:DMG: }, - [1657115759.637609][8804:8804] CHIP:DMG: - [1657115759.637667][8804:8804] CHIP:DMG: ], - [1657115759.637741][8804:8804] CHIP:DMG: - [1657115759.637800][8804:8804] CHIP:DMG: InteractionModelRevision = 1 - [1657115759.637859][8804:8804] CHIP:DMG: }, - [1657115759.638009][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a - [1657115759.638099][8804:8804] CHIP:DMG: AccessControl: allowed - [1657115759.638167][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001D - [1657115759.638242][8804:8804] CHIP:ZCL: [ClearUser] Incoming command [endpointId=1,userIndex=1] + ./chip-tool doorlock clear-user 2 1 1 --timedInteractionTimeoutMs 1000 + Verify Test Harness receives the Clear User command from the DUT on TH / lock app log: + + [1658399299.380508][3074:3079] CHIP:DMG: CommandPathIB = + [1658399299.380542][3074:3079] CHIP:DMG: { + [1658399299.380573][3074:3079] CHIP:DMG: EndpointId = 0x1, + [1658399299.380608][3074:3079] CHIP:DMG: ClusterId = 0x101, + [1658399299.380639][3074:3079] CHIP:DMG: CommandId = 0x1d, + [1658399299.380671][3074:3079] CHIP:DMG: }, + [1658399299.380705][3074:3079] CHIP:DMG: + [1658399299.380735][3074:3079] CHIP:DMG: StatusIB = + [1658399299.380765][3074:3079] CHIP:DMG: { + [1658399299.380799][3074:3079] CHIP:DMG: status = 0x00 (SUCCESS), + [1658399299.380828][3074:3079] CHIP:DMG: }, + + DUT/ChipTool log: + + [1658399465.849095][2474:2474] CHIP:DMG: CommandPathIB = + [1658399465.849133][2474:2474] CHIP:DMG: { + [1658399465.849169][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658399465.849208][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658399465.849245][2474:2474] CHIP:DMG: CommandId = 0x1d, + [1658399465.849279][2474:2474] CHIP:DMG: }, + [1658399465.849316][2474:2474] CHIP:DMG: + [1658399465.849348][2474:2474] CHIP:DMG: CommandFields = + [1658399465.849386][2474:2474] CHIP:DMG: { + [1658399465.849422][2474:2474] CHIP:DMG: 0x0 = 2, + [1658399465.849459][2474:2474] CHIP:DMG: }, + [1658399465.849491][2474:2474] CHIP:DMG: }, + [1658399465.849528][2474:2474] CHIP:DMG: + [1658399465.849555][2474:2474] CHIP:DMG: ], + [1658399465.849589][2474:2474] CHIP:DMG: + [1658399465.849616][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399465.849643][2474:2474] CHIP:DMG: }, + [1658399465.849717][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658399465.849757][2474:2474] CHIP:DMG: AccessControl: allowed + [1658399465.849787][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001D + [1658399465.849824][2474:2474] CHIP:ZCL: [ClearUser] Incoming command [endpointId=1,userIndex=2] + [1658399465.849871][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2] + [1658399465.849898][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=1,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658399465.849942][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=2,creator=0,modifier=0,userName="",uniqueId=0,userStatus=0,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0] + [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.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 on Reference app receives the right response for the data sent in the above commands - - [1657115790.613466][8804:8804] CHIP:DMG: InvokeRequestMessage = - [1657115790.613528][8804:8804] CHIP:DMG: { - [1657115790.613584][8804:8804] CHIP:DMG: suppressResponse = false, - [1657115790.613649][8804:8804] CHIP:DMG: timedRequest = true, - [1657115790.613709][8804:8804] CHIP:DMG: InvokeRequests = - [1657115790.613793][8804:8804] CHIP:DMG: [ - [1657115790.613855][8804:8804] CHIP:DMG: CommandDataIB = - [1657115790.613936][8804:8804] CHIP:DMG: { - [1657115790.614008][8804:8804] CHIP:DMG: CommandPathIB = - [1657115790.614098][8804:8804] CHIP:DMG: { - [1657115790.614187][8804:8804] CHIP:DMG: EndpointId = 0x1, - [1657115790.614280][8804:8804] CHIP:DMG: ClusterId = 0x101, - [1657115790.614370][8804:8804] CHIP:DMG: CommandId = 0x22, - [1657115790.614455][8804:8804] CHIP:DMG: }, - [1657115790.614550][8804:8804] CHIP:DMG: - [1657115790.614621][8804:8804] CHIP:DMG: CommandFields = - [1657115790.614709][8804:8804] CHIP:DMG: { - [1657115790.614800][8804:8804] CHIP:DMG: 0x0 = 0, - [1657115790.614887][8804:8804] CHIP:DMG: 0x1 = - [1657115790.614976][8804:8804] CHIP:DMG: { - [1657115790.615069][8804:8804] CHIP:DMG: 0x0 = 1, - [1657115790.615164][8804:8804] CHIP:DMG: 0x1 = 1, - [1657115790.615231][8804:8804] CHIP:DMG: }, - [1657115790.615325][8804:8804] CHIP:DMG: 0x2 = [ - [1657115790.615417][8804:8804] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, - [1657115790.615514][8804:8804] CHIP:DMG: ] - [1657115790.615607][8804:8804] CHIP:DMG: 0x3 = 1, - [1657115790.615699][8804:8804] CHIP:DMG: 0x4 = 0, - [1657115790.615790][8804:8804] CHIP:DMG: 0x5 = 0, - [1657115790.615879][8804:8804] CHIP:DMG: }, - [1657115790.615959][8804:8804] CHIP:DMG: }, - [1657115790.616046][8804:8804] CHIP:DMG: - [1657115790.616107][8804:8804] CHIP:DMG: ], - [1657115790.616189][8804:8804] CHIP:DMG: - [1657115790.616248][8804:8804] CHIP:DMG: InteractionModelRevision = 1 - [1657115790.616305][8804:8804] CHIP:DMG: }, - [1657115790.616471][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a - [1657115790.616551][8804:8804] CHIP:DMG: AccessControl: allowed - [1657115790.616619][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0022 - [1657115790.616725][8804:8804] CHIP:ZCL: [SetCredential] Incoming command [endpointId=1] - [1657115790.616810][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] - [1657115790.616906][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] - [1657115790.616971][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] - [1657115790.617026][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] - [1657115790.617078][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] - [1657115790.617129][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] - [1657115790.617179][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1] - [1657115790.617229][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3] - [1657115790.617278][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1] - [1657115790.617328][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4] - [1657115790.617378][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1] - [1657115790.617428][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5] - [1657115790.617478][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1] - [1657115790.617528][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6] - [1657115790.617578][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1] - [1657115790.617629][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7] - [1657115790.617679][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1] - [1657115790.617730][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8] - [1657115790.617780][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1] - [1657115790.617831][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9] - [1657115790.617881][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1] - [1657115790.617933][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10] - [1657115790.617983][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] - [1657115790.618034][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] - [1657115790.618095][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] - [1657115790.618149][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0] - [1657115790.618201][8804:8804] CHIP:ZCL: [SetCredential] Unable to add credential to user: user clot is empty [endpointId=1,credentialIndex=1,userIndex=1] + + Verify Test Harness receives the Set Credential command from the DUT on TH / lock app log: + + + [1658399006.374067][3044:3049] CHIP:DMG: }, + [1658399006.374147][3044:3049] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 + [1658399006.374210][3044:3049] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 + [1658399006.374284][3044:3049] CHIP:TOO: SetCredentialResponse: { + [1658399006.374330][3044:3049] CHIP:TOO: status: 0 + [1658399006.374362][3044:3049] CHIP:TOO: userIndex: null + [1658399006.374394][3044:3049] CHIP:TOO: nextCredentialIndex: 2 + [1658399006.374425][3044:3049] CHIP:TOO: } + + DUT/ChipTool log: + + [1658399006.369032][2474:2474] CHIP:DMG: CommandPathIB = + [1658399006.369075][2474:2474] CHIP:DMG: { + [1658399006.369119][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658399006.369164][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658399006.369209][2474:2474] CHIP:DMG: CommandId = 0x22, + [1658399006.369251][2474:2474] CHIP:DMG: }, + [1658399006.369299][2474:2474] CHIP:DMG: + [1658399006.369337][2474:2474] CHIP:DMG: CommandFields = + [1658399006.369379][2474:2474] CHIP:DMG: { + [1658399006.369421][2474:2474] CHIP:DMG: 0x0 = 0, + [1658399006.369468][2474:2474] CHIP:DMG: 0x1 = + [1658399006.369511][2474:2474] CHIP:DMG: { + [1658399006.369560][2474:2474] CHIP:DMG: 0x0 = 1, + [1658399006.369606][2474:2474] CHIP:DMG: 0x1 = 1, + [1658399006.369652][2474:2474] CHIP:DMG: }, + [1658399006.369697][2474:2474] CHIP:DMG: 0x2 = [ + [1658399006.369745][2474:2474] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, + [1658399006.369796][2474:2474] CHIP:DMG: ] + [1658399006.369841][2474:2474] CHIP:DMG: 0x3 = 1, + [1658399006.369889][2474:2474] CHIP:DMG: 0x4 = 0, + [1658399006.369937][2474:2474] CHIP:DMG: 0x5 = 0, + [1658399006.369979][2474:2474] CHIP:DMG: }, + [1658399006.370017][2474:2474] CHIP:DMG: }, + [1658399006.370063][2474:2474] CHIP:DMG: + [1658399006.370096][2474:2474] CHIP:DMG: ], + [1658399006.370140][2474:2474] CHIP:DMG: + [1658399006.370172][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399006.370204][2474:2474] CHIP:DMG: }, + [1658399006.370297][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658399006.370344][2474:2474] CHIP:DMG: AccessControl: allowed + [1658399006.370379][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0022 + [1658399006.370446][2474:2474] CHIP:ZCL: [SetCredential] Incoming command [endpointId=1] + [1658399006.370498][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] + [1658399006.370528][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] + [1658399006.370563][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] + [1658399006.370592][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] + [1658399006.370619][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] + [1658399006.370646][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] + [1658399006.370672][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1] + [1658399006.370700][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3] + [1658399006.370726][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1] + [1658399006.370753][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4] + [1658399006.370780][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1] + [1658399006.370807][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5] + [1658399006.370834][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1] + [1658399006.370861][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6] + [1658399006.370888][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1] + [1658399006.370915][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7] + [1658399006.370941][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1] + [1658399006.370968][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8] + [1658399006.370995][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1] + [1658399006.371022][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9] + [1658399006.371048][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1] + [1658399006.371076][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10] + [1658399006.371102][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] + [1658399006.371130][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] + [1658399006.371164][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] + [1658399006.371194][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658399006.371255][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] + [1658399006.371284][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658399006.371321][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=1,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=0xaaaae780f570,totalCredentials=1] + [1658399006.371357][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=1,adjustedIndex=0] + [1658399006.371385][2474:2474] CHIP:ZCL: [AddCredentialToUser] Credential added to user [endpointId=1,userIndex=1,credentialType=1,credentialIndex=1,userTotalCredentials=1] + [1658399006.371416][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetCredential [endpoint=1,credentialIndex=1,credentialStatus=1,credentialType=1,credentialDataSize=6,creator=1,modifier=1] + [1658399006.371447][2474:2474] CHIP:ZCL: Successfully set the credential [mEndpointId=1,index=1,credentialType=1,creator=1,modifier=1] disabled: true - label: "DUT sends Get Credential to TH." PICS: DRLK.S.F08 && DRLK.C.C24.Tx verification: | ./chip-tool doorlock get-credential-status '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands - - [1657115826.641760][8804:8804] CHIP:DMG: InvokeRequestMessage = - [1657115826.641847][8804:8804] CHIP:DMG: { - [1657115826.641907][8804:8804] CHIP:DMG: suppressResponse = false, - [1657115826.641973][8804:8804] CHIP:DMG: timedRequest = true, - [1657115826.642057][8804:8804] CHIP:DMG: InvokeRequests = - [1657115826.642188][8804:8804] CHIP:DMG: [ - [1657115826.642251][8804:8804] CHIP:DMG: CommandDataIB = - [1657115826.642339][8804:8804] CHIP:DMG: { - [1657115826.642404][8804:8804] CHIP:DMG: CommandPathIB = - [1657115826.642502][8804:8804] CHIP:DMG: { - [1657115826.642586][8804:8804] CHIP:DMG: EndpointId = 0x1, - [1657115826.642700][8804:8804] CHIP:DMG: ClusterId = 0x101, - [1657115826.642805][8804:8804] CHIP:DMG: CommandId = 0x24, - [1657115826.642891][8804:8804] CHIP:DMG: }, - [1657115826.642996][8804:8804] CHIP:DMG: - [1657115826.643084][8804:8804] CHIP:DMG: CommandFields = - [1657115826.643174][8804:8804] CHIP:DMG: { - [1657115826.643270][8804:8804] CHIP:DMG: 0x0 = - [1657115826.643382][8804:8804] CHIP:DMG: { - [1657115826.643480][8804:8804] CHIP:DMG: 0x0 = 1, - [1657115826.643596][8804:8804] CHIP:DMG: 0x1 = 1, - [1657115826.643704][8804:8804] CHIP:DMG: }, - [1657115826.643795][8804:8804] CHIP:DMG: }, - [1657115826.643888][8804:8804] CHIP:DMG: }, - [1657115826.643989][8804:8804] CHIP:DMG: - [1657115826.644053][8804:8804] CHIP:DMG: ], - [1657115826.644148][8804:8804] CHIP:DMG: - [1657115826.644210][8804:8804] CHIP:DMG: InteractionModelRevision = 1 - [1657115826.644269][8804:8804] CHIP:DMG: }, - [1657115826.644470][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a - [1657115826.644577][8804:8804] CHIP:DMG: AccessControl: allowed - [1657115826.644648][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0024 - [1657115826.644736][8804:8804] CHIP:ZCL: [GetCredentialStatus] Incoming command [endpointId=1] - [1657115826.644821][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] - [1657115826.645076][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] - [1657115826.645160][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] - [1657115826.645219][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] - [1657115826.645270][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1] - [1657115826.645320][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3] - [1657115826.645370][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1] - [1657115826.645444][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4] - [1657115826.645496][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1] - [1657115826.645547][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5] - [1657115826.645596][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1] - [1657115826.645648][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6] - [1657115826.645697][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1] - [1657115826.645748][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7] - [1657115826.645797][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1] - [1657115826.645848][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8] - [1657115826.645897][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1] - [1657115826.645948][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9] - [1657115826.645997][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1] - [1657115826.646048][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10] - [1657115826.646124][8804:8804] CHIP:DMG: ICR moving to [ Preparing] - [1657115826.646199][8804:8804] CHIP:DMG: ICR moving to [AddingComm] - [1657115826.646272][8804:8804] CHIP:DMG: ICR moving to [AddedComma] - [1657115826.646326][8804:8804] CHIP:ZCL: [GetCredentialStatus] Prepared credential status [endpointId=1,credentialType=1,credentialIndex=1,userIndex=0,nextCredentialIndex=0] + Verify Test Harness receives the Get Credential command from the DUT on TH / lock app log: + + [1658399098.917347][3053:3058] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0025 + [1658399098.917400][3053:3058] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0025 + [1658399098.917469][3053:3058] CHIP:TOO: GetCredentialStatusResponse: { + [1658399098.917499][3053:3058] CHIP:TOO: credentialExists: TRUE + [1658399098.917535][3053:3058] CHIP:TOO: userIndex: 1 + [1658399098.917563][3053:3058] CHIP:TOO: creatorFabricIndex: 1 + [1658399098.917590][3053:3058] CHIP:TOO: lastModifiedFabricIndex: 1 + [1658399098.917616][3053:3058] CHIP:TOO: nextCredentialIndex: null + [1658399098.917642][3053:3058] CHIP:TOO: } + + DUT/ChipTool log: + + [1658399098.914006][2474:2474] CHIP:DMG: CommandPathIB = + [1658399098.914053][2474:2474] CHIP:DMG: { + [1658399098.914144][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658399098.914180][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658399098.914213][2474:2474] CHIP:DMG: CommandId = 0x24, + [1658399098.914243][2474:2474] CHIP:DMG: }, + [1658399098.914277][2474:2474] CHIP:DMG: + [1658399098.914305][2474:2474] CHIP:DMG: CommandFields = + [1658399098.914335][2474:2474] CHIP:DMG: { + [1658399098.914364][2474:2474] CHIP:DMG: 0x0 = + [1658399098.914395][2474:2474] CHIP:DMG: { + [1658399098.914428][2474:2474] CHIP:DMG: 0x0 = 1, + [1658399098.914462][2474:2474] CHIP:DMG: 0x1 = 1, + [1658399098.914496][2474:2474] CHIP:DMG: }, + [1658399098.914528][2474:2474] CHIP:DMG: }, + [1658399098.914556][2474:2474] CHIP:DMG: }, + [1658399098.914588][2474:2474] CHIP:DMG: + [1658399098.914612][2474:2474] CHIP:DMG: ], + [1658399098.914642][2474:2474] CHIP:DMG: + [1658399098.914666][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399098.914689][2474:2474] CHIP:DMG: }, + [1658399098.914757][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658399098.914793][2474:2474] CHIP:DMG: AccessControl: allowed + [1658399098.914821][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0024 + [1658399098.914859][2474:2474] CHIP:ZCL: [GetCredentialStatus] Incoming command [endpointId=1] + [1658399098.914896][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] + [1658399098.914919][2474:2474] CHIP:ZCL: Found occupied credential [endpoint=1,index=1,type=1,dataSize=6,createdBy=1,modifiedBy=1] + [1658399098.914943][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] + [1658399098.914966][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=1,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658399098.914995][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1] + [1658399098.915016][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2] + [1658399098.915036][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1] + [1658399098.915056][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3] + [1658399098.915075][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1] + [1658399098.915095][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4] + [1658399098.915115][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1] + [1658399098.915135][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5] + [1658399098.915155][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1] + [1658399098.915174][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6] + [1658399098.915194][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1] + [1658399098.915245][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7] + [1658399098.915267][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1] + [1658399098.915287][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8] + [1658399098.915307][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1] + [1658399098.915327][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9] + [1658399098.915346][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1] + [1658399098.915366][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10] disabled: true - label: "DUT sends Clear Credential command to TH." PICS: DRLK.S.F08 && DRLK.C.C26.Tx verification: | ./chip-tool doorlock clear-credential '{ "credentialType" : 1 , "credentialIndex" : 1 }' 1 1 --timedInteractionTimeoutMs 1000 - verify on Reference app receives the right response for the data sent in the above commands + Verify Test Harness receives the Clear Credential command from the DUT on TH / lock app log: + + [1658399249.225410][3066:3071] CHIP:DMG: CommandPathIB = + [1658399249.225445][3066:3071] CHIP:DMG: { + [1658399249.225491][3066:3071] CHIP:DMG: EndpointId = 0x1, + [1658399249.225542][3066:3071] CHIP:DMG: ClusterId = 0x101, + [1658399249.225588][3066:3071] CHIP:DMG: CommandId = 0x26, + [1658399249.225634][3066:3071] CHIP:DMG: }, + [1658399249.225684][3066:3071] CHIP:DMG: + [1658399249.225727][3066:3071] CHIP:DMG: StatusIB = + [1658399249.225763][3066:3071] CHIP:DMG: { + [1658399249.225798][3066:3071] CHIP:DMG: status = 0x00 (SUCCESS), + [1658399249.225846][3066:3071] CHIP:DMG: }, + [1658399249.225880][3066:3071] CHIP:DMG: + + DUT/ChipTool log: [1657115878.582559][8804:8804] CHIP:DMG: InvokeRequestMessage = [1657115878.582642][8804:8804] CHIP:DMG: { @@ -809,3 +1065,46 @@ tests: [1657115878.585752][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1] [1657115878.585802][8804:8804] CHIP:ZCL: [clearCredential] Ignored attempt to clear unoccupied credential slot [endpointId=1,credentialType=1,credentialIndex=1,modifier=1] disabled: true + + - label: "DUT sends Clear Credential command to TH." + verification: | + ./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000 + + [1658399779.248457][3141:3146] CHIP:DMG: CommandPathIB = + [1658399779.248494][3141:3146] CHIP:DMG: { + [1658399779.248528][3141:3146] CHIP:DMG: EndpointId = 0x1, + [1658399779.248566][3141:3146] CHIP:DMG: ClusterId = 0x101, + [1658399779.248600][3141:3146] CHIP:DMG: CommandId = 0x1d, + [1658399779.248633][3141:3146] CHIP:DMG: }, + [1658399779.248669][3141:3146] CHIP:DMG: + [1658399779.248698][3141:3146] CHIP:DMG: StatusIB = + [1658399779.248731][3141:3146] CHIP:DMG: { + [1658399779.248764][3141:3146] CHIP:DMG: status = 0x00 (SUCCESS), + [1658399779.248793][3141:3146] CHIP:DMG: }, + + DUT/ChipTool log: + + [1658399779.246157][2474:2474] CHIP:DMG: CommandDataIB = + [1658399779.246193][2474:2474] CHIP:DMG: { + [1658399779.246219][2474:2474] CHIP:DMG: CommandPathIB = + [1658399779.246258][2474:2474] CHIP:DMG: { + [1658399779.246301][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658399779.246336][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658399779.246381][2474:2474] CHIP:DMG: CommandId = 0x1d, + [1658399779.246411][2474:2474] CHIP:DMG: }, + [1658399779.246452][2474:2474] CHIP:DMG: + [1658399779.246480][2474:2474] CHIP:DMG: CommandFields = + [1658399779.246519][2474:2474] CHIP:DMG: { + [1658399779.246562][2474:2474] CHIP:DMG: 0x0 = 1, + [1658399779.246595][2474:2474] CHIP:DMG: }, + [1658399779.246631][2474:2474] CHIP:DMG: }, + [1658399779.246662][2474:2474] CHIP:DMG: + [1658399779.246694][2474:2474] CHIP:DMG: ], + [1658399779.246732][2474:2474] CHIP:DMG: + [1658399779.246757][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399779.246788][2474:2474] CHIP:DMG: }, + [1658399779.246862][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658399779.246899][2474:2474] CHIP:DMG: AccessControl: allowed + [1658399779.246926][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001D + [1658399779.246958][2474:2474] CHIP:ZCL: [ClearUser] Incoming command [endpointId=1,userIndex=1] + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml index 31f196a504df7d..4838e1eadf5e6a 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_3_3.yaml @@ -1,635 +1,574 @@ -# Copyright (c) 2021 Project CHIP Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default - -name: - 113.3.3. [TC-DRLK-3.3] Verification for the Door Lock Events [DUT - Client] - -config: - nodeId: 0x12344321 - cluster: "Basic" - endpoint: 0 - -tests: - - label: "TH will initiate DoorLockAlarm Event (LockJammed scenario)" - PICS: DRLK.C.E00 - verification: | - ./chip-tool doorlock read-event door-lock-alarm 1 1 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143092.410930][3017:3023] CHIP:DMG: ReportDataMessage = - [1658143092.410964][3017:3023] CHIP:DMG: { - [1658143092.410994][3017:3023] CHIP:DMG: SuppressResponse = true, - [1658143092.411026][3017:3023] CHIP:DMG: InteractionModelRevision = 1 - [1658143092.411056][3017:3023] CHIP:DMG: } - disabled: true - - - label: "DUT sends the Unlock Door command to the TH with valid PINCode" - PICS: DRLK.C.C01.Tx - verification: | - ./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143230.937379][3029:3034] CHIP:DMG: StatusIB = - [1658143230.937412][3029:3034] CHIP:DMG: { - [1658143230.937446][3029:3034] CHIP:DMG: status = 0x00 (SUCCESS), - [1658143230.937478][3029:3034] CHIP:DMG: }, - - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1 , "credentialIndex" : 1 }' 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143318.915533][3039:3044] CHIP:DMG: }, - [1658143318.915609][3039:3044] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 - [1658143318.915705][3039:3044] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 - [1658143318.915778][3039:3044] CHIP:TOO: SetCredentialResponse: { - [1658143318.915821][3039:3044] CHIP:TOO: status: 0 - [1658143318.915851][3039:3044] CHIP:TOO: userIndex: null - [1658143318.915880][3039:3044] CHIP:TOO: nextCredentialIndex: 2 - [1658143318.915909][3039:3044] CHIP:TOO: } - - - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143429.670361][3057:3062] CHIP:DMG: }, - [1658143429.670411][3057:3062] CHIP:DMG: - [1658143429.670451][3057:3062] CHIP:DMG: StatusIB = - [1658143429.670498][3057:3062] CHIP:DMG: { - [1658143429.670548][3057:3062] CHIP:DMG: status = 0x00 (SUCCESS), - [1658143429.670593][3057:3062] CHIP:DMG: }, - [1658143429.670637][3057:3062] CHIP:DMG: - [1658143429.670681][3057:3062] CHIP:DMG: }, - [1658143429.670725][3057:3062] CHIP:DMG: - [1658143429.670759][3057:3062] CHIP:DMG: }, - [1658143429.670799][3057:3062] CHIP:DMG: - [1658143429.670829][3057:3062] CHIP:DMG: ], - [1658143429.670867][3057:3062] CHIP:DMG: - [1658143429.670896][3057:3062] CHIP:DMG: InteractionModelRevision = 1 - [1658143429.670926][3057:3062] CHIP:DMG: }, - disabled: true - - - label: "TH initiates DoorStateChange event with Doorstate set to DoorOpen" - PICS: DRLK.C.F05 && DRLK.C.E01 - verification: | - ./chip-tool doorlock read-event door-state-change 1 1 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143492.705309][3065:3070] CHIP:DMG: ReportDataMessage = - [1658143492.705348][3065:3070] CHIP:DMG: { - [1658143492.705374][3065:3070] CHIP:DMG: SuppressResponse = true, - [1658143492.705402][3065:3070] CHIP:DMG: InteractionModelRevision = 1 - [1658143492.705427][3065:3070] CHIP:DMG: } - disabled: true - - - label: "DUT sends the Lock Door command to the TH with valid PINCode" - PICS: DRLK.C.C00.Tx - verification: | - ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143612.854142][3083:3088] CHIP:DMG: - [1658143612.854178][3083:3088] CHIP:DMG: StatusIB = - [1658143612.854229][3083:3088] CHIP:DMG: { - [1658143612.854268][3083:3088] CHIP:DMG: status = 0x00 (SUCCESS), - [1658143612.854317][3083:3088] CHIP:DMG: }, - [1658143612.854365][3083:3088] CHIP:DMG: - [1658143612.854400][3083:3088] CHIP:DMG: }, - [1658143612.854448][3083:3088] CHIP:DMG: - [1658143612.854481][3083:3088] CHIP:DMG: }, - [1658143612.854528][3083:3088] CHIP:DMG: - [1658143612.854559][3083:3088] CHIP:DMG: ], - [1658143612.854604][3083:3088] CHIP:DMG: - [1658143612.854634][3083:3088] CHIP:DMG: InteractionModelRevision = 1 - [1658143612.854673][3083:3088] CHIP:DMG: }, - [1658143612.854756][3083:3088] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 Status=0x0 - disabled: true - - - label: - "TH will initiate LockOperation event with LockOperationType to Lock" - PICS: DRLK.C.E02 - verification: | - ./chip-tool doorlock read-event lock-operation 1 1 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143652.496054][3092:3097] CHIP:DMG: - [1658143652.496078][3092:3097] CHIP:DMG: SuppressResponse = true, - [1658143652.496103][3092:3097] CHIP:DMG: InteractionModelRevision = 1 - [1658143652.496126][3092:3097] CHIP:DMG: } - [1658143652.496628][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.496654][3092:3097] CHIP:TOO: Event number: 5 - [1658143652.496676][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.496697][3092:3097] CHIP:TOO: Timestamp: 799336 - [1658143652.496834][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.496911][3092:3097] CHIP:TOO: LockOperationType: 1 - [1658143652.496961][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.496986][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.497009][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.497034][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.497065][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.497099][3092:3097] CHIP:TOO: [1]: { - [1658143652.497122][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.497146][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.497168][3092:3097] CHIP:TOO: } - [1658143652.497192][3092:3097] CHIP:TOO: } - [1658143652.497297][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.497322][3092:3097] CHIP:TOO: Event number: 6 - [1658143652.497344][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.497365][3092:3097] CHIP:TOO: Timestamp: 859340 - [1658143652.497398][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.497423][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.497446][3092:3097] CHIP:TOO: OperationSource: 4 - [1658143652.497467][3092:3097] CHIP:TOO: UserIndex: null - [1658143652.497489][3092:3097] CHIP:TOO: FabricIndex: null - [1658143652.497511][3092:3097] CHIP:TOO: SourceNode: null - [1658143652.497532][3092:3097] CHIP:TOO: Credentials: null - [1658143652.497554][3092:3097] CHIP:TOO: } - [1658143652.497660][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.497683][3092:3097] CHIP:TOO: Event number: 7 - [1658143652.497704][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.497725][3092:3097] CHIP:TOO: Timestamp: 980898 - [1658143652.497761][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.497785][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.497808][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.497830][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.497851][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.497873][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.497899][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.497929][3092:3097] CHIP:TOO: [1]: { - [1658143652.497953][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.497975][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.497993][3092:3097] CHIP:TOO: } - [1658143652.498012][3092:3097] CHIP:TOO: } - [1658143652.498118][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.498138][3092:3097] CHIP:TOO: Event number: 8 - [1658143652.498156][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.498174][3092:3097] CHIP:TOO: Timestamp: 1103895 - [1658143652.498208][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.498233][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.498255][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.498278][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.498301][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.498323][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.498351][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.498380][3092:3097] CHIP:TOO: [1]: { - [1658143652.498403][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.498425][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.498447][3092:3097] CHIP:TOO: } - [1658143652.498470][3092:3097] CHIP:TOO: } - [1658143652.498581][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.498604][3092:3097] CHIP:TOO: Event number: 9 - [1658143652.498626][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.498647][3092:3097] CHIP:TOO: Timestamp: 1220546 - [1658143652.498682][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.498707][3092:3097] CHIP:TOO: LockOperationType: 1 - [1658143652.498730][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.498751][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.498773][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.498796][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.498822][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.498850][3092:3097] CHIP:TOO: [1]: { - [1658143652.498874][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.498895][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.498917][3092:3097] CHIP:TOO: } - [1658143652.498940][3092:3097] CHIP:TOO: } - [1658143652.499037][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.499060][3092:3097] CHIP:TOO: Event number: 10 - [1658143652.499082][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.499103][3092:3097] CHIP:TOO: Timestamp: 1280590 - [1658143652.499134][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.499157][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.499180][3092:3097] CHIP:TOO: OperationSource: 4 - [1658143652.499202][3092:3097] CHIP:TOO: UserIndex: null - [1658143652.499223][3092:3097] CHIP:TOO: FabricIndex: null - [1658143652.499245][3092:3097] CHIP:TOO: SourceNode: null - [1658143652.499267][3092:3097] CHIP:TOO: Credentials: null - [1658143652.499288][3092:3097] CHIP:TOO: } - [1658143652.499393][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.499416][3092:3097] CHIP:TOO: Event number: 11 - [1658143652.499438][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.499459][3092:3097] CHIP:TOO: Timestamp: 1399486 - [1658143652.499494][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.499518][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.499541][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.499563][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.499585][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.499606][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.499633][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.499685][3092:3097] CHIP:TOO: [1]: { - [1658143652.499708][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.499731][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.499752][3092:3097] CHIP:TOO: } - [1658143652.499775][3092:3097] CHIP:TOO: } - [1658143652.499886][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.499910][3092:3097] CHIP:TOO: Event number: 12 - [1658143652.499932][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.499953][3092:3097] CHIP:TOO: Timestamp: 2106609 - [1658143652.499987][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.500012][3092:3097] CHIP:TOO: LockOperationType: 1 - [1658143652.500034][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.500057][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.500078][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.500100][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.500127][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.500186][3092:3097] CHIP:TOO: [1]: { - [1658143652.500210][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.500233][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.500255][3092:3097] CHIP:TOO: } - [1658143652.500278][3092:3097] CHIP:TOO: } - [1658143652.500380][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.500403][3092:3097] CHIP:TOO: Event number: 13 - [1658143652.500424][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.500445][3092:3097] CHIP:TOO: Timestamp: 2166613 - [1658143652.500476][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.500500][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.500523][3092:3097] CHIP:TOO: OperationSource: 4 - [1658143652.500545][3092:3097] CHIP:TOO: UserIndex: null - [1658143652.500567][3092:3097] CHIP:TOO: FabricIndex: null - [1658143652.500589][3092:3097] CHIP:TOO: SourceNode: null - [1658143652.500611][3092:3097] CHIP:TOO: Credentials: null - [1658143652.500632][3092:3097] CHIP:TOO: } - [1658143652.500742][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.500766][3092:3097] CHIP:TOO: Event number: 14 - [1658143652.500787][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.500808][3092:3097] CHIP:TOO: Timestamp: 2285136 - [1658143652.500842][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.500867][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.500889][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.500911][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.500933][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.500956][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.500982][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.501011][3092:3097] CHIP:TOO: [1]: { - [1658143652.501033][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.501056][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.501077][3092:3097] CHIP:TOO: } - [1658143652.501100][3092:3097] CHIP:TOO: } - [1658143652.501202][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.501226][3092:3097] CHIP:TOO: Event number: 29 - [1658143652.501247][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.501268][3092:3097] CHIP:TOO: Timestamp: 4205225 - [1658143652.501303][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.501327][3092:3097] CHIP:TOO: LockOperationType: 1 - [1658143652.501350][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.501372][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.501395][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.501417][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.501443][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.501472][3092:3097] CHIP:TOO: [1]: { - [1658143652.501495][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.501517][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.501539][3092:3097] CHIP:TOO: } - [1658143652.501562][3092:3097] CHIP:TOO: } - [1658143652.501669][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.501692][3092:3097] CHIP:TOO: Event number: 30 - [1658143652.501714][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.501734][3092:3097] CHIP:TOO: Timestamp: 4223548 - [1658143652.501768][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.501792][3092:3097] CHIP:TOO: LockOperationType: 1 - [1658143652.501815][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.501837][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.501859][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.501881][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.501907][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.501936][3092:3097] CHIP:TOO: [1]: { - [1658143652.502063][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.502088][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.502110][3092:3097] CHIP:TOO: } - [1658143652.502134][3092:3097] CHIP:TOO: } - [1658143652.502237][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.502260][3092:3097] CHIP:TOO: Event number: 31 - [1658143652.502282][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.502302][3092:3097] CHIP:TOO: Timestamp: 4283567 - [1658143652.502334][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.502358][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.502381][3092:3097] CHIP:TOO: OperationSource: 4 - [1658143652.502402][3092:3097] CHIP:TOO: UserIndex: null - [1658143652.502424][3092:3097] CHIP:TOO: FabricIndex: null - [1658143652.502446][3092:3097] CHIP:TOO: SourceNode: null - [1658143652.502468][3092:3097] CHIP:TOO: Credentials: null - [1658143652.502489][3092:3097] CHIP:TOO: } - [1658143652.502595][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.502618][3092:3097] CHIP:TOO: Event number: 32 - [1658143652.502640][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.502661][3092:3097] CHIP:TOO: Timestamp: 4377177 - [1658143652.502695][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.502720][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.502742][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.502764][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.502785][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.502808][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.502834][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.502864][3092:3097] CHIP:TOO: [1]: { - [1658143652.502887][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.502909][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.502930][3092:3097] CHIP:TOO: } - [1658143652.502953][3092:3097] CHIP:TOO: } - [1658143652.503056][3092:3097] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 - [1658143652.503079][3092:3097] CHIP:TOO: Event number: 33 - [1658143652.503100][3092:3097] CHIP:TOO: Priority: Critical - [1658143652.503121][3092:3097] CHIP:TOO: Timestamp: 4406732 - [1658143652.503155][3092:3097] CHIP:TOO: LockOperation: { - [1658143652.503179][3092:3097] CHIP:TOO: LockOperationType: 0 - [1658143652.503202][3092:3097] CHIP:TOO: OperationSource: 7 - [1658143652.503223][3092:3097] CHIP:TOO: UserIndex: 1 - [1658143652.503245][3092:3097] CHIP:TOO: FabricIndex: 1 - [1658143652.503268][3092:3097] CHIP:TOO: SourceNode: 112233 - [1658143652.503293][3092:3097] CHIP:TOO: Credentials: 1 entries - [1658143652.503322][3092:3097] CHIP:TOO: [1]: { - [1658143652.503345][3092:3097] CHIP:TOO: CredentialType: 1 - [1658143652.503367][3092:3097] CHIP:TOO: CredentialIndex: 1 - [1658143652.503389][3092:3097] CHIP:TOO: } - [1658143652.503415][3092:3097] CHIP:TOO: } - disabled: true - - - label: "DUT sends the Unlock Door command to the TH with Invalid PINCode" - PICS: DRLK.C.C01.Tx - verification: | - ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143767.123426][3101:3106] CHIP:DMG: }, - [1658143767.123464][3101:3106] CHIP:DMG: - [1658143767.123493][3101:3106] CHIP:DMG: StatusIB = - [1658143767.123527][3101:3106] CHIP:DMG: { - [1658143767.123559][3101:3106] CHIP:DMG: status = 0x01 (FAILURE), - [1658143767.123592][3101:3106] CHIP:DMG: }, - [1658143767.123626][3101:3106] CHIP:DMG: - [1658143767.123684][3101:3106] CHIP:DMG: }, - [1658143767.123720][3101:3106] CHIP:DMG: - [1658143767.123748][3101:3106] CHIP:DMG: }, - [1658143767.123780][3101:3106] CHIP:DMG: - [1658143767.123804][3101:3106] CHIP:DMG: ], - [1658143767.123834][3101:3106] CHIP:DMG: - [1658143767.123859][3101:3106] CHIP:DMG: InteractionModelRevision = 1 - [1658143767.123883][3101:3106] CHIP:DMG: }, - [1658143767.123943][3101:3106] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x1 - [1658143767.123978][3101:3106] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) - disabled: true - - - label: - "TH will initiate LockOperationError event by causing Lock error using - invalid PIN" - PICS: DRLK.C.E03 - verification: | - ./chip-tool doorlock read-event lock-operation-error 1 1 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143824.787070][3109:3114] CHIP:DMG: SuppressResponse = true, - [1658143824.787101][3109:3114] CHIP:DMG: InteractionModelRevision = 1 - [1658143824.787130][3109:3114] CHIP:DMG: } - [1658143824.787437][3109:3114] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658143824.787468][3109:3114] CHIP:TOO: Event number: 15 - [1658143824.787495][3109:3114] CHIP:TOO: Priority: Critical - [1658143824.787523][3109:3114] CHIP:TOO: Timestamp: 2346777 - [1658143824.787682][3109:3114] CHIP:TOO: LockOperationError: { - [1658143824.787728][3109:3114] CHIP:TOO: LockOperationType: 0 - [1658143824.787758][3109:3114] CHIP:TOO: OperationSource: 7 - [1658143824.787787][3109:3114] CHIP:TOO: OperationError: 1 - [1658143824.787816][3109:3114] CHIP:TOO: UserIndex: 0 - [1658143824.787845][3109:3114] CHIP:TOO: FabricIndex: 1 - [1658143824.787876][3109:3114] CHIP:TOO: SourceNode: 112233 - [1658143824.787914][3109:3114] CHIP:TOO: Credentials: 1 entries - [1658143824.787956][3109:3114] CHIP:TOO: [1]: { - [1658143824.787985][3109:3114] CHIP:TOO: CredentialType: 1 - [1658143824.788014][3109:3114] CHIP:TOO: CredentialIndex: 0 - [1658143824.788042][3109:3114] CHIP:TOO: } - [1658143824.788071][3109:3114] CHIP:TOO: } - [1658143824.788215][3109:3114] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658143824.788247][3109:3114] CHIP:TOO: Event number: 16 - [1658143824.788274][3109:3114] CHIP:TOO: Priority: Critical - [1658143824.788301][3109:3114] CHIP:TOO: Timestamp: 2516979 - [1658143824.788347][3109:3114] CHIP:TOO: LockOperationError: { - [1658143824.788378][3109:3114] CHIP:TOO: LockOperationType: 1 - [1658143824.788406][3109:3114] CHIP:TOO: OperationSource: 7 - [1658143824.788434][3109:3114] CHIP:TOO: OperationError: 1 - [1658143824.788462][3109:3114] CHIP:TOO: UserIndex: 0 - [1658143824.788490][3109:3114] CHIP:TOO: FabricIndex: 1 - [1658143824.788519][3109:3114] CHIP:TOO: SourceNode: 112233 - [1658143824.788551][3109:3114] CHIP:TOO: Credentials: 1 entries - [1658143824.788587][3109:3114] CHIP:TOO: [1]: { - [1658143824.788617][3109:3114] CHIP:TOO: CredentialType: 1 - [1658143824.788644][3109:3114] CHIP:TOO: CredentialIndex: 0 - [1658143824.788672][3109:3114] CHIP:TOO: } - [1658143824.788701][3109:3114] CHIP:TOO: } - [1658143824.788837][3109:3114] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658143824.788866][3109:3114] CHIP:TOO: Event number: 17 - [1658143824.788893][3109:3114] CHIP:TOO: Priority: Critical - [1658143824.788922][3109:3114] CHIP:TOO: Timestamp: 2548044 - [1658143824.788968][3109:3114] CHIP:TOO: LockOperationError: { - [1658143824.788998][3109:3114] CHIP:TOO: LockOperationType: 1 - [1658143824.789026][3109:3114] CHIP:TOO: OperationSource: 7 - [1658143824.789054][3109:3114] CHIP:TOO: OperationError: 1 - [1658143824.789082][3109:3114] CHIP:TOO: UserIndex: 0 - [1658143824.789110][3109:3114] CHIP:TOO: FabricIndex: 1 - [1658143824.789138][3109:3114] CHIP:TOO: SourceNode: 112233 - [1658143824.789171][3109:3114] CHIP:TOO: Credentials: 1 entries - [1658143824.789207][3109:3114] CHIP:TOO: [1]: { - [1658143824.789236][3109:3114] CHIP:TOO: CredentialType: 1 - [1658143824.789264][3109:3114] CHIP:TOO: CredentialIndex: 0 - [1658143824.789292][3109:3114] CHIP:TOO: } - [1658143824.789321][3109:3114] CHIP:TOO: } - [1658143824.789528][3109:3114] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 - [1658143824.789643][3109:3114] CHIP:TOO: Event number: 34 - [1658143824.789673][3109:3114] CHIP:TOO: Priority: Critical - [1658143824.789700][3109:3114] CHIP:TOO: Timestamp: 4561002 - [1658143824.789750][3109:3114] CHIP:TOO: LockOperationError: { - [1658143824.789782][3109:3114] CHIP:TOO: LockOperationType: 1 - [1658143824.789811][3109:3114] CHIP:TOO: OperationSource: 7 - [1658143824.789839][3109:3114] CHIP:TOO: OperationError: 1 - [1658143824.789867][3109:3114] CHIP:TOO: UserIndex: 0 - [1658143824.789894][3109:3114] CHIP:TOO: FabricIndex: 1 - [1658143824.789923][3109:3114] CHIP:TOO: SourceNode: 112233 - [1658143824.789957][3109:3114] CHIP:TOO: Credentials: 1 entries - [1658143824.789993][3109:3114] CHIP:TOO: [1]: { - [1658143824.790022][3109:3114] CHIP:TOO: CredentialType: 1 - [1658143824.790051][3109:3114] CHIP:TOO: CredentialIndex: 0 - [1658143824.790079][3109:3114] CHIP:TOO: } - [1658143824.790107][3109:3114] CHIP:TOO: } - disabled: true - - - label: "DUT sends Set User command to TH" - PICS: DRLK.C.F08 && DRLK.C.C1a.Tx - verification: | - ./chip-tool doorlock set-user 0 3 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000 - - verify on Reference app receives the right response for the data sent in the above commands - - [1658143964.643101][3139:3144] CHIP:DMG: - [1658143964.643137][3139:3144] CHIP:DMG: StatusIB = - [1658143964.643179][3139:3144] CHIP:DMG: { - [1658143964.643220][3139:3144] CHIP:DMG: status = 0x00 (SUCCESS), - [1658143964.643263][3139:3144] CHIP:DMG: }, - [1658143964.643303][3139:3144] CHIP:DMG: - [1658143964.643343][3139:3144] CHIP:DMG: }, - [1658143964.643388][3139:3144] CHIP:DMG: - [1658143964.643421][3139:3144] CHIP:DMG: }, - [1658143964.643457][3139:3144] CHIP:DMG: - [1658143964.643486][3139:3144] CHIP:DMG: ], - [1658143964.643522][3139:3144] CHIP:DMG: - [1658143964.643551][3139:3144] CHIP:DMG: InteractionModelRevision = 1 - [1658143964.643580][3139:3144] CHIP:DMG: }, - [1658143964.643721][3139:3144] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A Status=0x0 - disabled: true - - - label: - "TH initiates LockUserChange event by adding the UserIndex using Set - User command" - PICS: DRLK.C.E04 - verification: | - ./chip-tool doorlock read-event lock-user-change 1 1 - - verify on Reference app receives the right response for the data sent in the above commands - - - [1658144019.122968][3149:3154] CHIP:DMG: } - [1658144019.123380][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.123410][3149:3154] CHIP:TOO: Event number: 20 - [1658144019.123430][3149:3154] CHIP:TOO: Priority: Info - [1658144019.123451][3149:3154] CHIP:TOO: Timestamp: 2963226 - [1658144019.123575][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.123616][3149:3154] CHIP:TOO: LockDataType: 3 - [1658144019.123661][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.123687][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.123714][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.123739][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.123765][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.123800][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.123824][3149:3154] CHIP:TOO: } - [1658144019.123956][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.123990][3149:3154] CHIP:TOO: Event number: 21 - [1658144019.124015][3149:3154] CHIP:TOO: Priority: Info - [1658144019.124038][3149:3154] CHIP:TOO: Timestamp: 3177054 - [1658144019.124075][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.124111][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.124135][3149:3154] CHIP:TOO: DataOperationType: 1 - [1658144019.124168][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.124192][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.124225][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.124250][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.124274][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.124308][3149:3154] CHIP:TOO: } - [1658144019.124432][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.124458][3149:3154] CHIP:TOO: Event number: 22 - [1658144019.124491][3149:3154] CHIP:TOO: Priority: Info - [1658144019.124514][3149:3154] CHIP:TOO: Timestamp: 3245726 - [1658144019.124549][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.124576][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.124611][3149:3154] CHIP:TOO: DataOperationType: 1 - [1658144019.124636][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.124672][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.124696][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.124720][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.124754][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.124777][3149:3154] CHIP:TOO: } - [1658144019.124902][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.124935][3149:3154] CHIP:TOO: Event number: 23 - [1658144019.124959][3149:3154] CHIP:TOO: Priority: Info - [1658144019.124981][3149:3154] CHIP:TOO: Timestamp: 3258719 - [1658144019.125017][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.125043][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.125068][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.125092][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.125126][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.125150][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.125183][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.125208][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.125231][3149:3154] CHIP:TOO: } - [1658144019.125367][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.125392][3149:3154] CHIP:TOO: Event number: 24 - [1658144019.125415][3149:3154] CHIP:TOO: Priority: Info - [1658144019.125438][3149:3154] CHIP:TOO: Timestamp: 3266228 - [1658144019.125473][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.125509][3149:3154] CHIP:TOO: LockDataType: 6 - [1658144019.125535][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.125559][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.125592][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.125616][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.125651][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.125675][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.125708][3149:3154] CHIP:TOO: } - [1658144019.125835][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.125860][3149:3154] CHIP:TOO: Event number: 25 - [1658144019.125883][3149:3154] CHIP:TOO: Priority: Info - [1658144019.125906][3149:3154] CHIP:TOO: Timestamp: 3491768 - [1658144019.125942][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.125980][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.126006][3149:3154] CHIP:TOO: DataOperationType: 1 - [1658144019.126039][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.126063][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.126087][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.126121][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.126145][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.126177][3149:3154] CHIP:TOO: } - [1658144019.126299][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.126325][3149:3154] CHIP:TOO: Event number: 26 - [1658144019.126347][3149:3154] CHIP:TOO: Priority: Info - [1658144019.126370][3149:3154] CHIP:TOO: Timestamp: 3556371 - [1658144019.126403][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.126435][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.126459][3149:3154] CHIP:TOO: DataOperationType: 1 - [1658144019.126481][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.126503][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.126525][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.126558][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.126580][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.126611][3149:3154] CHIP:TOO: } - [1658144019.126717][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.126748][3149:3154] CHIP:TOO: Event number: 27 - [1658144019.126770][3149:3154] CHIP:TOO: Priority: Info - [1658144019.126791][3149:3154] CHIP:TOO: Timestamp: 4024816 - [1658144019.126823][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.126859][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.126882][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.126905][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.126936][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.126958][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.126989][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.127012][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.127042][3149:3154] CHIP:TOO: } - [1658144019.127158][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.127182][3149:3154] CHIP:TOO: Event number: 28 - [1658144019.127203][3149:3154] CHIP:TOO: Priority: Info - [1658144019.127224][3149:3154] CHIP:TOO: Timestamp: 4112793 - [1658144019.127257][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.127292][3149:3154] CHIP:TOO: LockDataType: 6 - [1658144019.127316][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.127346][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.127369][3149:3154] CHIP:TOO: UserIndex: 1 - [1658144019.127392][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.127423][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.127445][3149:3154] CHIP:TOO: DataIndex: 1 - [1658144019.127475][3149:3154] CHIP:TOO: } - [1658144019.127592][3149:3154] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 - [1658144019.127615][3149:3154] CHIP:TOO: Event number: 35 - [1658144019.127649][3149:3154] CHIP:TOO: Priority: Info - [1658144019.127672][3149:3154] CHIP:TOO: Timestamp: 4758521 - [1658144019.127706][3149:3154] CHIP:TOO: LockUserChange: { - [1658144019.127739][3149:3154] CHIP:TOO: LockDataType: 2 - [1658144019.127763][3149:3154] CHIP:TOO: DataOperationType: 0 - [1658144019.127785][3149:3154] CHIP:TOO: OperationSource: 7 - [1658144019.127819][3149:3154] CHIP:TOO: UserIndex: 3 - [1658144019.127842][3149:3154] CHIP:TOO: FabricIndex: 1 - [1658144019.127872][3149:3154] CHIP:TOO: SourceNode: 112233 - [1658144019.127895][3149:3154] CHIP:TOO: DataIndex: 3 - [1658144019.127924][3149:3154] CHIP:TOO: } - disabled: true +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default + +name: + 114.3.3. [TC-DRLK-3.3] Verification for the Door Lock Events [DUT - Client] + +config: + nodeId: 0x12344321 + cluster: "Basic" + endpoint: 0 + +tests: + - label: "TH will initiate DoorLockAlarm Event (LockJammed scenario)" + PICS: DRLK.C.E00 + verification: | + ./chip-tool doorlock read-event door-lock-alarm 1 1 + + Verify DUT receives the DoorLockAlarm event on TH / lock app log: + + [1658143092.410930][3017:3023] CHIP:DMG: ReportDataMessage = + [1658143092.410964][3017:3023] CHIP:DMG: { + [1658143092.410994][3017:3023] CHIP:DMG: SuppressResponse = true, + [1658143092.411026][3017:3023] CHIP:DMG: InteractionModelRevision = 1 + [1658143092.411056][3017:3023] CHIP:DMG: } + + DUT/ChipTool log: + + [1658399559.467861][2474:2474] CHIP:IM: Received Read request + [1658399559.467960][2474:2474] CHIP:DMG: ReadRequestMessage = + [1658399559.467994][2474:2474] CHIP:DMG: { + [1658399559.468022][2474:2474] CHIP:DMG: EventPathIBs = + [1658399559.468054][2474:2474] CHIP:DMG: [ + [1658399559.468084][2474:2474] CHIP:DMG: EventPath = + [1658399559.468118][2474:2474] CHIP:DMG: { + [1658399559.468154][2474:2474] CHIP:DMG: Endpoint = 0x1, + [1658399559.468200][2474:2474] CHIP:DMG: Cluster = 0x101, + [1658399559.468238][2474:2474] CHIP:DMG: Event = 0x0, + [1658399559.468274][2474:2474] CHIP:DMG: }, + [1658399559.468308][2474:2474] CHIP:DMG: + [1658399559.468337][2474:2474] CHIP:DMG: ], + [1658399559.468371][2474:2474] CHIP:DMG: + [1658399559.468403][2474:2474] CHIP:DMG: isFabricFiltered = true, + [1658399559.468434][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399559.468463][2474:2474] CHIP:DMG: }, + [1658399559.468543][2474:2474] CHIP:DMG: IM RH moving to [GeneratingReports] + disabled: true + + - label: "DUT sends the Unlock Door command to the TH with valid PINCode" + PICS: DRLK.C.C01.Tx + verification: | + ./chip-tool doorlock set-user 0 1 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: + + [1658143230.937379][3029:3034] CHIP:DMG: StatusIB = + [1658143230.937412][3029:3034] CHIP:DMG: { + [1658143230.937446][3029:3034] CHIP:DMG: status = 0x00 (SUCCESS), + [1658143230.937478][3029:3034] CHIP:DMG: }, + + DUT/ChipTool log: + + [1658399917.774631][2474:2474] CHIP:DMG: CommandFields = + [1658399917.774662][2474:2474] CHIP:DMG: { + [1658399917.774694][2474:2474] CHIP:DMG: 0x0 = 0, + [1658399917.774727][2474:2474] CHIP:DMG: 0x1 = 1, + [1658399917.774763][2474:2474] CHIP:DMG: 0x2 = "xxx", + [1658399917.774799][2474:2474] CHIP:DMG: 0x3 = 6452, + [1658399917.774835][2474:2474] CHIP:DMG: 0x4 = 1, + [1658399917.774872][2474:2474] CHIP:DMG: 0x5 = 0, + [1658399917.774907][2474:2474] CHIP:DMG: 0x6 = 0, + [1658399917.774940][2474:2474] CHIP:DMG: }, + [1658399917.774968][2474:2474] CHIP:DMG: }, + [1658399917.775002][2474:2474] CHIP:DMG: + [1658399917.775025][2474:2474] CHIP:DMG: ], + [1658399917.775058][2474:2474] CHIP:DMG: + [1658399917.775082][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658399917.775107][2474:2474] CHIP:DMG: }, + [1658399917.775179][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658399917.775241][2474:2474] CHIP:DMG: AccessControl: allowed + [1658399917.775273][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A + [1658399917.775327][2474:2474] CHIP:ZCL: [SetUser] Incoming command [endpointId=1,userIndex=1] + + ./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: + + [1658143318.915533][3039:3044] CHIP:DMG: }, + [1658143318.915609][3039:3044] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 + [1658143318.915705][3039:3044] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 + [1658143318.915778][3039:3044] CHIP:TOO: SetCredentialResponse: { + [1658143318.915821][3039:3044] CHIP:TOO: status: 0 + [1658143318.915851][3039:3044] CHIP:TOO: userIndex: null + [1658143318.915880][3039:3044] CHIP:TOO: nextCredentialIndex: 2 + [1658143318.915909][3039:3044] CHIP:TOO: } + + DUT/ChipTool log: + + [1658400025.688730][2474:2474] CHIP:DMG: CommandFields = + [1658400025.688777][2474:2474] CHIP:DMG: { + [1658400025.688822][2474:2474] CHIP:DMG: 0x0 = 0, + [1658400025.688873][2474:2474] CHIP:DMG: 0x1 = + [1658400025.688922][2474:2474] CHIP:DMG: { + [1658400025.688964][2474:2474] CHIP:DMG: 0x0 = 1, + [1658400025.689016][2474:2474] CHIP:DMG: 0x1 = 1, + [1658400025.689058][2474:2474] CHIP:DMG: }, + [1658400025.689110][2474:2474] CHIP:DMG: 0x2 = [ + [1658400025.689161][2474:2474] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, + [1658400025.689209][2474:2474] CHIP:DMG: ] + [1658400025.689261][2474:2474] CHIP:DMG: 0x3 = 1, + [1658400025.689312][2474:2474] CHIP:DMG: 0x4 = 0, + [1658400025.689353][2474:2474] CHIP:DMG: 0x5 = 0, + [1658400025.689403][2474:2474] CHIP:DMG: }, + [1658400025.689436][2474:2474] CHIP:DMG: }, + [1658400025.689477][2474:2474] CHIP:DMG: + [1658400025.689529][2474:2474] CHIP:DMG: ], + [1658400025.689575][2474:2474] CHIP:DMG: + [1658400025.689619][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658400025.689648][2474:2474] CHIP:DMG: }, + [1658400025.689747][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658400025.689802][2474:2474] CHIP:DMG: AccessControl: allowed + [1658400025.689836][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0022 + [1658400025.689909][2474:2474] CHIP:ZCL: [SetCredential] Incoming command [endpointId=1] + + + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + + Verify Test Harness receives the Unlock Door command from the DUT on TH / lock app log: + + [1658143429.670361][3057:3062] CHIP:DMG: }, + [1658143429.670411][3057:3062] CHIP:DMG: + [1658143429.670451][3057:3062] CHIP:DMG: StatusIB = + [1658143429.670498][3057:3062] CHIP:DMG: { + [1658143429.670548][3057:3062] CHIP:DMG: status = 0x00 (SUCCESS), + [1658143429.670593][3057:3062] CHIP:DMG: }, + [1658143429.670637][3057:3062] CHIP:DMG: + [1658143429.670681][3057:3062] CHIP:DMG: }, + [1658143429.670725][3057:3062] CHIP:DMG: + [1658143429.670759][3057:3062] CHIP:DMG: }, + [1658143429.670799][3057:3062] CHIP:DMG: + [1658143429.670829][3057:3062] CHIP:DMG: ], + [1658143429.670867][3057:3062] CHIP:DMG: + [1658143429.670896][3057:3062] CHIP:DMG: InteractionModelRevision = 1 + [1658143429.670926][3057:3062] CHIP:DMG: }, + + DUT/ChipTool log: + + [1658400115.693300][2474:2474] CHIP:DMG: CommandDataIB = + [1658400115.693328][2474:2474] CHIP:DMG: { + [1658400115.693353][2474:2474] CHIP:DMG: CommandPathIB = + [1658400115.693387][2474:2474] CHIP:DMG: { + [1658400115.693421][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658400115.693456][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658400115.693489][2474:2474] CHIP:DMG: CommandId = 0x1, + [1658400115.693519][2474:2474] CHIP:DMG: }, + [1658400115.693552][2474:2474] CHIP:DMG: + [1658400115.693579][2474:2474] CHIP:DMG: CommandFields = + [1658400115.693609][2474:2474] CHIP:DMG: { + [1658400115.693641][2474:2474] CHIP:DMG: 0x0 = [ + [1658400115.693675][2474:2474] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, + [1658400115.693709][2474:2474] CHIP:DMG: ] + [1658400115.693742][2474:2474] CHIP:DMG: }, + [1658400115.693771][2474:2474] CHIP:DMG: }, + [1658400115.693801][2474:2474] CHIP:DMG: + [1658400115.693825][2474:2474] CHIP:DMG: ], + [1658400115.693855][2474:2474] CHIP:DMG: + [1658400115.693879][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658400115.693902][2474:2474] CHIP:DMG: }, + [1658400115.693971][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o + [1658400115.694008][2474:2474] CHIP:DMG: AccessControl: allowed + [1658400115.694035][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 + [1658400115.694070][2474:2474] CHIP:ZCL: Received command: UnlockDoor + [1658400115.694114][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] + [1658400115.694139][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=1,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658400115.694212][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] + [1658400115.694240][2474:2474] CHIP:ZCL: Found occupied credential [endpoint=1,index=1,type=1,dataSize=6,createdBy=1,modifiedBy=1] + [1658400115.694266][2474:2474] CHIP:ZCL: Lock App: specified PIN code was found in the database, setting door lock state to "Unlocked" [endpointId=1] + disabled: true + + - label: "TH initiates DoorStateChange event with Doorstate set to DoorOpen" + PICS: DRLK.C.F05 && DRLK.C.E01 + verification: | + ./chip-tool doorlock read-event door-state-change 1 1 + + Verify DUT receives the DoorStateChange event on TH / lock app log: + + [1658143492.705309][3065:3070] CHIP:DMG: ReportDataMessage = + [1658143492.705348][3065:3070] CHIP:DMG: { + [1658143492.705374][3065:3070] CHIP:DMG: SuppressResponse = true, + [1658143492.705402][3065:3070] CHIP:DMG: InteractionModelRevision = 1 + [1658143492.705427][3065:3070] CHIP:DMG: } + + DUT/ChipTool log: + + [1658400265.159396][2474:2474] CHIP:IM: Received Read request + [1658400265.159485][2474:2474] CHIP:DMG: ReadRequestMessage = + [1658400265.159518][2474:2474] CHIP:DMG: { + [1658400265.159544][2474:2474] CHIP:DMG: EventPathIBs = + [1658400265.159574][2474:2474] CHIP:DMG: [ + [1658400265.159602][2474:2474] CHIP:DMG: EventPath = + [1658400265.159633][2474:2474] CHIP:DMG: { + [1658400265.159665][2474:2474] CHIP:DMG: Endpoint = 0x1, + [1658400265.159703][2474:2474] CHIP:DMG: Cluster = 0x101, + [1658400265.159738][2474:2474] CHIP:DMG: Event = 0x1, + [1658400265.159770][2474:2474] CHIP:DMG: }, + [1658400265.159803][2474:2474] CHIP:DMG: + [1658400265.159830][2474:2474] CHIP:DMG: ], + [1658400265.159862][2474:2474] CHIP:DMG: + [1658400265.159891][2474:2474] CHIP:DMG: isFabricFiltered = true, + [1658400265.159920][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658400265.159947][2474:2474] CHIP:DMG: }, + [1658400265.160024][2474:2474] CHIP:DMG: IM RH moving to [GeneratingReports] + disabled: true + + - label: "DUT sends the Lock Door command to the TH with valid PINCode" + PICS: DRLK.C.C00.Tx + verification: | + ./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + + Verify Test Harness receives the lock Door command from the DUT on TH / lock app log: + + [1658143612.854142][3083:3088] CHIP:DMG: + [1658143612.854178][3083:3088] CHIP:DMG: StatusIB = + [1658143612.854229][3083:3088] CHIP:DMG: { + [1658143612.854268][3083:3088] CHIP:DMG: status = 0x00 (SUCCESS), + [1658143612.854317][3083:3088] CHIP:DMG: }, + [1658143612.854365][3083:3088] CHIP:DMG: + [1658143612.854400][3083:3088] CHIP:DMG: }, + [1658143612.854448][3083:3088] CHIP:DMG: + [1658143612.854481][3083:3088] CHIP:DMG: }, + [1658143612.854528][3083:3088] CHIP:DMG: + [1658143612.854559][3083:3088] CHIP:DMG: ], + [1658143612.854604][3083:3088] CHIP:DMG: + [1658143612.854634][3083:3088] CHIP:DMG: InteractionModelRevision = 1 + [1658143612.854673][3083:3088] CHIP:DMG: }, + [1658143612.854756][3083:3088] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 Status=0x0 + + DUT/ChipTool log: + + [1658400315.379482][2474:2474] CHIP:DMG: CommandPathIB = + [1658400315.379524][2474:2474] CHIP:DMG: { + [1658400315.379559][2474:2474] CHIP:DMG: EndpointId = 0x1, + [1658400315.379608][2474:2474] CHIP:DMG: ClusterId = 0x101, + [1658400315.379650][2474:2474] CHIP:DMG: CommandId = 0x0, + [1658400315.379694][2474:2474] CHIP:DMG: }, + [1658400315.379734][2474:2474] CHIP:DMG: + [1658400315.379769][2474:2474] CHIP:DMG: CommandFields = + [1658400315.379807][2474:2474] CHIP:DMG: { + [1658400315.379845][2474:2474] CHIP:DMG: 0x0 = [ + [1658400315.379886][2474:2474] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, + [1658400315.379931][2474:2474] CHIP:DMG: ] + [1658400315.379976][2474:2474] CHIP:DMG: }, + [1658400315.380010][2474:2474] CHIP:DMG: }, + [1658400315.380049][2474:2474] CHIP:DMG: + [1658400315.380079][2474:2474] CHIP:DMG: ], + [1658400315.380116][2474:2474] CHIP:DMG: + [1658400315.380145][2474:2474] CHIP:DMG: InteractionModelRevision = 1 + [1658400315.380174][2474:2474] CHIP:DMG: }, + [1658400315.380251][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o + [1658400315.380293][2474:2474] CHIP:DMG: AccessControl: allowed + [1658400315.380327][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000 + [1658400315.380369][2474:2474] CHIP:ZCL: Received command: LockDoor + [1658400315.380419][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1] + [1658400315.380449][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=1,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1] + [1658400315.380479][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1] + [1658400315.380506][2474:2474] CHIP:ZCL: Found occupied credential [endpoint=1,index=1,type=1,dataSize=6,createdBy=1,modifiedBy=1] + [1658400315.380537][2474:2474] CHIP:ZCL: Lock App: specified PIN code was found in the database, setting door lock state to "Locked" [endpointId=1] + disabled: true + + - label: + "TH will initiate LockOperation event with LockOperationType to Lock" + PICS: DRLK.C.E02 + verification: | + ./chip-tool doorlock read-event lock-operation 1 1 + + Verify DUT receives the LockOperation event on TH / lock app log: + + [1658220863.460617][4105:4110] CHIP:DMG: } + [1658220863.460814][4105:4110] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0002 + [1658220863.460844][4105:4110] CHIP:TOO: Event number: 5 + [1658220863.460869][4105:4110] CHIP:TOO: Priority: Critical + [1658220863.460894][4105:4110] CHIP:TOO: Timestamp: 12367237 + [1658220863.461015][4105:4110] CHIP:TOO: LockOperation: { + [1658220863.461057][4105:4110] CHIP:TOO: LockOperationType: 0 + [1658220863.461085][4105:4110] CHIP:TOO: OperationSource: 7 + [1658220863.461112][4105:4110] CHIP:TOO: UserIndex: 1 + [1658220863.461139][4105:4110] CHIP:TOO: FabricIndex: 1 + [1658220863.461169][4105:4110] CHIP:TOO: SourceNode: 112233 + [1658220863.461202][4105:4110] CHIP:TOO: Credentials: 1 entries + [1658220863.461242][4105:4110] CHIP:TOO: [1]: { + [1658220863.461269][4105:4110] CHIP:TOO: CredentialType: 1 + [1658220863.461296][4105:4110] CHIP:TOO: CredentialIndex: 1 + [1658220863.461321][4105:4110] CHIP:TOO: } + [1658220863.461348][4105:4110] CHIP:TOO: } + + DUT/ChipTool log: + + [1658400639.617399][3227:3227] CHIP:IM: Received Read request + [1658400639.617491][3227:3227] CHIP:DMG: ReadRequestMessage = + [1658400639.617535][3227:3227] CHIP:DMG: { + [1658400639.617561][3227:3227] CHIP:DMG: EventPathIBs = + [1658400639.617592][3227:3227] CHIP:DMG: [ + [1658400639.617632][3227:3227] CHIP:DMG: EventPath = + [1658400639.617669][3227:3227] CHIP:DMG: { + [1658400639.617716][3227:3227] CHIP:DMG: Endpoint = 0x1, + [1658400639.617765][3227:3227] CHIP:DMG: Cluster = 0x101, + [1658400639.617801][3227:3227] CHIP:DMG: Event = 0x2, + [1658400639.617843][3227:3227] CHIP:DMG: }, + [1658400639.617878][3227:3227] CHIP:DMG: + [1658400639.617916][3227:3227] CHIP:DMG: ], + [1658400639.617949][3227:3227] CHIP:DMG: + [1658400639.617988][3227:3227] CHIP:DMG: isFabricFiltered = true, + [1658400639.618016][3227:3227] CHIP:DMG: InteractionModelRevision = 1 + [1658400639.618055][3227:3227] CHIP:DMG: }, + [1658400639.618145][3227:3227] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658400639.618271][3227:3227] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658400639.618520][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v + [1658400639.618573][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400639.618651][3227:3227] CHIP:DMG: Fetched 1 events + disabled: true + + - label: "DUT sends the Unlock Door command to the TH with Invalid PINCode" + PICS: DRLK.C.C01.Tx + verification: | + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 12345678 + + Verify Test Harness receives the Unlock Door command from the DUT on TH / lock app log: + + [1658143767.123426][3101:3106] CHIP:DMG: }, + [1658143767.123464][3101:3106] CHIP:DMG: + [1658143767.123493][3101:3106] CHIP:DMG: StatusIB = + [1658143767.123527][3101:3106] CHIP:DMG: { + [1658143767.123559][3101:3106] CHIP:DMG: status = 0x01 (FAILURE), + [1658143767.123592][3101:3106] CHIP:DMG: }, + [1658143767.123626][3101:3106] CHIP:DMG: + [1658143767.123684][3101:3106] CHIP:DMG: }, + [1658143767.123720][3101:3106] CHIP:DMG: + [1658143767.123748][3101:3106] CHIP:DMG: }, + [1658143767.123780][3101:3106] CHIP:DMG: + [1658143767.123804][3101:3106] CHIP:DMG: ], + [1658143767.123834][3101:3106] CHIP:DMG: + [1658143767.123859][3101:3106] CHIP:DMG: InteractionModelRevision = 1 + [1658143767.123883][3101:3106] CHIP:DMG: }, + [1658143767.123943][3101:3106] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x1 + [1658143767.123978][3101:3106] CHIP:TOO: Error: IM Error 0x00000501: General error: 0x01 (FAILURE) + + + DUT/ChipTool log: + + [1658400708.187116][3227:3227] CHIP:DMG: CommandPathIB = + [1658400708.187205][3227:3227] CHIP:DMG: { + [1658400708.187337][3227:3227] CHIP:DMG: EndpointId = 0x1, + [1658400708.187439][3227:3227] CHIP:DMG: ClusterId = 0x101, + [1658400708.187540][3227:3227] CHIP:DMG: CommandId = 0x1, + [1658400708.187637][3227:3227] CHIP:DMG: }, + [1658400708.187729][3227:3227] CHIP:DMG: + [1658400708.187806][3227:3227] CHIP:DMG: CommandFields = + [1658400708.187894][3227:3227] CHIP:DMG: { + [1658400708.187983][3227:3227] CHIP:DMG: 0x0 = [ + [1658400708.188083][3227:3227] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, + [1658400708.188205][3227:3227] CHIP:DMG: ] + [1658400708.188311][3227:3227] CHIP:DMG: }, + [1658400708.188400][3227:3227] CHIP:DMG: }, + [1658400708.188481][3227:3227] CHIP:DMG: + [1658400708.188544][3227:3227] CHIP:DMG: ], + [1658400708.188615][3227:3227] CHIP:DMG: + [1658400708.188672][3227:3227] CHIP:DMG: InteractionModelRevision = 1 + [1658400708.188743][3227:3227] CHIP:DMG: }, + [1658400708.188836][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o + [1658400708.188891][3227:3227] CHIP:DMG: AccessControl: allowed + disabled: true + + - label: + "TH will initiate LockOperationError event by causing Lock error using + invalid PIN" + PICS: DRLK.C.E03 + verification: | + ./chip-tool doorlock read-event lock-operation-error 1 1 + + Verify DUT receives the LockOperationError event on TH / lock app log: + + [1658221172.148732][4132:4137] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0003 + [1658221172.148764][4132:4137] CHIP:TOO: Event number: 6 + [1658221172.148790][4132:4137] CHIP:TOO: Priority: Critical + [1658221172.148815][4132:4137] CHIP:TOO: Timestamp: 12682848 + [1658221172.148936][4132:4137] CHIP:TOO: LockOperationError: { + [1658221172.149056][4132:4137] CHIP:TOO: LockOperationType: 1 + [1658221172.149085][4132:4137] CHIP:TOO: OperationSource: 7 + [1658221172.149112][4132:4137] CHIP:TOO: OperationError: 1 + [1658221172.149139][4132:4137] CHIP:TOO: UserIndex: 0 + [1658221172.149166][4132:4137] CHIP:TOO: FabricIndex: 1 + [1658221172.149197][4132:4137] CHIP:TOO: SourceNode: 112233 + [1658221172.149233][4132:4137] CHIP:TOO: Credentials: 1 entries + [1658221172.149272][4132:4137] CHIP:TOO: [1]: { + [1658221172.149300][4132:4137] CHIP:TOO: CredentialType: 1 + [1658221172.149327][4132:4137] CHIP:TOO: CredentialIndex: 0 + [1658221172.149353][4132:4137] CHIP:TOO: } + [1658221172.149380][4132:4137] CHIP:TOO: } + + DUT/ChipTool log: + + [1658400788.866836][3227:3227] CHIP:IM: Received Read request + [1658400788.866927][3227:3227] CHIP:DMG: ReadRequestMessage = + [1658400788.866961][3227:3227] CHIP:DMG: { + [1658400788.867001][3227:3227] CHIP:DMG: EventPathIBs = + [1658400788.867033][3227:3227] CHIP:DMG: [ + [1658400788.867059][3227:3227] CHIP:DMG: EventPath = + [1658400788.867099][3227:3227] CHIP:DMG: { + [1658400788.867130][3227:3227] CHIP:DMG: Endpoint = 0x1, + [1658400788.867171][3227:3227] CHIP:DMG: Cluster = 0x101, + [1658400788.867205][3227:3227] CHIP:DMG: Event = 0x3, + [1658400788.867271][3227:3227] CHIP:DMG: }, + [1658400788.867304][3227:3227] CHIP:DMG: + [1658400788.867330][3227:3227] CHIP:DMG: ], + [1658400788.867359][3227:3227] CHIP:DMG: + [1658400788.867385][3227:3227] CHIP:DMG: isFabricFiltered = true, + [1658400788.867414][3227:3227] CHIP:DMG: InteractionModelRevision = 1 + [1658400788.867439][3227:3227] CHIP:DMG: }, + [1658400788.867515][3227:3227] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658400788.867623][3227:3227] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658400788.867883][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v + [1658400788.867931][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400788.868004][3227:3227] CHIP:DMG: Fetched 1 events + disabled: true + + - label: "DUT sends Set User command to TH" + PICS: DRLK.C.F08 && DRLK.C.C1a.Tx + verification: | + ./chip-tool doorlock set-user 0 3 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: + + [1658143964.643101][3139:3144] CHIP:DMG: + [1658143964.643137][3139:3144] CHIP:DMG: StatusIB = + [1658143964.643179][3139:3144] CHIP:DMG: { + [1658143964.643220][3139:3144] CHIP:DMG: status = 0x00 (SUCCESS), + [1658143964.643263][3139:3144] CHIP:DMG: }, + [1658143964.643303][3139:3144] CHIP:DMG: + [1658143964.643343][3139:3144] CHIP:DMG: }, + [1658143964.643388][3139:3144] CHIP:DMG: + [1658143964.643421][3139:3144] CHIP:DMG: }, + [1658143964.643457][3139:3144] CHIP:DMG: + [1658143964.643486][3139:3144] CHIP:DMG: ], + [1658143964.643522][3139:3144] CHIP:DMG: + [1658143964.643551][3139:3144] CHIP:DMG: InteractionModelRevision = 1 + [1658143964.643580][3139:3144] CHIP:DMG: }, + [1658143964.643721][3139:3144] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A Status=0x0 + + DUT/ChipTool log: + + [1658400855.689218][3227:3227] CHIP:DMG: CommandPathIB = + [1658400855.689259][3227:3227] CHIP:DMG: { + [1658400855.689302][3227:3227] CHIP:DMG: EndpointId = 0x1, + [1658400855.689347][3227:3227] CHIP:DMG: ClusterId = 0x101, + [1658400855.689390][3227:3227] CHIP:DMG: CommandId = 0x1a, + [1658400855.689435][3227:3227] CHIP:DMG: }, + [1658400855.689479][3227:3227] CHIP:DMG: + [1658400855.689514][3227:3227] CHIP:DMG: CommandFields = + [1658400855.689554][3227:3227] CHIP:DMG: { + [1658400855.689597][3227:3227] CHIP:DMG: 0x0 = 0, + [1658400855.689640][3227:3227] CHIP:DMG: 0x1 = 3, + [1658400855.689686][3227:3227] CHIP:DMG: 0x2 = "xxx", + [1658400855.689734][3227:3227] CHIP:DMG: 0x3 = 6452, + [1658400855.689781][3227:3227] CHIP:DMG: 0x4 = 1, + [1658400855.689829][3227:3227] CHIP:DMG: 0x5 = 0, + [1658400855.689872][3227:3227] CHIP:DMG: 0x6 = 0, + [1658400855.689915][3227:3227] CHIP:DMG: }, + [1658400855.689954][3227:3227] CHIP:DMG: }, + [1658400855.689996][3227:3227] CHIP:DMG: + [1658400855.690027][3227:3227] CHIP:DMG: ], + [1658400855.690071][3227:3227] CHIP:DMG: + [1658400855.690102][3227:3227] CHIP:DMG: InteractionModelRevision = 1 + [1658400855.690133][3227:3227] CHIP:DMG: }, + [1658400855.690221][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a + [1658400855.690267][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400855.690302][3227:3227] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A + [1658400855.690367][3227:3227] CHIP:ZCL: [SetUser] Incoming command [endpointId=1,userIndex=3] + [1658400855.690424][3227:3227] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=3] + [1658400855.690455][3227:3227] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=2] + [1658400855.690485][3227:3227] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=3,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0] + [1658400855.690519][3227:3227] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=3,adjustedIndex=2] + [1658400855.690547][3227:3227] CHIP:ZCL: [createUser] User created [endpointId=1,creatorFabricId=1,userIndex=3,userName="xxx",userUniqueId=0x1934,userStatus=1,userType=0,credentialRule=0,totalCredentials=0] + disabled: true + + - label: + "TH initiates LockUserChange event by adding the UserIndex using Set + User command" + PICS: DRLK.C.E04 + verification: | + ./chip-tool doorlock read-event lock-user-change 1 1 + + verify DUT receives LockUserChange from TH on TH / lock app log: + + [1658400921.180741][3300:3305] CHIP:DMG: } + [1658400921.181012][3300:3305] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1658400921.181047][3300:3305] CHIP:TOO: Event number: 3 + [1658400921.181075][3300:3305] CHIP:TOO: Priority: Info + [1658400921.181104][3300:3305] CHIP:TOO: Timestamp: 4919184 + [1658400921.181240][3300:3305] CHIP:TOO: LockUserChange: { + [1658400921.181288][3300:3305] CHIP:TOO: LockDataType: 2 + [1658400921.181322][3300:3305] CHIP:TOO: DataOperationType: 0 + [1658400921.181354][3300:3305] CHIP:TOO: OperationSource: 7 + [1658400921.181386][3300:3305] CHIP:TOO: UserIndex: 1 + [1658400921.181418][3300:3305] CHIP:TOO: FabricIndex: 1 + [1658400921.181452][3300:3305] CHIP:TOO: SourceNode: 112233 + [1658400921.181483][3300:3305] CHIP:TOO: DataIndex: 1 + [1658400921.181513][3300:3305] CHIP:TOO: } + [1658400921.181654][3300:3305] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1658400921.181686][3300:3305] CHIP:TOO: Event number: 4 + [1658400921.181716][3300:3305] CHIP:TOO: Priority: Info + [1658400921.181745][3300:3305] CHIP:TOO: Timestamp: 4928528 + [1658400921.181791][3300:3305] CHIP:TOO: LockUserChange: { + [1658400921.181825][3300:3305] CHIP:TOO: LockDataType: 6 + [1658400921.181856][3300:3305] CHIP:TOO: DataOperationType: 0 + [1658400921.181886][3300:3305] CHIP:TOO: OperationSource: 7 + [1658400921.181916][3300:3305] CHIP:TOO: UserIndex: 1 + [1658400921.181945][3300:3305] CHIP:TOO: FabricIndex: 1 + [1658400921.181975][3300:3305] CHIP:TOO: SourceNode: 112233 + [1658400921.182006][3300:3305] CHIP:TOO: DataIndex: 1 + [1658400921.182035][3300:3305] CHIP:TOO: } + [1658400921.182174][3300:3305] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Event 0x0000_0004 + [1658400921.182206][3300:3305] CHIP:TOO: Event number: 7 + [1658400921.182235][3300:3305] CHIP:TOO: Priority: Info + [1658400921.182263][3300:3305] CHIP:TOO: Timestamp: 5193731 + [1658400921.182400][3300:3305] CHIP:TOO: LockUserChange: { + [1658400921.182435][3300:3305] CHIP:TOO: LockDataType: 2 + [1658400921.182467][3300:3305] CHIP:TOO: DataOperationType: 0 + [1658400921.182497][3300:3305] CHIP:TOO: OperationSource: 7 + [1658400921.182527][3300:3305] CHIP:TOO: UserIndex: 3 + [1658400921.182557][3300:3305] CHIP:TOO: FabricIndex: 1 + [1658400921.182587][3300:3305] CHIP:TOO: SourceNode: 112233 + [1658400921.182617][3300:3305] CHIP:TOO: DataIndex: 3 + [1658400921.182645][3300:3305] CHIP:TOO: } + + DUT/ChipTool log: + + [1658400921.173789][3227:3227] CHIP:IM: Received Read request + [1658400921.173921][3227:3227] CHIP:DMG: ReadRequestMessage = + [1658400921.173978][3227:3227] CHIP:DMG: { + [1658400921.174015][3227:3227] CHIP:DMG: EventPathIBs = + [1658400921.174078][3227:3227] CHIP:DMG: [ + [1658400921.174110][3227:3227] CHIP:DMG: EventPath = + [1658400921.174164][3227:3227] CHIP:DMG: { + [1658400921.174214][3227:3227] CHIP:DMG: Endpoint = 0x1, + [1658400921.174257][3227:3227] CHIP:DMG: Cluster = 0x101, + [1658400921.174308][3227:3227] CHIP:DMG: Event = 0x4, + [1658400921.174351][3227:3227] CHIP:DMG: }, + [1658400921.174402][3227:3227] CHIP:DMG: + [1658400921.174436][3227:3227] CHIP:DMG: ], + [1658400921.174486][3227:3227] CHIP:DMG: + [1658400921.174519][3227:3227] CHIP:DMG: isFabricFiltered = true, + [1658400921.174565][3227:3227] CHIP:DMG: InteractionModelRevision = 1 + [1658400921.174596][3227:3227] CHIP:DMG: }, + [1658400921.174712][3227:3227] CHIP:DMG: IM RH moving to [GeneratingReports] + [1658400921.174844][3227:3227] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 + [1658400921.175067][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v + [1658400921.175116][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400921.175254][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v + [1658400921.175305][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400921.175494][3227:3227] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=v + [1658400921.175531][3227:3227] CHIP:DMG: AccessControl: allowed + [1658400921.175603][3227:3227] CHIP:DMG: Fetched 3 events + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_G_2_3.yaml b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml index 493d400835c2e2..7485514d80498c 100644 --- a/src/app/tests/suites/certification/Test_TC_G_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_2_3.yaml @@ -14,7 +14,7 @@ # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default name: - 121.2.3. [TC-G-2.3] Commands - GetGroupMembership, AddGroupIfIdentifying + 123.2.3. [TC-G-2.3] Commands - GetGroupMembership, AddGroupIfIdentifying [DUT-Server] config: @@ -23,6 +23,145 @@ config: endpoint: 0 tests: + - label: "TH is commissioned with DUT" + verification: | + + disabled: true + + - label: + "TH reads the MaxGroupsPerFabric from Group key Management Cluster and + saves it as maxgroups" + verification: | + + disabled: true + + - label: + "If maxgroups>0, proceed with the following steps TH generates + fabric-unique GroupID, GroupName, random key, EpochKey0 and + GroupKeySetID. TH generates an EpochKey and saves as + epoch_key_set1_epoch0 TH sends a KeySetWriteCommand to the Group Key + Management cluster with the following fields set in the GroupKeySet + struct: GroupKeySetId is 1 EpochKey0 is epoch_key_set0_epoch0 + GroupKeySecurityPolicy = TrustFirst (1) GroupKeyMulticastPolicy = + PerGroupID (0) EpochStartTime0 = 0 TH binds GroupId(0x0002 to + (maxgroups+1)) with GroupKeySetID in the GroupKeyMap attribute list on + GroupKeyManagement cluster with the values provided in the above steps" + verification: | + ./chip-tool groupkeymanagement key-set-write '{"groupKeySetID": 1, + "groupKeySecurityPolicy": 0, "epochKey0": + "d0d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime0": 2220000,"epochKey1": + "d1d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime1": 2220001,"epochKey2": + "d2d1d2d3d4d5d6d7d8d9dadbdcdddedf", "epochStartTime2": 2220002 }' 1 0 + + Verify the status is success on the TH Log: + + [1658316948.574526][4039:4044] CHIP:DMG: StatusIB = + [1658316948.574561][4039:4044] CHIP:DMG: { + [1658316948.574597][4039:4044] CHIP:DMG: status = 0x00 (SUCCESS), + [1658316948.574632][4039:4044] CHIP:DMG: }, + + Before adding the Group0x0006 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 6, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658319830.074631][4759:4764] CHIP:DMG: WriteClient moving to [ResponseRe] + [1658319830.075186][4759:4764] CHIP:DMG: + [1658319830.075223][4759:4764] CHIP:DMG: StatusIB = + [1658319830.075262][4759:4764] CHIP:DMG: { + [1658319830.075298][4759:4764] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319830.075337][4759:4764] CHIP:DMG: }, + [1658319830.075373][4759:4764] CHIP:DMG: + [1658319830.075404][4759:4764] CHIP:DMG: }, + [1658319830.075795][4759:4764] CHIP:DMG: + [1658319830.075832][4759:4764] CHIP:DMG: StatusIB = + [1658319830.075870][4759:4764] CHIP:DMG: { + [1658319830.075908][4759:4764] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319830.075946][4759:4764] CHIP:DMG: }, + + Before adding the Group0x0007 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 7, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658319901.401644][4768:4773] CHIP:DMG: StatusIB = + [1658319901.401674][4768:4773] CHIP:DMG: { + [1658319901.401706][4768:4773] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319901.401829][4768:4773] CHIP:DMG: }, + [1658319901.401029][4768:4773] CHIP:DMG: StatusIB = + [1658319901.401068][4768:4773] CHIP:DMG: { + [1658319901.401108][4768:4773] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319901.401147][4768:4773] CHIP:DMG: }, + + + Before adding the Group0x0008 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 8, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658319969.849079][4777:4782] CHIP:DMG: StatusIB = + [1658319969.849119][4777:4782] CHIP:DMG: { + [1658319969.849158][4777:4782] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319969.849194][4777:4782] CHIP:DMG: }, + [1658319969.849704][4777:4782] CHIP:DMG: StatusIB = + [1658319969.849739][4777:4782] CHIP:DMG: { + [1658319969.849774][4777:4782] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319969.849814][4777:4782] CHIP:DMG: }, + + Before adding the Group0x0009 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 9, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658319969.849079][4777:4782] CHIP:DMG: StatusIB = + [1658319969.849119][4777:4782] CHIP:DMG: { + [1658319969.849158][4777:4782] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319969.849194][4777:4782] CHIP:DMG: }, + [1658319969.849704][4777:4782] CHIP:DMG: StatusIB = + [1658319969.849739][4777:4782] CHIP:DMG: { + [1658319969.849774][4777:4782] CHIP:DMG: status = 0x00 (SUCCESS), + [1658319969.849814][4777:4782] CHIP:DMG: }, + + Before adding the Group0x0002 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 2, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658323452.116449][4965:4970] CHIP:DMG: StatusIB = + [1658323452.116487][4965:4970] CHIP:DMG: { + [1658323452.116524][4965:4970] CHIP:DMG: status = 0x00 (SUCCESS), + [1658323452.116563][4965:4970] CHIP:DMG: }, + [1658323452.115827][4965:4970] CHIP:DMG: StatusIB = + [1658323452.115863][4965:4970] CHIP:DMG: { + [1658323452.115899][4965:4970] CHIP:DMG: status = 0x00 (SUCCESS), + [1658323452.115935][4965:4970] CHIP:DMG: }, + + Before adding the Group0x0003 execute this command + + ./chip-tool groupkeymanagement write group-key-map '[{"groupId": 3, "groupKeySetID": 1, "fabricIndex": 1}]' 1 0 + + Verify the status is success on the TH Log: + + [1658323495.618885][4975:4980] CHIP:DMG: StatusIB = + [1658323495.618916][4975:4980] CHIP:DMG: { + [1658323495.618949][4975:4980] CHIP:DMG: status = 0x00 (SUCCESS), + [1658323495.618979][4975:4980] CHIP:DMG: }, + [1658323495.618330][4975:4980] CHIP:DMG: StatusIB = + [1658323495.618364][4975:4980] CHIP:DMG: { + [1658323495.618397][4975:4980] CHIP:DMG: status = 0x00 (SUCCESS), + [1658323495.618430][4975:4980] CHIP:DMG: }, + disabled: true + + - label: "DUT supports Identify cluster" + verification: | + + disabled: true + - label: "TH sends AddGroup command to DUT as unicast with the following fields : GroupID as 0x0002 GroupName as Gp2" @@ -30,7 +169,7 @@ tests: verification: | ./chip-tool groups add-group 0x0002 gp2 1 1 - Verify on the TH Log: + Verify the status is success and groupid on the TH Log: [1653552285.195099][2464:2469] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 [1653552285.197783][2464:2469] CHIP:TOO: AddGroupResponse: { @@ -39,14 +178,12 @@ tests: [1653552285.197933][2464:2469] CHIP:TOO: } disabled: true - - label: - "TH reads GroupTable attribute from the GroupKeyManagement cluster - from DUT" + - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster" PICS: GRPKEY.S.A0001 verification: | ./chip-tool groupkeymanagement read group-table 1 0 - Verify on the TH Log: + Verify the grouptable entries on the TH Log: [1653552351.250570][2474:2479] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1424397362 [1653552351.253012][2474:2479] CHIP:TOO: GroupTable: 1 entries @@ -60,13 +197,13 @@ tests: disabled: true - label: - "TH sends AddGroup command to DUT as unicast with the following fields - : GroupID as 0x0003 GroupName as Gp3" + "If maxgroups > 1 TH sends AddGroup command to DUT as unicast with the + following fields : GroupID as 0x0003 GroupName as Gp3" PICS: G.S.C00.Rsp && G.S.C00.Tx verification: | ./chip-tool groups add-group 0x0003 gp3 1 1 - Verify on the TH Log: + Verify the status is success and groupid on the TH Log: [1653552417.870291][2482:2487] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0000 [1653552417.870407][2482:2487] CHIP:TOO: AddGroupResponse: { @@ -76,13 +213,13 @@ tests: disabled: true - label: - "TH reads GroupTable attribute from the GroupKeyManagement cluster - from DUT" - PICS: GRPKEY.S.A0001 + "If maxgroups > 1, TH reads GroupTable attribute from the + GroupKeyManagement cluster" + PICS: GRPKEY.S.A0001 && G.S.F00 verification: | ./chip-tool groupkeymanagement read group-table 1 0 - Verify on the TH Log: + Verify the grouptable entries on the TH Log: [1653552448.373558][2491:2496] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1424397362 [1653552448.373710][2491:2496] CHIP:TOO: GroupTable: 2 entries @@ -103,13 +240,13 @@ tests: disabled: true - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as NULL" + "TH sends GetGroupMembership command to DUT on PIXIT.G.ENDPOINT with + the following fields : GroupList as NULL" PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [] 1 1 - Verify on the TH Log: + Verify the grouplist on the TH Log: [1653552493.052711][2501:2506] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0004 Command 0x0000_0002 [1653552493.052792][2501:2506] CHIP:TOO: GetGroupMembershipResponse: { @@ -121,13 +258,14 @@ tests: disabled: true - label: - "TH sends GetGroupMembership command to DUT with the following fields - : GroupList as [0x0002]" + "TH sends GetGroupMembership command to DUT on PIXIT.G.ENDPOINT with + the following fields : GroupList as [0x0002]" PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [0002] 1 1 - Verify on the TH Log: + Verify the grouplist on the TH Log: + [1653294426.515523][3638:3643] CHIP:TOO: GetGroupMembershipResponse: { [1653294426.515571][3638:3643] CHIP:TOO: capacity: null @@ -137,14 +275,15 @@ tests: disabled: true - label: - "TH sends GetGroupMembership command to DUT as unicast with the - following fields : GroupList as [0x0002, 0x0003]" + "if maxgroups > 1, TH sends GetGroupMembership command to DUT on + PIXIT.G.ENDPOINT as unicast with the following fields : GroupList as + [0x0002, 0x0003]" PICS: G.S.C02.Rsp && G.S.C02.Tx verification: | ./chip-tool groups get-group-membership [0002,0003] 1 1 - Verify on the TH Log: + Verify grouplist entries on the TH Log: [1653294490.030740][3646:3651] CHIP:TOO: GetGroupMembershipResponse: { [1653294490.030775][3646:3651] CHIP:TOO: capacity: null @@ -159,7 +298,7 @@ tests: verification: | ./chip-tool groups remove-all-groups 1 1 - Verify on the TH Log: + Verify the status is success on the TH Log: [1651224377.831704][2989:2994] CHIP:DMG: StatusIB = [1651224377.831757][2989:2994] CHIP:DMG: { @@ -169,13 +308,40 @@ tests: disabled: true - label: - "TH sends AddGroupIfIdentifying command to DUT as unicast method with - the following fields: GroupID as 0x0006 GroupName as Gp6" + "TH sends Identify command to DUT with the IdentifyTime as (0x0078) + 120 seconds" + PICS: I.S.C00.Rsp + verification: | + ./chip-tool identify identify 0x0078 1 1 + + Verify the status is success on the TH Log: + + [1658306666.592846][3044:3049] CHIP:DMG: StatusIB = + [1658306666.592889][3044:3049] CHIP:DMG: { + [1658306666.592962][3044:3049] CHIP:DMG: status = 0x00 (SUCCESS), + [1658306666.593007][3044:3049] CHIP:DMG: }, + disabled: true + + - label: "TH reads immediately IdentifyTime attribute from DUT" + PICS: I.S.A0000 + verification: | + ./chip-tool identify read identify-time 1 1 + + Verify the identifytime on the TH Log: + + [1658306684.629338][3050:3055] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3871913205 + [1658306684.629394][3050:3055] CHIP:TOO: identify time: 102 + disabled: true + + - label: + "If maxgroups>0, TH sends AddGroupIfIdentifying command to DUT as + unicast method with the following fields: GroupID as 0x0006 GroupName + as Gp6" PICS: G.S.C05.Rsp verification: | ./chip-tool groups add-group-if-identifying 0x0006 gp6 1 1 - Verify on the TH Log: + Verify the status is success on the TH Log: [1653552667.307794][2571:2576] CHIP:DMG: StatusIB = [1653552667.307831][2571:2576] CHIP:DMG: { @@ -183,6 +349,95 @@ tests: [1653552667.307922][2571:2576] CHIP:DMG: }, disabled: true + - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster" + PICS: GRPKEY.S.A0001 && G.S.F00 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + Verify grouplist entries on the TH Log: + + [1658306579.092336][3028:3033] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 656741762 + [1658306579.094919][3028:3033] CHIP:TOO: GroupTable: 1 entries + [1658306579.095045][3028:3033] CHIP:TOO: [1]: { + [1658306579.095075][3028:3033] CHIP:TOO: GroupId: 6 + [1658306579.095103][3028:3033] CHIP:TOO: Endpoints: 1 entries + [1658306579.095133][3028:3033] CHIP:TOO: [1]: 1 + [1658306579.095161][3028:3033] CHIP:TOO: GroupName: gp6 + [1658306579.095187][3028:3033] CHIP:TOO: FabricIndex: 1 + [1658306579.095210][3028:3033] CHIP:TOO: } + disabled: true + + - label: + "If maxgroups>1, TH sends AddGroupIfIdentifying command to DUT as + unicast method with the following fields: GroupID as 0x0007 GroupName + as Gp7" + PICS: G.S.C05.Rsp + verification: | + ./chip-tool groups add-group-if-identifying 0x0007 gp7 1 1 + + Verify the status is success on the TH Log: + + [1658306847.237724][3125:3130] CHIP:DMG: StatusIB = + [1658306847.237765][3125:3130] CHIP:DMG: { + [1658306847.237818][3125:3130] CHIP:DMG: status = 0x00 (SUCCESS), + [1658306847.237869][3125:3130] CHIP:DMG: }, + disabled: true + + - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster" + PICS: GRPKEY.S.A0001 && G.S.F00 + verification: | + ./chip-tool groupkeymanagement read group-table 1 0 + + Verify the grouplist entries on the TH Log: + + [1658306870.013290][3132:3137] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 656741774 + [1658306870.013392][3132:3137] CHIP:TOO: GroupTable: 2 entries + [1658306870.013485][3132:3137] CHIP:TOO: [1]: { + [1658306870.013517][3132:3137] CHIP:TOO: GroupId: 6 + [1658306870.013550][3132:3137] CHIP:TOO: Endpoints: 1 entries + [1658306870.013586][3132:3137] CHIP:TOO: [1]: 1 + [1658306870.013619][3132:3137] CHIP:TOO: GroupName: gp6 + [1658306870.013650][3132:3137] CHIP:TOO: FabricIndex: 1 + [1658306870.013678][3132:3137] CHIP:TOO: } + [1658306870.013718][3132:3137] CHIP:TOO: [2]: { + [1658306870.013747][3132:3137] CHIP:TOO: GroupId: 7 + [1658306870.013777][3132:3137] CHIP:TOO: Endpoints: 1 entries + [1658306870.013810][3132:3137] CHIP:TOO: [1]: 1 + [1658306870.013841][3132:3137] CHIP:TOO: GroupName: gp7 + [1658306870.013871][3132:3137] CHIP:TOO: FabricIndex: 1 + [1658306870.013899][3132:3137] CHIP:TOO: } + disabled: true + + - label: + "If maxgroups > 2, TH sends AddGroupIfIdentifying command to DUT with + (maxgroups - 2) groups, incrementing the GroupId each time." + PICS: G.S.C05.Rsp + verification: | + ./chip-tool groups add-group-if-identifying 0x0008 gp8 1 1 + + Verify the status is success on the TH Log: + + [1653552667.307794][2571:2576] CHIP:DMG: StatusIB = + [1653552667.307831][2571:2576] CHIP:DMG: { + [1653552667.307881][2571:2576] CHIP:DMG: status = 0x00 (SUCCESS), + [1653552667.307922][2571:2576] CHIP:DMG: }, + disabled: true + + - label: + "If maxgroups>0, TH sends AddGroupIfIdentifying command to DUT + (maxgroups+2) times as unicast method with different GroupID" + PICS: G.S.C05.Rsp + verification: | + ./chip-tool groups add-group-if-identifying 0x0009 gp9 1 1 + + Verify the status is success on the TH Log: + + [1658317372.589336][4296:4301] CHIP:DMG: StatusIB = + [1658317372.589363][4296:4301] CHIP:DMG: { + [1658317372.589399][4296:4301] CHIP:DMG: status = 0x89 (RESOURCE_EXHAUSTED), + [1658317372.589432][4296:4301] CHIP:DMG: }, + disabled: true + - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster from DUT" @@ -190,22 +445,45 @@ tests: verification: | ./chip-tool groupkeymanagement read group-table 1 0 - Verify on the TH Log: - - [1653560429.549196][3373:3378] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 55663962 - [1653560429.549335][3373:3378] CHIP:TOO: GroupTable: 2 entries - [1653560429.549432][3373:3378] CHIP:TOO: [1]: { - [1653560429.549484][3373:3378] CHIP:TOO: GroupId: 2 - [1653560429.549522][3373:3378] CHIP:TOO: Endpoints: 0 entries - [1653560429.549562][3373:3378] CHIP:TOO: GroupName: gp2 - [1653560429.549598][3373:3378] CHIP:TOO: FabricIndex: 1 - [1653560429.549632][3373:3378] CHIP:TOO: } - [1653560429.549678][3373:3378] CHIP:TOO: [2]: { - [1653560429.549712][3373:3378] CHIP:TOO: GroupId: 3 - [1653560429.549746][3373:3378] CHIP:TOO: Endpoints: 0 entries - [1653560429.549783][3373:3378] CHIP:TOO: GroupName: gp3 - [1653560429.549817][3373:3378] CHIP:TOO: FabricIndex: 1 - [1653560429.549849][3373:3378] CHIP:TOO: } + Verify the grouptable entries on the TH Log: + + [1658309507.902666][3452:3457] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 656741784 + [1658309507.902779][3452:3457] CHIP:TOO: GroupTable: 3 entries + [1658309507.902873][3452:3457] CHIP:TOO: [1]: { + [1658309507.902906][3452:3457] CHIP:TOO: GroupId: 6 + [1658309507.902940][3452:3457] CHIP:TOO: Endpoints: 1 entries + [1658309507.902975][3452:3457] CHIP:TOO: [1]: 1 + [1658309507.903010][3452:3457] CHIP:TOO: GroupName: gp6 + [1658309507.903040][3452:3457] CHIP:TOO: FabricIndex: 1 + [1658309507.903069][3452:3457] CHIP:TOO: } + [1658309507.903108][3452:3457] CHIP:TOO: [2]: { + [1658309507.903137][3452:3457] CHIP:TOO: GroupId: 7 + [1658309507.903168][3452:3457] CHIP:TOO: Endpoints: 1 entries + [1658309507.903201][3452:3457] CHIP:TOO: [1]: 1 + [1658309507.903231][3452:3457] CHIP:TOO: GroupName: gp7 + [1658309507.903260][3452:3457] CHIP:TOO: FabricIndex: 1 + [1658309507.903287][3452:3457] CHIP:TOO: } + [1658309507.903326][3452:3457] CHIP:TOO: [3]: { + [1658309507.903355][3452:3457] CHIP:TOO: GroupId: 8 + [1658309507.903385][3452:3457] CHIP:TOO: Endpoints: 1 entries + [1658309507.903418][3452:3457] CHIP:TOO: [1]: 1 + [1658309507.903448][3452:3457] CHIP:TOO: GroupName: gp8 + [1658309507.903477][3452:3457] CHIP:TOO: FabricIndex: 1 + [1658309507.903505][3452:3457] CHIP:TOO: } + disabled: true + + - label: "TH sends RemoveAllGroups command to DUT as unicast method" + PICS: G.S.C04.Rsp + verification: | + ./chip-tool groups remove-all-groups 1 1 + + Verify the status is success on the TH Log: + + [1651224377.831704][2989:2994] CHIP:DMG: StatusIB = + [1651224377.831757][2989:2994] CHIP:DMG: { + [1651224377.831812][2989:2994] CHIP:DMG: status = 0x00 (SUCCESS), + [1651224377.831866][2989:2994] CHIP:DMG: }, + [1651224377.832439][2989:2994] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0004 Command=0x0000_0004 Status=0x0 disabled: true - label: @@ -216,22 +494,63 @@ tests: ./chip-tool groups add-group-if-identifying 0x0000 gp45 1 1 - Verify on the TH Log: + Verify the status is constraint error on the TH Log: + + [1658307266.719438][3251:3256] CHIP:DMG: StatusIB = + [1658307266.719482][3251:3256] CHIP:DMG: { + [1658307266.719527][3251:3256] CHIP:DMG: status = 0x87 (CONSTRAINT_ERROR), + [1658307266.719573][3251:3256] CHIP:DMG: }, + disabled: true + + - label: + "TH sends AddGroupIfIdentifying command to DUT as unicast method with + the following fields: GroupId as 0x0046 GroupName as Gp46" + PICS: G.S.C05.Rsp + verification: | + ./chip-tool groups add-group-if-identifying 0x0045 gp46 1 1 + + Verify the status is unsupported access on the TH Log: + + [1658307298.568727][3257:3262] CHIP:DMG: StatusIB = + [1658307298.568761][3257:3262] CHIP:DMG: { + [1658307298.568807][3257:3262] CHIP:DMG: status = 0x7e (UNSUPPORTED_ACCESS), + [1658307298.568840][3257:3262] CHIP:DMG: }, + disabled: true + + - label: + "TH sends Identify command to DUT with the IdentifyTime as 0x0000 + (stop identifying)" + PICS: I.S.C00.Rsp + verification: | + ./chip-tool identify identify 0x0000 1 1 - [1653552769.643278][2589:2594] CHIP:DMG: StatusIB = - [1653552769.643330][2589:2594] CHIP:DMG: { - [1653552769.643400][2589:2594] CHIP:DMG: status = 0x00 (SUCCESS), - [1653552769.643459][2589:2594] CHIP:DMG: }, + Verify the status is success on the TH Log: + + [1658307387.097433][3268:3273] CHIP:DMG: StatusIB = + [1658307387.097464][3268:3273] CHIP:DMG: { + [1658307387.097502][3268:3273] CHIP:DMG: status = 0x00 (SUCCESS), + [1658307387.097533][3268:3273] CHIP:DMG: }, + disabled: true + + - label: "TH reads immediately IdentifyTime attribute from DUT" + PICS: I.S.A0000 + verification: | + ./chip-tool identify read identify-time 1 1 + + Verify the identify time on the TH Log: + + [1658307393.820520][3274:3279] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 3871913767 + [1658307393.820575][3274:3279] CHIP:TOO: identify time: 0 disabled: true - label: - "TH sends AddGroupIfIdentifying command to DUT (n+1) times as unicast - method with different GroupID each time" + "TH sends AddGroupIfIdentifying command to DUT as unicast method with + the following fields: GroupId as 0x0004 GroupName as Gp4" PICS: G.S.C05.Rsp verification: | - ./chip-tool groups add-group-if-identifying 0x0067 gp31 1 1 + ./chip-tool groups add-group-if-identifying 0x0004 gp4 1 1 - Verify on the TH Log: + Verify the status is success on the TH Log: [1651224746.146005][3038:3043] CHIP:DMG: StatusIB = [1651224746.146038][3038:3043] CHIP:DMG: { @@ -239,27 +558,13 @@ tests: [1651224746.146106][3038:3043] CHIP:DMG: }, disabled: true - - label: - "TH reads GroupTable attribute from the GroupKeyManagement cluster - from DUT" - PICS: GRPKEY.S.A0001 + - label: "TH reads GroupTable attribute from the GroupKeyManagement cluster" + PICS: GRPKEY.S.A0001 && G.S.F00 verification: | ./chip-tool groupkeymanagement read group-table 1 0 - Verify on the TH Log: - - [1653552886.221667][2625:2630] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 1424397362 - [1653552886.221787][2625:2630] CHIP:TOO: GroupTable: 2 entries - [1653552886.221925][2625:2630] CHIP:TOO: [1]: { - [1653552886.221966][2625:2630] CHIP:TOO: GroupId: 2 - [1653552886.222002][2625:2630] CHIP:TOO: Endpoints: 0 entries - [1653552886.222057][2625:2630] CHIP:TOO: GroupName: gp2 - [1653552886.222103][2625:2630] CHIP:TOO: FabricIndex: 1 - [1653552886.222135][2625:2630] CHIP:TOO: } - [1653552886.222177][2625:2630] CHIP:TOO: [2]: { - [1653552886.222222][2625:2630] CHIP:TOO: GroupId: 3 - [1653552886.222255][2625:2630] CHIP:TOO: Endpoints: 0 entries - [1653552886.222288][2625:2630] CHIP:TOO: GroupName: gp3 - [1653552886.222330][2625:2630] CHIP:TOO: FabricIndex: 1 - [1653552886.222361][2625:2630] CHIP:TOO: } + Verify the grouptable entries on the TH Log: + + [1658317914.656772][4650:4655] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003F Attribute 0x0000_0001 DataVersion: 3844079664 + [1658317914.656843][4650:4655] CHIP:TOO: GroupTable: 0 entries disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_I_3_1.yaml b/src/app/tests/suites/certification/Test_TC_I_3_1.yaml index 6f7373b461ca3e..f9eaebb4744a10 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_1.yaml @@ -25,11 +25,8 @@ tests: "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 identify read identify-time 1 1 + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command [1648015371.159715][2506:2506] CHIP:IM: Received Read request [1648015371.159805][2506:2506] CHIP:DMG: ReadRequestMessage = @@ -49,7 +46,16 @@ tests: [1648015371.160300][2506:2506] CHIP:DMG: InteractionModelRevision = 1 [1648015371.160324][2506:2506] CHIP:DMG: }, + On DUT as a client side, verify that TH all-clusters-app sent identify time attribute value + [1658144129.651688][8964:8969] CHIP:DMG: } + [1658144129.651919][8964:8969] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 774797081 + [1658144129.652113][8964:8969] CHIP:TOO: identify time: 0 + [1658144129.652237][8964:8969] CHIP:EM: Sending Standalone Ack for MessageCounter:17091478 on exchange 42014i + + ./chip-tool identify read identify-type 1 1 + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + [1648015519.017225][2506:2506] CHIP:IM: Received Read request [1648015519.017293][2506:2506] CHIP:DMG: ReadRequestMessage = [1648015519.017332][2506:2506] CHIP:DMG: { @@ -67,6 +73,12 @@ tests: [1648015519.017932][2506:2506] CHIP:DMG: isFabricFiltered = true, [1648015519.017969][2506:2506] CHIP:DMG: InteractionModelRevision = 1 [1648015519.018003][2506:2506] CHIP:DMG: }, + + On DUT as a client side, verify that TH all-clusters-app sent identify type attribute value + [1658144152.172514][8970:8975] CHIP:DMG: } + [1658144152.172661][8970:8975] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 774797081 + [1658144152.172726][8970:8975] CHIP:TOO: identify type: 2 + [1658144152.172813][8970:8975] CHIP:EM: Sending Standalone Ack for MessageCounter:190112026 on exchange 9214i disabled: true - label: @@ -80,12 +92,9 @@ tests: "DUT writes a suitable value to all supported mandatory attributes on the 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 + ./chip-tool identify write identify-time 1 1 1 - Verify in TH all-clusters-app log - - On TestHarnes (all-cluster-app) a received write request looks like this (f.e identify-time (id 0) value 60): - ./chip-tool identify write identify-time 1 1 1 + verify On TH(Reference app) receives the right write Request Message for the data sent in the above command [1646012277.591912][33190:33190] CHIP:IM: Received Write request [1646012277.591936][33190:33190] CHIP:DMG: IM WH moving to [Initialized] [1646012277.591987][33190:33190] CHIP:DMG: WriteRequestMessage = @@ -112,6 +121,13 @@ tests: [1646012277.592589][33190:33190] CHIP:DMG: }, [1646012277.592669][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o [1646012277.592721][33190:33190] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to d4fdf520 + + On DUT as a client side, verify that TH all-clusters-app sent success response + [1658144181.287676][8979:8984] CHIP:DMG: + [1658144181.287736][8979:8984] CHIP:DMG: StatusIB = + [1658144181.287792][8979:8984] CHIP:DMG: { + [1658144181.287849][8979:8984] CHIP:DMG: status = 0x00 (SUCCESS), + [1658144181.287907][8979:8984] CHIP:DMG: }, disabled: true - label: @@ -127,31 +143,8 @@ 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 commands - - Verify in TH all-clusters-app log - - ./chip-tool identify read attribute-list 1 1 - - [1654242827039] [91286:3990827] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFB DataVersion: 2002457420 - [1654242827039] [91286:3990827] CHIP: [TOO] AttributeList: 7 entries - [1654242827039] [91286:3990827] CHIP: [TOO] [1]: 0 - [1654242827039] [91286:3990827] CHIP: [TOO] [2]: 1 - [1654242827039] [91286:3990827] CHIP: [TOO] [3]: 65528 - [1654242827039] [91286:3990827] CHIP: [TOO] [4]: 65529 - [1654242827040] [91286:3990827] CHIP: [TOO] [5]: 65531 - [1654242827040] [91286:3990827] CHIP: [TOO] [6]: 65532 - [1654242827040] [91286:3990827] CHIP: [TOO] [7]: 65533 - - ./chip-tool identify read feature-map 1 1 - - [1656477452568] [49420:5728891] CHIP: [TOO] Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_FFFC DataVersion: 2109194160 - [1656477452569] [49420:5728891] CHIP: [TOO] FeatureMap: 0 - - - - - "./chip-tool identify read identify-time 1 1 + ./chip-tool identify read identify-time 1 1 + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command [1648015371.159715][2506:2506] CHIP:IM: Received Read request [1648015371.159805][2506:2506] CHIP:DMG: ReadRequestMessage = @@ -171,7 +164,16 @@ tests: [1648015371.160300][2506:2506] CHIP:DMG: InteractionModelRevision = 1 [1648015371.160324][2506:2506] CHIP:DMG: }, + On DUT as a client side, verify that TH all-clusters-app sent identify time attribute value + [1658144129.651688][8964:8969] CHIP:DMG: } + [1658144129.651919][8964:8969] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0000 DataVersion: 774797081 + [1658144129.652113][8964:8969] CHIP:TOO: identify time: 0 + [1658144129.652237][8964:8969] CHIP:EM: Sending Standalone Ack for MessageCounter:17091478 on exchange 42014i + + ./chip-tool identify read identify-type 1 1 + verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command + [1648015519.017225][2506:2506] CHIP:IM: Received Read request [1648015519.017293][2506:2506] CHIP:DMG: ReadRequestMessage = [1648015519.017332][2506:2506] CHIP:DMG: { @@ -188,7 +190,13 @@ tests: [1648015519.017894][2506:2506] CHIP:DMG: [1648015519.017932][2506:2506] CHIP:DMG: isFabricFiltered = true, [1648015519.017969][2506:2506] CHIP:DMG: InteractionModelRevision = 1 - [1648015519.018003][2506:2506] CHIP:DMG: }," + [1648015519.018003][2506:2506] CHIP:DMG: }, + + On DUT as a client side, verify that TH all-clusters-app sent identify type attribute value + [1658144152.172514][8970:8975] CHIP:DMG: } + [1658144152.172661][8970:8975] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0003 Attribute 0x0000_0001 DataVersion: 774797081 + [1658144152.172726][8970:8975] CHIP:TOO: identify type: 2 + [1658144152.172813][8970:8975] CHIP:EM: Sending Standalone Ack for MessageCounter:190112026 on exchange 9214i disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_I_3_2.yaml b/src/app/tests/suites/certification/Test_TC_I_3_2.yaml index d54b8da50e3b4a..abd1f94b73ae6e 100644 --- a/src/app/tests/suites/certification/Test_TC_I_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_3_2.yaml @@ -27,10 +27,8 @@ tests: that is supported by the DUT." PICS: I.C.C00.Tx verification: | - On TestHarnes (all-cluster-app) a received Identify command with f.e. 60 as IdentifyTime looks like this: - Verify in TH all-clusters-app log - ./chip-tool identify identify 60 1 1 + verify On TH(Reference app) receives the right invoke Request Message for the data sent in the above command [1646010972.583498][33190:33190] CHIP:EM: Handling via exchange: 60250r, Delegate: 0xaaaace1730c8 [1646010972.583578][33190:33190] CHIP:DMG: InvokeRequestMessage = [1646010972.583611][33190:33190] CHIP:DMG: { @@ -60,6 +58,13 @@ tests: [1646010972.584359][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o [1646010972.584430][33190:33190] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 [1646010972.584474][33190:33190] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to d4fdf424 + + On DUT as a client side, verify that TH all-clusters-app sent success response + [1658144469.552560][8995:9000] CHIP:DMG: + [1658144469.552589][8995:9000] CHIP:DMG: StatusIB = + [1658144469.552626][8995:9000] CHIP:DMG: { + [1658144469.552663][8995:9000] CHIP:DMG: status = 0x00 (SUCCESS), + [1658144469.552698][8995:9000] CHIP:DMG: }, disabled: true - label: @@ -75,11 +80,8 @@ tests: IdentifyTime argument set to 0x0000 (Stop)." PICS: I.C.C00.Tx verification: | - On TestHarnes (all-cluster-app) a received Identify command with an IdentifyTime of 0 looks like this: - - Verify in TH all-clusters-app log - ./chip-tool identify identify 0 1 1 + verify On TH(Reference app) receives the right invoke Request Message for the data sent in the above command [1646011311.206353][33190:33190] CHIP:EM: Handling via exchange: 12024r, Delegate: 0xaaaace1730c8 [1646011311.206436][33190:33190] CHIP:DMG: InvokeRequestMessage = [1646011311.206462][33190:33190] CHIP:DMG: { @@ -110,6 +112,12 @@ tests: [1646011311.207295][33190:33190] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 [1646011311.207342][33190:33190] CHIP:DMG: Endpoint 1, Cluster 0x0000_0003 update version to d4fdf4a5 [1646011311.207377][33190:33190] CHIP:ZCL: OnIdentifyStop + + On DUT as a client side, verify that TH all-clusters-app sent success response + [1658144495.036737][9002:9007] CHIP:DMG: }, + [1658144495.036829][9002:9007] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0000 Status=0x0 + [1658144495.036893][9002:9007] CHIP:DMG: ICR moving to [AwaitingDe] + [1658144495.036970][9002:9007] CHIP:EM: Sending Standalone Ack for MessageCounter:97481310 on exchange 7554i disabled: true - label: @@ -117,11 +125,8 @@ tests: supported EffectIdentifier argument and EffectVariant set to 0." PICS: I.C.C40.Tx verification: | - On TestHarnes (all-cluster-app) a received Identify command with f.e. 1 as EffectIdentifier looks like this: - - Verify in TH all-clusters-app log - ./chip-tool identify trigger-effect 0 0 1 1 + verify On TH(Reference app) receives the right invoke Request Message for the data sent in the above command [1646011549.034604][33190:33190] CHIP:EM: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:3605482 on exchange 36067r [1646011549.034646][33190:33190] CHIP:EM: Handling via exchange: 36067r, Delegate: 0xaaaace1730c8 [1646011549.034790][33190:33190] CHIP:DMG: InvokeRequestMessage = @@ -153,4 +158,10 @@ tests: [1646011549.035975][33190:33190] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0003 e=1 p=o [1646011549.036017][33190:33190] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0040 [1646011549.036052][33190:33190] CHIP:ZCL: RX identify:trigger effect 0x1 variant 0x0 + + On DUT as a client side, verify that TH all-clusters-app sent success response + [1658144515.570727][9010:9015] CHIP:DMG: }, + [1658144515.570854][9010:9015] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0003 Command=0x0000_0040 Status=0x0 + [1658144515.570922][9010:9015] CHIP:DMG: ICR moving to [AwaitingDe] + [1658144515.570999][9010:9015] CHIP:EM: Sending Standalone Ack for MessageCounter:226820812 on exchange 14189i disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml index 20b2c0eee07a59..d15f832437166a 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml @@ -28,10 +28,9 @@ tests: - label: "TH reads from the DUT the (0xFFFD) ClusterRevision attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read cluster-revision 1 0 + On TH, verify that DUT sends ClusterRevision attribute value as 1 [1649330698.587235][4440:4445] CHIP:DMG: [1649330698.587269][4440:4445] CHIP:DMG: SuppressResponse = true, @@ -43,11 +42,9 @@ tests: - label: "TH reads from the DUT the (0xFFFC) FeatureMap attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read feature-map 1 0 - + On TH, verify that DUT sends FeatureMap attribute value as 0 [1653462414.221894][29485:29490] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_FFFC DataVersion: 2352052086 [1653462414.222033][29485:29490] CHIP:TOO: FeatureMap: 0 [1653462414.222207][29485:29490] CHIP:EM: Sending Standalone Ack for MessageCounter:4940181 on exchange 7821i @@ -55,9 +52,8 @@ tests: - label: "TH reads from the DUT the (0xFFFB) AttributeList attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read attribute-list 1 0 + On TH, verify that DUT sends a list of supported attributes [1653462309.061114][29477:29482] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_FFFB DataVersion: 2352052086 [1653462309.061199][29477:29482] CHIP:TOO: AttributeList: 7 entries @@ -78,10 +74,8 @@ tests: - label: "TH reads from the DUT the (0xFFF9) AcceptedCommandList attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read accepted-command-list 1 0 - + On TH, verify that DUT responsds as list of Accepted Command as 0 entries. [1649331020.031045][4520:4525] CHIP:DMG: [1649331020.031081][4520:4525] CHIP:DMG: SuppressResponse = true, @@ -93,10 +87,8 @@ tests: - label: "TH reads from the DUT the (0xFFF8) GeneratedCommandList attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read generated-command-list 1 0 - + On TH, verify that DUT responsds as list of GeneratedCommandList as 0 entries. [1649330937.798986][4508:4513] CHIP:DMG: [1649330937.799022][4508:4513] CHIP:DMG: SuppressResponse = true, diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml index 12baf83eeb97db..ef4d728528e5dd 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_2_1.yaml @@ -26,9 +26,8 @@ tests: - label: "TH reads SupportedLocales attribute from DUT" PICS: LCFG.S.A0001 verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read supported-locales 1 0 + On TH verify that the entry values in the SupportedLocales attribute are not repeated [1651129546.170573][174082:174087] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0002 DataVersion: 3111654481 [1651129546.170622][174082:174087] CHIP:TOO: SupportedLocales: 8 entries @@ -44,19 +43,18 @@ tests: - label: 'TH writes "xx-XX" to SupportedLocales attribute' verification: | - Verify in TH Log + ./chip-tool any write-by-id 0x002B 1 '"xx-XX"' 1 0 + On TH verify that DUT responds as UNSUPPORTED_WRITE - ./chip-tool any write-by-id 0x002B 1 xx-XX 1 0 - [1653996674.832226][7281:7286] CHIP:DMG: WriteClient moving to [AwaitingDe] - [1653996674.832300][7281:7286] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) - [1653996674.832411][7281:7286] CHIP:EM: Sending Standalone Ack for MessageCounter:12567655 on exchange 10797i + [1653996674.832226][7281:7286] CHIP:DMG: WriteClient moving to [AwaitingDe] + [1653996674.832300][7281:7286] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) + [1653996674.832411][7281:7286] CHIP:EM: Sending Standalone Ack for MessageCounter:12567655 on exchange 10797i disabled: true - label: "TH reads SupportedLocales attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read supported-locales 1 0 + On TH verify that the entries same as step 1 [1645772065.848431][3762:3767] CHIP:TOO: SupportedLocales: 8 entries [1645772065.850249][3762:3767] CHIP:TOO: [1]: en-US [1645772065.850298][3762:3767] CHIP:TOO: [2]: de-DE @@ -72,10 +70,8 @@ tests: - label: "TH reads ActiveLocale Attribute from the DUT" PICS: LCFG.S.A0000 verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read active-locale 1 0 - + On TH verify that the ActiveLocale Attribute value is present in the SupportedLocales attribute list [1651035208.064278][2761:2766] CHIP:DMG: SuppressResponse = true, [1651035208.064316][2761:2766] CHIP:DMG: InteractionModelRevision = 1 @@ -88,10 +84,8 @@ tests: "TH writes new string not present in SupportedLocale attribute to ActiveLocale Attribute." verification: | - Verify in TH Log - ./chip-tool localizationconfiguration write active-locale fw-GB 1 0 - + On TH verify that DUT responds as CONSTRAINT_ERROR [[1651130076.882814][174458:174463] CHIP:DMG: WriteResponseMessage = [1651130076.882819][174458:174463] CHIP:DMG: { @@ -126,9 +120,8 @@ tests: "TH writes new string present in SupportedLocale attribute to ActiveLocale Attribute" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration write active-locale fr-FR 1 0 + On TH verify that DUT responds as SUCCESS [1651035259.959116][2776:2781] CHIP:DMG: StatusIB = [1651035259.959158][2776:2781] CHIP:DMG: { @@ -146,9 +139,8 @@ tests: - label: "TH Reads ActiveLocale" verification: | - Verify in TH Log - ./chip-tool localizationconfiguration read active-locale 1 0 + On TH Verify that the value of the ActiveLocale attribute is changed [1645772597.252904][3816:3821] CHIP:DMG: [1645772597.252948][3816:3821] CHIP:DMG: SuppressResponse = true, diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_3_1.yaml index 5c4179cc230481..29acab3d216cef 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_3_1.yaml @@ -27,7 +27,7 @@ tests: PICS: LCFG.C.A0001 verification: | ./chip-tool localizationconfiguration read supported-locales 1 0 - verify on Reference app receives the right response for the data sent in the above commands + Verify in DUT as client side: verify that DUT reads SupportedLocales attribute from the TH successfully [1657111931.771994][5357:5363] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0001 DataVersion: 3168433155 [1657111931.772105][5357:5363] CHIP:TOO: SupportedLocales: 8 entries @@ -45,8 +45,7 @@ tests: PICS: LCFG.C.A0000 verification: | ./chip-tool localizationconfiguration read active-locale 1 0 - - verify on Reference app receives the right response for the data sent in the above commands + Verify in DUT as client side: verify that DUT reads ActiveLocale attribute from the TH successfully [1651564394.281211][8392:8397] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002B Attribute 0x0000_0001 DataVersion: 1726343234 [1651564394.281289][8392:8397] CHIP:TOO: ActiveLocale: en-US diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml index d514efa49894be..6d71c8786c7352 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_3_1.yaml @@ -27,6 +27,7 @@ tests: PICS: LTIME.S.A0000 verification: | ./chip-tool timeformatlocalization read hour-format 1 0 + On TH, verify that HourFormat attribute value is of Enum8 datatype [1651191944157] [13649:182326] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530441 [1651191944158] [13649:182326] CHIP: [TOO] HourFormat: 0 disabled: true @@ -35,6 +36,9 @@ tests: PICS: LTIME.S.A0000.12HR verification: | ./chip-tool timeformatlocalization write hour-format 0 1 0 + + On TH verify that DUT sends a success response + [1651192743588] [14026:192208] CHIP: [DMG] WriteResponseMessage = [1651192743588] [14026:192208] CHIP: [DMG] { [1651192743588] [14026:192208] CHIP: [DMG] AttributeStatusIBs = @@ -73,6 +77,9 @@ tests: PICS: LTIME.S.A0000.24HR verification: | ./chip-tool timeformatlocalization write hour-format 1 1 0 + + On TH verify that HourFormat attribute value changed as 0 + [1651193043035] [14140:195730] CHIP: [DMG] WriteResponseMessage = [1651193043035] [14140:195730] CHIP: [DMG] { [1651193043035] [14140:195730] CHIP: [DMG] AttributeStatusIBs = @@ -103,7 +110,9 @@ tests: - label: "TH reads HourFormat attribute" PICS: LTIME.S.A0000 verification: | - ./chip-tool timeformatlocalization read hour-format 1 0 + ./chip-tool timeformatlocalization read hour-format 1 + + On TH verify that DUT sends a success response [1651193120969] [14169:196901] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0000 DataVersion: 3316530443 [1651193120969] [14169:196901] CHIP: [TOO] HourFormat: 1 disabled: true @@ -112,6 +121,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH, verify that ActiveCalendarType attribute value is in between 0 to 11 + [1651193250602] [14215:198406] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3316530443 [1651193250602] [14215:198406] CHIP: [TOO] ActiveCalendarType: 0 disabled: true @@ -120,6 +132,9 @@ tests: PICS: LTIME.S.A0002 verification: | ./chip-tool timeformatlocalization read supported-calendar-types 1 0 + + On TH, verify that SupportedCalendarTypes attribute value is in between 0 to 11 + [1651194334793] [14653:210647] CHIP: [TOO] Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0002 DataVersion: 3316530443 [1651194334794] [14653:210647] CHIP: [TOO] SupportedCalendarTypes: 12 entries [1651194334794] [14653:210647] CHIP: [TOO] [1]: 0 @@ -142,6 +157,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 0 1 0 + + On TH, verify that ActiveCalendarType attribute value is in between 0 to 11 + [1651194449245] [14699:212201] CHIP: [DMG] WriteResponseMessage = [1651194449245] [14699:212201] CHIP: [DMG] { [1651194449245] [14699:212201] CHIP: [DMG] AttributeStatusIBs = @@ -172,6 +190,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that DUT sends a success response + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = [1651194544627] [14736:213553] CHIP: [DMG] { [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = @@ -206,6 +227,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 1 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 0 + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -236,6 +260,8 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that DUT sends a success response [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = [1651194544627] [14736:213553] CHIP: [DMG] { [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = @@ -270,6 +296,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 2 1 0 + + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -300,6 +329,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 2 + [1655184715.197446][2276:2281] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477121 [1655184715.197524][2276:2281] CHIP:TOO: ActiveCalendarType: 2 [1655184715.197650][2276:2281] CHIP:EM: Sending Standalone Ack for MessageCounter:27645137 on exchange 37300i @@ -313,6 +345,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 3 1 0 + + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -343,6 +378,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 3 + [1655184753.237947][2289:2294] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477122 [1655184753.238025][2289:2294] CHIP:TOO: ActiveCalendarType: 3 [1655184753.238126][2289:2294] CHIP:EM: Sending Standalone Ack for MessageCounter:167097094 on exchange 10188i @@ -355,6 +393,8 @@ tests: verification: | ./chip-tool timeformatlocalization write active-calendar-type 4 1 0 + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -385,6 +425,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 4 + [1655184774.541839][2301:2306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477123 [1655184774.541949][2301:2306] CHIP:TOO: ActiveCalendarType: 4 [1655184774.542080][2301:2306] CHIP:EM: Sending Standalone Ack for MessageCounter:20884820 on exchange 35148i @@ -396,6 +439,8 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 5 1 0 + + On TH verify that DUT sends a success response [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -426,6 +471,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 5 + [1655184794.906220][2314:2319] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477124 [1655184794.906340][2314:2319] CHIP:TOO: ActiveCalendarType: 5 [1655184794.906501][2314:2319] CHIP:EM: Sending Standalone Ack for MessageCounter:238991245 on exchange 63616i @@ -437,6 +485,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 6 1 0 + + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -467,6 +518,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 6 + [1655184813.727744][2327:2332] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477125 [1655184813.727848][2327:2332] CHIP:TOO: ActiveCalendarType: 6 [1655184813.727986][2327:2332] CHIP:EM: Sending Standalone Ack for MessageCounter:89082324 on exchange 59020i @@ -478,6 +532,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 7 1 0 + + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -508,6 +565,8 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 7 [1655184842.351575][2339:2344] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477126 [1655184842.351697][2339:2344] CHIP:TOO: ActiveCalendarType: 7 [1655184842.351855][2339:2344] CHIP:EM: Sending Standalone Ack for MessageCounter:117380134 on exchange 31303i @@ -519,6 +578,8 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 8 1 0 + + On TH verify that DUT sends a success response [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -590,6 +651,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 8 + [1655184888.113826][2364:2369] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477128 [1655184888.113934][2364:2369] CHIP:TOO: ActiveCalendarType: 9 [1655184888.114068][2364:2369] CHIP:EM: Sending Standalone Ack for MessageCounter:236846127 on exchange 9207i @@ -631,6 +695,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that ActiveCalendarType attribute value changed as 10 + [1655184911.317297][2377:2383] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002C Attribute 0x0000_0001 DataVersion: 3044477129 [1655184911.317407][2377:2383] CHIP:TOO: ActiveCalendarType: 10 [1655184911.317542][2377:2383] CHIP:EM: Sending Standalone Ack for MessageCounter:69288389 on exchange 58126i @@ -642,6 +709,9 @@ tests: PICS: LTIME.S.A0002.SCT verification: | ./chip-tool timeformatlocalization write active-calendar-type 11 1 0 + + On TH verify that DUT sends a success response + [1651194780019] [14823:216414] CHIP: [DMG] WriteResponseMessage = [1651194780019] [14823:216414] CHIP: [DMG] { [1651194780019] [14823:216414] CHIP: [DMG] AttributeStatusIBs = @@ -672,6 +742,9 @@ tests: PICS: LTIME.S.A0001 verification: | ./chip-tool timeformatlocalization read active-calendar-type 1 0 + + On TH verify that DUT sends a success response + [1651194544627] [14736:213553] CHIP: [DMG] ReportDataMessage = [1651194544627] [14736:213553] CHIP: [DMG] { [1651194544627] [14736:213553] CHIP: [DMG] AttributeReportIBs = @@ -703,10 +776,10 @@ tests: - label: "TH writes 50 to ActiveCalendarType attribute" PICS: LTIME.S.A0001 verification: | - Verify in TH log: - ./chip-tool timeformatlocalization write active-calendar-type 50 1 0 + On TH verify that DUT sends a success response + [1656934134.261135][6359:6364] CHIP:DMG: WriteResponseMessage = [1656934134.261172][6359:6364] CHIP:DMG: { [1656934134.261204][6359:6364] CHIP:DMG: AttributeStatusIBs = @@ -737,9 +810,9 @@ tests: - label: "TH writes 5 to HourFormat attribute" PICS: LTIME.S.A0000 verification: | - Verify in TH log: + ./chip-tool timeformatlocalization write hour-format 5 1 0 - ./chip-tool timeformatlocalization write hour-format 5 1 0 + On TH verify that DUT sends a success response [1656934321.910991][6387:6392] CHIP:DMG: WriteResponseMessage = [1656934321.911025][6387:6392] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_5.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_5.yaml index 114b7139097ebf..5f1de682170d0d 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_5.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: - 19.8.5. [TC-MEDIAPLAYBACK-6.5] Mandatory Media Playback Verification (DUT as + 3.8.5. [TC-MEDIAPLAYBACK-6.5] Mandatory Media Playback Verification (DUT as Client) config: @@ -24,100 +24,99 @@ config: tests: - label: "DUT sends Play command to TH" - PICS: MEDIAPLAYBACK.C.C0000 + PICS: MEDIAPLAYBACK.C.C00.Tx verification: | - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + ./chip-tool mediaplayback play 1 3 - ./chip-tool mediaplayback play 1 1 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - [1653155763765] [89108:1728729] CHIP: [DMG] InvokeRequestMessage = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] suppressResponse = false, - [1653155763765] [89108:1728729] CHIP: [DMG] timedRequest = false, - [1653155763765] [89108:1728729] CHIP: [DMG] InvokeRequests = - [1653155763765] [89108:1728729] CHIP: [DMG] [ - [1653155763765] [89108:1728729] CHIP: [DMG] CommandDataIB = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] CommandPathIB = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] EndpointId = 0x1, - [1653155763765] [89108:1728729] CHIP: [DMG] ClusterId = 0x506, - [1653155763765] [89108:1728729] CHIP: [DMG] CommandId = 0x0, - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] CommandData = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] ], - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] InteractionModelRevision = 1 - [1653155763765] [89108:1728729] CHIP: [DMG] }, + [1658530945655] [21924:317544] CHIP: [DMG] InvokeRequestMessage = + [1658530945655] [21924:317544] CHIP: [DMG] { + [1658530945655] [21924:317544] CHIP: [DMG] suppressResponse = false, + [1658530945655] [21924:317544] CHIP: [DMG] timedRequest = false, + [1658530945655] [21924:317544] CHIP: [DMG] InvokeRequests = + [1658530945655] [21924:317544] CHIP: [DMG] [ + [1658530945655] [21924:317544] CHIP: [DMG] CommandDataIB = + [1658530945655] [21924:317544] CHIP: [DMG] { + [1658530945655] [21924:317544] CHIP: [DMG] CommandPathIB = + [1658530945655] [21924:317544] CHIP: [DMG] { + [1658530945655] [21924:317544] CHIP: [DMG] EndpointId = 0x3, + [1658530945655] [21924:317544] CHIP: [DMG] ClusterId = 0x506, + [1658530945655] [21924:317544] CHIP: [DMG] CommandId = 0x0, + [1658530945655] [21924:317544] CHIP: [DMG] }, + [1658530945655] [21924:317544] CHIP: [DMG] + [1658530945655] [21924:317544] CHIP: [DMG] CommandFields = + [1658530945655] [21924:317544] CHIP: [DMG] { + [1658530945655] [21924:317544] CHIP: [DMG] }, + [1658530945655] [21924:317544] CHIP: [DMG] }, + [1658530945655] [21924:317544] CHIP: [DMG] + [1658530945655] [21924:317544] CHIP: [DMG] ], + [1658530945655] [21924:317544] CHIP: [DMG] + [1658530945655] [21924:317544] CHIP: [DMG] InteractionModelRevision = 1 + [1658530945655] [21924:317544] CHIP: [DMG] }, disabled: true - label: "DUT sends Pause command to TH" - PICS: MEDIAPLAYBACK.C.C0001 + PICS: MEDIAPLAYBACK.C.C01.Tx verification: | - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + ./chip-tool mediaplayback pause 1 3 - ./chip-tool mediaplayback pause 1 1 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - [1653155793657] [89108:1728972] CHIP: [DMG] InvokeRequestMessage = - [1653155793657] [89108:1728972] CHIP: [DMG] { - [1653155793657] [89108:1728972] CHIP: [DMG] suppressResponse = false, - [1653155793657] [89108:1728972] CHIP: [DMG] timedRequest = false, - [1653155793657] [89108:1728972] CHIP: [DMG] InvokeRequests = - [1653155793657] [89108:1728972] CHIP: [DMG] [ - [1653155793657] [89108:1728972] CHIP: [DMG] CommandDataIB = - [1653155793657] [89108:1728972] CHIP: [DMG] { - [1653155793657] [89108:1728972] CHIP: [DMG] CommandPathIB = - [1653155793657] [89108:1728972] CHIP: [DMG] { - [1653155793657] [89108:1728972] CHIP: [DMG] EndpointId = 0x1, - [1653155793657] [89108:1728972] CHIP: [DMG] ClusterId = 0x506, - [1653155793657] [89108:1728972] CHIP: [DMG] CommandId = 0x1, - [1653155793657] [89108:1728972] CHIP: [DMG] }, - [1653155793657] [89108:1728972] CHIP: [DMG] - [1653155793657] [89108:1728972] CHIP: [DMG] CommandData = - [1653155793657] [89108:1728972] CHIP: [DMG] { - [1653155793657] [89108:1728972] CHIP: [DMG] }, - [1653155793657] [89108:1728972] CHIP: [DMG] }, - [1653155793657] [89108:1728972] CHIP: [DMG] - [1653155793657] [89108:1728972] CHIP: [DMG] ], - [1653155793657] [89108:1728972] CHIP: [DMG] - [1653155793657] [89108:1728972] CHIP: [DMG] InteractionModelRevision = 1 - [1653155793657] [89108:1728972] CHIP: [DMG] }, + [1658530975757] [21924:317544] CHIP: [DMG] InvokeRequestMessage = + [1658530975757] [21924:317544] CHIP: [DMG] { + [1658530975757] [21924:317544] CHIP: [DMG] suppressResponse = false, + [1658530975757] [21924:317544] CHIP: [DMG] timedRequest = false, + [1658530975757] [21924:317544] CHIP: [DMG] InvokeRequests = + [1658530975757] [21924:317544] CHIP: [DMG] [ + [1658530975757] [21924:317544] CHIP: [DMG] CommandDataIB = + [1658530975757] [21924:317544] CHIP: [DMG] { + [1658530975757] [21924:317544] CHIP: [DMG] CommandPathIB = + [1658530975757] [21924:317544] CHIP: [DMG] { + [1658530975757] [21924:317544] CHIP: [DMG] EndpointId = 0x3, + [1658530975757] [21924:317544] CHIP: [DMG] ClusterId = 0x506, + [1658530975757] [21924:317544] CHIP: [DMG] CommandId = 0x1, + [1658530975757] [21924:317544] CHIP: [DMG] }, + [1658530975757] [21924:317544] CHIP: [DMG] + [1658530975757] [21924:317544] CHIP: [DMG] CommandFields = + [1658530975757] [21924:317544] CHIP: [DMG] { + [1658530975757] [21924:317544] CHIP: [DMG] }, + [1658530975757] [21924:317544] CHIP: [DMG] }, + [1658530975757] [21924:317544] CHIP: [DMG] + [1658530975757] [21924:317544] CHIP: [DMG] ], + [1658530975757] [21924:317544] CHIP: [DMG] + [1658530975757] [21924:317544] CHIP: [DMG] InteractionModelRevision = 1 + [1658530975757] [21924:317544] CHIP: [DMG] }, disabled: true - label: "DUT sends Stop command to TH" - PICS: MEDIAPLAYBACK.C.C0002 + PICS: MEDIAPLAYBACK.C.C02.Tx verification: | + ./chip-tool mediaplayback stop-playback 1 3 The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - ./chip-tool mediaplayback stop-playback 1 1 - - [1653155821639] [89108:1730227] CHIP: [DMG] InvokeRequestMessage = - [1653155821639] [89108:1730227] CHIP: [DMG] { - [1653155821639] [89108:1730227] CHIP: [DMG] suppressResponse = false, - [1653155821639] [89108:1730227] CHIP: [DMG] timedRequest = false, - [1653155821639] [89108:1730227] CHIP: [DMG] InvokeRequests = - [1653155821639] [89108:1730227] CHIP: [DMG] [ - [1653155821639] [89108:1730227] CHIP: [DMG] CommandDataIB = - [1653155821639] [89108:1730227] CHIP: [DMG] { - [1653155821639] [89108:1730227] CHIP: [DMG] CommandPathIB = - [1653155821639] [89108:1730227] CHIP: [DMG] { - [1653155821639] [89108:1730227] CHIP: [DMG] EndpointId = 0x1, - [1653155821639] [89108:1730227] CHIP: [DMG] ClusterId = 0x506, - [1653155821639] [89108:1730227] CHIP: [DMG] CommandId = 0x2, - [1653155821639] [89108:1730227] CHIP: [DMG] }, - [1653155821639] [89108:1730227] CHIP: [DMG] - [1653155821639] [89108:1730227] CHIP: [DMG] CommandData = - [1653155821639] [89108:1730227] CHIP: [DMG] { - [1653155821639] [89108:1730227] CHIP: [DMG] }, - [1653155821639] [89108:1730227] CHIP: [DMG] }, - [1653155821639] [89108:1730227] CHIP: [DMG] - [1653155821639] [89108:1730227] CHIP: [DMG] ], - [1653155821639] [89108:1730227] CHIP: [DMG] - [1653155821639] [89108:1730227] CHIP: [DMG] InteractionModelRevision = 1 - [1653155821639] [89108:1730227] CHIP: [DMG] }, + [1658531007495] [21924:317544] CHIP: [DMG] InvokeRequestMessage = + [1658531007495] [21924:317544] CHIP: [DMG] { + [1658531007495] [21924:317544] CHIP: [DMG] suppressResponse = false, + [1658531007495] [21924:317544] CHIP: [DMG] timedRequest = false, + [1658531007495] [21924:317544] CHIP: [DMG] InvokeRequests = + [1658531007495] [21924:317544] CHIP: [DMG] [ + [1658531007495] [21924:317544] CHIP: [DMG] CommandDataIB = + [1658531007495] [21924:317544] CHIP: [DMG] { + [1658531007495] [21924:317544] CHIP: [DMG] CommandPathIB = + [1658531007495] [21924:317544] CHIP: [DMG] { + [1658531007495] [21924:317544] CHIP: [DMG] EndpointId = 0x3, + [1658531007495] [21924:317544] CHIP: [DMG] ClusterId = 0x506, + [1658531007495] [21924:317544] CHIP: [DMG] CommandId = 0x2, + [1658531007495] [21924:317544] CHIP: [DMG] }, + [1658531007495] [21924:317544] CHIP: [DMG] + [1658531007495] [21924:317544] CHIP: [DMG] CommandFields = + [1658531007495] [21924:317544] CHIP: [DMG] { + [1658531007495] [21924:317544] CHIP: [DMG] }, + [1658531007495] [21924:317544] CHIP: [DMG] }, + [1658531007495] [21924:317544] CHIP: [DMG] + [1658531007495] [21924:317544] CHIP: [DMG] ], + [1658531007495] [21924:317544] CHIP: [DMG] + [1658531007495] [21924:317544] CHIP: [DMG] InteractionModelRevision = 1 + [1658531007495] [21924:317544] CHIP: [DMG] }, disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_7.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_7.yaml index f26657367075dc..5c229fbf6f5fe2 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_7.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: - 19.8.6. [TC-MEDIAPLAYBACK-6.7] Optional Media Playback Verification (DUT as + 3.8.6. [TC-MEDIAPLAYBACK-6.7] Optional Media Playback Verification (DUT as Client) config: @@ -24,201 +24,200 @@ config: tests: - label: "DUT sends Play command to TH" - PICS: MEDIAPLAYBACK.C.C0000 + PICS: MEDIAPLAYBACK.C.C00.Tx verification: | + ./chip-tool mediaplayback play 1 3 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - ./chip-tool mediaplayback play 1 1 - - [1653155763765] [89108:1728729] CHIP: [DMG] InvokeRequestMessage = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] suppressResponse = false, - [1653155763765] [89108:1728729] CHIP: [DMG] timedRequest = false, - [1653155763765] [89108:1728729] CHIP: [DMG] InvokeRequests = - [1653155763765] [89108:1728729] CHIP: [DMG] [ - [1653155763765] [89108:1728729] CHIP: [DMG] CommandDataIB = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] CommandPathIB = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] EndpointId = 0x1, - [1653155763765] [89108:1728729] CHIP: [DMG] ClusterId = 0x506, - [1653155763765] [89108:1728729] CHIP: [DMG] CommandId = 0x0, - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] CommandData = - [1653155763765] [89108:1728729] CHIP: [DMG] { - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] }, - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] ], - [1653155763765] [89108:1728729] CHIP: [DMG] - [1653155763765] [89108:1728729] CHIP: [DMG] InteractionModelRevision = 1 - [1653155763765] [89108:1728729] CHIP: [DMG] }, + [1658531093554] [21924:321344] CHIP: [DMG] InvokeRequestMessage = + [1658531093554] [21924:321344] CHIP: [DMG] { + [1658531093554] [21924:321344] CHIP: [DMG] suppressResponse = false, + [1658531093554] [21924:321344] CHIP: [DMG] timedRequest = false, + [1658531093554] [21924:321344] CHIP: [DMG] InvokeRequests = + [1658531093554] [21924:321344] CHIP: [DMG] [ + [1658531093554] [21924:321344] CHIP: [DMG] CommandDataIB = + [1658531093554] [21924:321344] CHIP: [DMG] { + [1658531093554] [21924:321344] CHIP: [DMG] CommandPathIB = + [1658531093554] [21924:321344] CHIP: [DMG] { + [1658531093554] [21924:321344] CHIP: [DMG] EndpointId = 0x3, + [1658531093554] [21924:321344] CHIP: [DMG] ClusterId = 0x506, + [1658531093554] [21924:321344] CHIP: [DMG] CommandId = 0x0, + [1658531093554] [21924:321344] CHIP: [DMG] }, + [1658531093554] [21924:321344] CHIP: [DMG] + [1658531093554] [21924:321344] CHIP: [DMG] CommandFields = + [1658531093554] [21924:321344] CHIP: [DMG] { + [1658531093554] [21924:321344] CHIP: [DMG] }, + [1658531093554] [21924:321344] CHIP: [DMG] }, + [1658531093554] [21924:321344] CHIP: [DMG] + [1658531093554] [21924:321344] CHIP: [DMG] ], + [1658531093554] [21924:321344] CHIP: [DMG] + [1658531093554] [21924:321344] CHIP: [DMG] InteractionModelRevision = 1 + [1658531093554] [21924:321344] CHIP: [DMG] }, disabled: true - - label: "DUT sends Start Over command to TH" - PICS: MEDIAPLAYBACK.C.C0003 + - label: "DUT sends StartOver command to TH" + PICS: MEDIAPLAYBACK.C.C03.Tx verification: | - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + ./chip-tool mediaplayback start-over 1 3 - ./chip-tool mediaplayback start-over 1 1 - - [1653155863805] [89108:1730610] CHIP: [DMG] InvokeRequestMessage = - [1653155863805] [89108:1730610] CHIP: [DMG] { - [1653155863805] [89108:1730610] CHIP: [DMG] suppressResponse = false, - [1653155863805] [89108:1730610] CHIP: [DMG] timedRequest = false, - [1653155863805] [89108:1730610] CHIP: [DMG] InvokeRequests = - [1653155863805] [89108:1730610] CHIP: [DMG] [ - [1653155863805] [89108:1730610] CHIP: [DMG] CommandDataIB = - [1653155863805] [89108:1730610] CHIP: [DMG] { - [1653155863805] [89108:1730610] CHIP: [DMG] CommandPathIB = - [1653155863805] [89108:1730610] CHIP: [DMG] { - [1653155863805] [89108:1730610] CHIP: [DMG] EndpointId = 0x1, - [1653155863805] [89108:1730610] CHIP: [DMG] ClusterId = 0x506, - [1653155863805] [89108:1730610] CHIP: [DMG] CommandId = 0x3, - [1653155863805] [89108:1730610] CHIP: [DMG] }, - [1653155863805] [89108:1730610] CHIP: [DMG] - [1653155863805] [89108:1730610] CHIP: [DMG] CommandData = - [1653155863805] [89108:1730610] CHIP: [DMG] { - [1653155863805] [89108:1730610] CHIP: [DMG] }, - [1653155863805] [89108:1730610] CHIP: [DMG] }, - [1653155863805] [89108:1730610] CHIP: [DMG] - [1653155863805] [89108:1730610] CHIP: [DMG] ], - [1653155863805] [89108:1730610] CHIP: [DMG] - [1653155863805] [89108:1730610] CHIP: [DMG] InteractionModelRevision = 1 - [1653155863805] [89108:1730610] CHIP: [DMG] }, + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + [1658531129608] [21924:322334] CHIP: [DMG] InvokeRequestMessage = + [1658531129608] [21924:322334] CHIP: [DMG] { + [1658531129608] [21924:322334] CHIP: [DMG] suppressResponse = false, + [1658531129608] [21924:322334] CHIP: [DMG] timedRequest = false, + [1658531129608] [21924:322334] CHIP: [DMG] InvokeRequests = + [1658531129608] [21924:322334] CHIP: [DMG] [ + [1658531129608] [21924:322334] CHIP: [DMG] CommandDataIB = + [1658531129608] [21924:322334] CHIP: [DMG] { + [1658531129608] [21924:322334] CHIP: [DMG] CommandPathIB = + [1658531129608] [21924:322334] CHIP: [DMG] { + [1658531129608] [21924:322334] CHIP: [DMG] EndpointId = 0x3, + [1658531129608] [21924:322334] CHIP: [DMG] ClusterId = 0x506, + [1658531129608] [21924:322334] CHIP: [DMG] CommandId = 0x3, + [1658531129608] [21924:322334] CHIP: [DMG] }, + [1658531129608] [21924:322334] CHIP: [DMG] + [1658531129608] [21924:322334] CHIP: [DMG] CommandFields = + [1658531129608] [21924:322334] CHIP: [DMG] { + [1658531129608] [21924:322334] CHIP: [DMG] }, + [1658531129608] [21924:322334] CHIP: [DMG] }, + [1658531129608] [21924:322334] CHIP: [DMG] + [1658531129608] [21924:322334] CHIP: [DMG] ], + [1658531129609] [21924:322334] CHIP: [DMG] + [1658531129609] [21924:322334] CHIP: [DMG] InteractionModelRevision = 1 + [1658531129609] [21924:322334] CHIP: [DMG] }, disabled: true - label: "DUT sends Next command to TH" - PICS: MEDIAPLAYBACK.C.C0005 + PICS: MEDIAPLAYBACK.C.C05.Tx verification: | + ./chip-tool mediaplayback next 1 3 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - ./chip-tool mediaplayback next 1 1 - - [1653155883955] [89108:1731475] CHIP: [DMG] InvokeRequestMessage = - [1653155883955] [89108:1731475] CHIP: [DMG] { - [1653155883955] [89108:1731475] CHIP: [DMG] suppressResponse = false, - [1653155883955] [89108:1731475] CHIP: [DMG] timedRequest = false, - [1653155883955] [89108:1731475] CHIP: [DMG] InvokeRequests = - [1653155883955] [89108:1731475] CHIP: [DMG] [ - [1653155883955] [89108:1731475] CHIP: [DMG] CommandDataIB = - [1653155883955] [89108:1731475] CHIP: [DMG] { - [1653155883955] [89108:1731475] CHIP: [DMG] CommandPathIB = - [1653155883955] [89108:1731475] CHIP: [DMG] { - [1653155883955] [89108:1731475] CHIP: [DMG] EndpointId = 0x1, - [1653155883956] [89108:1731475] CHIP: [DMG] ClusterId = 0x506, - [1653155883956] [89108:1731475] CHIP: [DMG] CommandId = 0x5, - [1653155883956] [89108:1731475] CHIP: [DMG] }, - [1653155883956] [89108:1731475] CHIP: [DMG] - [1653155883956] [89108:1731475] CHIP: [DMG] CommandData = - [1653155883956] [89108:1731475] CHIP: [DMG] { - [1653155883956] [89108:1731475] CHIP: [DMG] }, - [1653155883956] [89108:1731475] CHIP: [DMG] }, - [1653155883956] [89108:1731475] CHIP: [DMG] - [1653155883956] [89108:1731475] CHIP: [DMG] ], - [1653155883956] [89108:1731475] CHIP: [DMG] - [1653155883956] [89108:1731475] CHIP: [DMG] InteractionModelRevision = 1 - [1653155883956] [89108:1731475] CHIP: [DMG] }, + [1658531176900] [21924:322847] CHIP: [DMG] InvokeRequestMessage = + [1658531176900] [21924:322847] CHIP: [DMG] { + [1658531176900] [21924:322847] CHIP: [DMG] suppressResponse = false, + [1658531176900] [21924:322847] CHIP: [DMG] timedRequest = false, + [1658531176900] [21924:322847] CHIP: [DMG] InvokeRequests = + [1658531176900] [21924:322847] CHIP: [DMG] [ + [1658531176900] [21924:322847] CHIP: [DMG] CommandDataIB = + [1658531176900] [21924:322847] CHIP: [DMG] { + [1658531176900] [21924:322847] CHIP: [DMG] CommandPathIB = + [1658531176900] [21924:322847] CHIP: [DMG] { + [1658531176900] [21924:322847] CHIP: [DMG] EndpointId = 0x3, + [1658531176900] [21924:322847] CHIP: [DMG] ClusterId = 0x506, + [1658531176900] [21924:322847] CHIP: [DMG] CommandId = 0x5, + [1658531176900] [21924:322847] CHIP: [DMG] }, + [1658531176900] [21924:322847] CHIP: [DMG] + [1658531176900] [21924:322847] CHIP: [DMG] CommandFields = + [1658531176900] [21924:322847] CHIP: [DMG] { + [1658531176900] [21924:322847] CHIP: [DMG] }, + [1658531176900] [21924:322847] CHIP: [DMG] }, + [1658531176900] [21924:322847] CHIP: [DMG] + [1658531176900] [21924:322847] CHIP: [DMG] ], + [1658531176900] [21924:322847] CHIP: [DMG] + [1658531176900] [21924:322847] CHIP: [DMG] InteractionModelRevision = 1 + [1658531176900] [21924:322847] CHIP: [DMG] }, disabled: true - label: "DUT sends Previous command to TH" - PICS: MEDIAPLAYBACK.C.C0004 + PICS: MEDIAPLAYBACK.C.C04.Tx verification: | + ./chip-tool mediaplayback previous 1 3 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - ./chip-tool mediaplayback previous 1 1 - - [1653155908464] [89108:1731410] CHIP: [DMG] InvokeRequestMessage = - [1653155908464] [89108:1731410] CHIP: [DMG] { - [1653155908464] [89108:1731410] CHIP: [DMG] suppressResponse = false, - [1653155908464] [89108:1731410] CHIP: [DMG] timedRequest = false, - [1653155908464] [89108:1731410] CHIP: [DMG] InvokeRequests = - [1653155908464] [89108:1731410] CHIP: [DMG] [ - [1653155908464] [89108:1731410] CHIP: [DMG] CommandDataIB = - [1653155908464] [89108:1731410] CHIP: [DMG] { - [1653155908464] [89108:1731410] CHIP: [DMG] CommandPathIB = - [1653155908464] [89108:1731410] CHIP: [DMG] { - [1653155908464] [89108:1731410] CHIP: [DMG] EndpointId = 0x1, - [1653155908464] [89108:1731410] CHIP: [DMG] ClusterId = 0x506, - [1653155908464] [89108:1731410] CHIP: [DMG] CommandId = 0x4, - [1653155908464] [89108:1731410] CHIP: [DMG] }, - [1653155908464] [89108:1731410] CHIP: [DMG] - [1653155908464] [89108:1731410] CHIP: [DMG] CommandData = - [1653155908464] [89108:1731410] CHIP: [DMG] { - [1653155908464] [89108:1731410] CHIP: [DMG] }, - [1653155908464] [89108:1731410] CHIP: [DMG] }, - [1653155908464] [89108:1731410] CHIP: [DMG] - [1653155908464] [89108:1731410] CHIP: [DMG] ], - [1653155908464] [89108:1731410] CHIP: [DMG] - [1653155908464] [89108:1731410] CHIP: [DMG] InteractionModelRevision = 1 - [1653155908464] [89108:1731410] CHIP: [DMG] }, + [1658531212499] [21924:323521] CHIP: [DMG] InvokeRequestMessage = + [1658531212499] [21924:323521] CHIP: [DMG] { + [1658531212499] [21924:323521] CHIP: [DMG] suppressResponse = false, + [1658531212499] [21924:323521] CHIP: [DMG] timedRequest = false, + [1658531212499] [21924:323521] CHIP: [DMG] InvokeRequests = + [1658531212499] [21924:323521] CHIP: [DMG] [ + [1658531212499] [21924:323521] CHIP: [DMG] CommandDataIB = + [1658531212499] [21924:323521] CHIP: [DMG] { + [1658531212499] [21924:323521] CHIP: [DMG] CommandPathIB = + [1658531212499] [21924:323521] CHIP: [DMG] { + [1658531212499] [21924:323521] CHIP: [DMG] EndpointId = 0x3, + [1658531212499] [21924:323521] CHIP: [DMG] ClusterId = 0x506, + [1658531212499] [21924:323521] CHIP: [DMG] CommandId = 0x4, + [1658531212499] [21924:323521] CHIP: [DMG] }, + [1658531212499] [21924:323521] CHIP: [DMG] + [1658531212499] [21924:323521] CHIP: [DMG] CommandFields = + [1658531212499] [21924:323521] CHIP: [DMG] { + [1658531212499] [21924:323521] CHIP: [DMG] }, + [1658531212499] [21924:323521] CHIP: [DMG] }, + [1658531212499] [21924:323521] CHIP: [DMG] + [1658531212499] [21924:323521] CHIP: [DMG] ], + [1658531212499] [21924:323521] CHIP: [DMG] + [1658531212499] [21924:323521] CHIP: [DMG] InteractionModelRevision = 1 + [1658531212499] [21924:323521] CHIP: [DMG] }, disabled: true - - label: "DUT sends Skip Forward command to TH" - PICS: MEDIAPLAYBACK.C.C0008 + - label: "DUT sends SkipForward command to TH" + PICS: MEDIAPLAYBACK.C.C08.Tx verification: | - The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - - ./chip-tool mediaplayback skip-forward 2000 1 1 - - [1653155942341] [89108:1732693] CHIP: [DMG] InvokeRequestMessage = - [1653155942341] [89108:1732693] CHIP: [DMG] { - [1653155942341] [89108:1732693] CHIP: [DMG] suppressResponse = false, - [1653155942341] [89108:1732693] CHIP: [DMG] timedRequest = false, - [1653155942341] [89108:1732693] CHIP: [DMG] InvokeRequests = - [1653155942341] [89108:1732693] CHIP: [DMG] [ - [1653155942341] [89108:1732693] CHIP: [DMG] CommandDataIB = - [1653155942341] [89108:1732693] CHIP: [DMG] { - [1653155942341] [89108:1732693] CHIP: [DMG] CommandPathIB = - [1653155942341] [89108:1732693] CHIP: [DMG] { - [1653155942341] [89108:1732693] CHIP: [DMG] EndpointId = 0x1, - [1653155942341] [89108:1732693] CHIP: [DMG] ClusterId = 0x506, - [1653155942341] [89108:1732693] CHIP: [DMG] CommandId = 0x8, - [1653155942342] [89108:1732693] CHIP: [DMG] }, - [1653155942342] [89108:1732693] CHIP: [DMG] - [1653155942342] [89108:1732693] CHIP: [DMG] CommandData = - [1653155942342] [89108:1732693] CHIP: [DMG] { - [1653155942342] [89108:1732693] CHIP: [DMG] 0x0 = 2000, - [1653155942342] [89108:1732693] CHIP: [DMG] }, - [1653155942342] [89108:1732693] CHIP: [DMG] }, - [1653155942342] [89108:1732693] CHIP: [DMG] - [1653155942342] [89108:1732693] CHIP: [DMG] ], - [1653155942342] [89108:1732693] CHIP: [DMG] - [1653155942342] [89108:1732693] CHIP: [DMG] InteractionModelRevision = 1 - [1653155942342] [89108:1732693] CHIP: [DMG] }, + ./chip-tool mediaplayback skip-forward 10000 1 3 + + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. + + [1658531247634] [21924:323905] CHIP: [DMG] InvokeRequestMessage = + [1658531247634] [21924:323905] CHIP: [DMG] { + [1658531247634] [21924:323905] CHIP: [DMG] suppressResponse = false, + [1658531247634] [21924:323905] CHIP: [DMG] timedRequest = false, + [1658531247634] [21924:323905] CHIP: [DMG] InvokeRequests = + [1658531247634] [21924:323905] CHIP: [DMG] [ + [1658531247634] [21924:323905] CHIP: [DMG] CommandDataIB = + [1658531247634] [21924:323905] CHIP: [DMG] { + [1658531247634] [21924:323905] CHIP: [DMG] CommandPathIB = + [1658531247634] [21924:323905] CHIP: [DMG] { + [1658531247634] [21924:323905] CHIP: [DMG] EndpointId = 0x3, + [1658531247634] [21924:323905] CHIP: [DMG] ClusterId = 0x506, + [1658531247634] [21924:323905] CHIP: [DMG] CommandId = 0x8, + [1658531247634] [21924:323905] CHIP: [DMG] }, + [1658531247634] [21924:323905] CHIP: [DMG] + [1658531247635] [21924:323905] CHIP: [DMG] CommandFields = + [1658531247635] [21924:323905] CHIP: [DMG] { + [1658531247635] [21924:323905] CHIP: [DMG] 0x0 = 10000, + [1658531247635] [21924:323905] CHIP: [DMG] }, + [1658531247635] [21924:323905] CHIP: [DMG] }, + [1658531247635] [21924:323905] CHIP: [DMG] + [1658531247635] [21924:323905] CHIP: [DMG] ], + [1658531247635] [21924:323905] CHIP: [DMG] + [1658531247635] [21924:323905] CHIP: [DMG] InteractionModelRevision = 1 + [1658531247635] [21924:323905] CHIP: [DMG] }, disabled: true - - label: "DUT sends Skip Backward command to TH" - PICS: MEDIAPLAYBACK.C.C0009 + - label: "DUT sends SkipBackward command to TH" + PICS: MEDIAPLAYBACK.C.C09.Tx verification: | + ./chip-tool mediaplayback skip-backward 10000 1 3 + The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. - ./chip-tool mediaplayback skip-backward 2000 1 1 - - [1653155967344] [89108:1733002] CHIP: [DMG] InvokeRequestMessage = - [1653155967344] [89108:1733002] CHIP: [DMG] { - [1653155967344] [89108:1733002] CHIP: [DMG] suppressResponse = false, - [1653155967344] [89108:1733002] CHIP: [DMG] timedRequest = false, - [1653155967344] [89108:1733002] CHIP: [DMG] InvokeRequests = - [1653155967344] [89108:1733002] CHIP: [DMG] [ - [1653155967344] [89108:1733002] CHIP: [DMG] CommandDataIB = - [1653155967344] [89108:1733002] CHIP: [DMG] { - [1653155967344] [89108:1733002] CHIP: [DMG] CommandPathIB = - [1653155967344] [89108:1733002] CHIP: [DMG] { - [1653155967344] [89108:1733002] CHIP: [DMG] EndpointId = 0x1, - [1653155967344] [89108:1733002] CHIP: [DMG] ClusterId = 0x506, - [1653155967344] [89108:1733002] CHIP: [DMG] CommandId = 0x9, - [1653155967344] [89108:1733002] CHIP: [DMG] }, - [1653155967344] [89108:1733002] CHIP: [DMG] - [1653155967344] [89108:1733002] CHIP: [DMG] CommandData = - [1653155967344] [89108:1733002] CHIP: [DMG] { - [1653155967344] [89108:1733002] CHIP: [DMG] 0x0 = 2000, - [1653155967344] [89108:1733002] CHIP: [DMG] }, - [1653155967344] [89108:1733002] CHIP: [DMG] }, - [1653155967344] [89108:1733002] CHIP: [DMG] - [1653155967344] [89108:1733002] CHIP: [DMG] ], - [1653155967344] [89108:1733002] CHIP: [DMG] - [1653155967344] [89108:1733002] CHIP: [DMG] InteractionModelRevision = 1 - [1653155967344] [89108:1733002] CHIP: [DMG] }, + [1658531281369] [21924:323905] CHIP: [DMG] InvokeRequestMessage = + [1658531281369] [21924:323905] CHIP: [DMG] { + [1658531281369] [21924:323905] CHIP: [DMG] suppressResponse = false, + [1658531281369] [21924:323905] CHIP: [DMG] timedRequest = false, + [1658531281369] [21924:323905] CHIP: [DMG] InvokeRequests = + [1658531281369] [21924:323905] CHIP: [DMG] [ + [1658531281369] [21924:323905] CHIP: [DMG] CommandDataIB = + [1658531281369] [21924:323905] CHIP: [DMG] { + [1658531281369] [21924:323905] CHIP: [DMG] CommandPathIB = + [1658531281369] [21924:323905] CHIP: [DMG] { + [1658531281369] [21924:323905] CHIP: [DMG] EndpointId = 0x3, + [1658531281369] [21924:323905] CHIP: [DMG] ClusterId = 0x506, + [1658531281369] [21924:323905] CHIP: [DMG] CommandId = 0x9, + [1658531281369] [21924:323905] CHIP: [DMG] }, + [1658531281369] [21924:323905] CHIP: [DMG] + [1658531281369] [21924:323905] CHIP: [DMG] CommandFields = + [1658531281369] [21924:323905] CHIP: [DMG] { + [1658531281369] [21924:323905] CHIP: [DMG] 0x0 = 10000, + [1658531281369] [21924:323905] CHIP: [DMG] }, + [1658531281369] [21924:323905] CHIP: [DMG] }, + [1658531281369] [21924:323905] CHIP: [DMG] + [1658531281369] [21924:323905] CHIP: [DMG] ], + [1658531281369] [21924:323905] CHIP: [DMG] + [1658531281369] [21924:323905] CHIP: [DMG] InteractionModelRevision = 1 + [1658531281369] [21924:323905] CHIP: [DMG] }, disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml index d638099f0ca101..7e60d9847fda91 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_6.yaml @@ -31,9 +31,14 @@ tests: disabled: true - label: "Check DNS-SD subtypes used by DUT" + PICS: + MCORE.SC.DEVTYPE_SUBTYPE && MCORE.SC.VP_KEY && MCORE.SC.DT_KEY && + MCORE.SC.DN_KEY verification: | avahi-publish-service --subtype=_V123._sub._matterd._udp DD200C20D25AE5F7 _matterd._udp 33333 VP=123+456 DT=35 DN="Living Room TV" + Verify on the TH Log: + ubuntu@ubuntu:~$ avahi-browse _matterd._udp -r + eth0 IPv6 DD200C20D25AE5F7 _matterd._udp local @@ -52,10 +57,10 @@ tests: to look for subtypes, on the raspi run $ avahi-browse -p _services._dns-sd._udp - | grep _matterc + | grep _matterd - +;eth0;IPv6;_CM;_sub._matterc._udp;local - +;eth0;IPv6;_L3840;_sub._matterc._udp;local - +;eth0;IPv6;_S0;_sub._matterc._udp;local - +;eth0;IPv6;_V9050;_sub._matterc._udp;local + +;eth0;IPv6;_CM;_sub._matterd._udp;local + +;eth0;IPv6;_L3840;_sub._matterd._udp;local + +;eth0;IPv6;_S0;_sub._matterd._udp;local + +;eth0;IPv6;_V9050;_sub._matterd._udp;local disabled: true diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 1f968549abfb96..4731553297c296 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -329,18 +329,14 @@ MEDIAPLAYBACK.S.C08.Rsp=1 MEDIAPLAYBACK.S.C09.Rsp=1 MEDIAPLAYBACK.S.C0B.Rsp=1 - -MEDIAPLAYBACK.C.C0000=1 -MEDIAPLAYBACK.C.C0001=1 -MEDIAPLAYBACK.C.C0002=1 -MEDIAPLAYBACK.C.C0003=1 -MEDIAPLAYBACK.C.C0004=1 -MEDIAPLAYBACK.C.C0005=1 -MEDIAPLAYBACK.C.C0006=1 -MEDIAPLAYBACK.C.C0007=1 -MEDIAPLAYBACK.C.C0008=1 -MEDIAPLAYBACK.C.C0009=1 -MEDIAPLAYBACK.C.C000B=1 +MEDIAPLAYBACK.C.C00.Tx=1 +MEDIAPLAYBACK.C.C01.Tx=1 +MEDIAPLAYBACK.C.C02.Tx=1 +MEDIAPLAYBACK.C.C03.Tx=1 +MEDIAPLAYBACK.C.C04.Tx=1 +MEDIAPLAYBACK.C.C05.Tx=1 +MEDIAPLAYBACK.C.C08.Tx=1 +MEDIAPLAYBACK.C.C09.Tx=1 AUDIOOUTPUT.S.A0000=1 AUDIOOUTPUT.S.C0000=1 @@ -450,6 +446,7 @@ PRS.S.F00=0 PRS.M.PressureChange=0 #Groups Cluster +G.S.F00=1 G.S.A0000=0 GRPKEY.S.A0001=0 G.S.C00.Rsp=0 diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index a29b7253fb6058..b869f8db1b4a8e 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -123,8 +123,6 @@ function getManualTests() { "Test_TC_CNET_4_4", "Test_TC_CNET_4_5", "Test_TC_CNET_4_6", - "Test_TC_CNET_4_7", - "Test_TC_CNET_4_8", "Test_TC_CNET_4_9", "Test_TC_CNET_4_10", "Test_TC_CNET_4_11", @@ -161,7 +159,6 @@ function getManualTests() { const GeneralCommissioning = [ "Test_TC_CGEN_2_2", - "Test_TC_CGEN_2_3", "Test_TC_CGEN_2_4", ]; diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index a5d28338fce505..9992558a87cb26 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -316,8 +316,6 @@ class ManualTestList : public Command printf("Test_TC_CNET_4_4\n"); printf("Test_TC_CNET_4_5\n"); printf("Test_TC_CNET_4_6\n"); - printf("Test_TC_CNET_4_7\n"); - printf("Test_TC_CNET_4_8\n"); printf("Test_TC_CNET_4_9\n"); printf("Test_TC_CNET_4_10\n"); printf("Test_TC_CNET_4_11\n"); @@ -342,7 +340,6 @@ class ManualTestList : public Command printf("Test_TC_DGETH_3_1\n"); printf("Test_TC_DGETH_3_2\n"); printf("Test_TC_CGEN_2_2\n"); - printf("Test_TC_CGEN_2_3\n"); printf("Test_TC_CGEN_2_4\n"); printf("Test_TC_DGGEN_2_2\n"); printf("Test_TC_DGGEN_2_3\n"); @@ -71273,118 +71270,6 @@ class Test_TC_CNET_4_6Suite : public TestCommand } }; -class Test_TC_CNET_4_7Suite : public TestCommand -{ -public: - Test_TC_CNET_4_7Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CNET_4_7", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_CNET_4_7Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - -class Test_TC_CNET_4_8Suite : public TestCommand -{ -public: - Test_TC_CNET_4_8Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CNET_4_8", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_CNET_4_8Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - class Test_TC_CNET_4_9Suite : public TestCommand { public: @@ -72729,62 +72614,6 @@ class Test_TC_CGEN_2_2Suite : public TestCommand } }; -class Test_TC_CGEN_2_3Suite : public TestCommand -{ -public: - Test_TC_CGEN_2_3Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CGEN_2_3", 0, credsIssuerConfig) - { - AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); - AddArgument("cluster", &mCluster); - AddArgument("endpoint", 0, UINT16_MAX, &mEndpoint); - AddArgument("timeout", 0, UINT16_MAX, &mTimeout); - } - - ~Test_TC_CGEN_2_3Suite() {} - - chip::System::Clock::Timeout GetWaitDuration() const override - { - return chip::System::Clock::Seconds16(mTimeout.ValueOr(kTimeoutInSeconds)); - } - -private: - chip::Optional mNodeId; - chip::Optional mCluster; - chip::Optional mEndpoint; - chip::Optional mTimeout; - - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } - - // - // Tests methods - // - - void OnResponse(const chip::app::StatusIB & status, chip::TLV::TLVReader * data) override - { - bool shouldContinue = false; - - switch (mTestIndex - 1) - { - default: - LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); - } - - if (shouldContinue) - { - ContinueOnChipMainThread(CHIP_NO_ERROR); - } - } - - CHIP_ERROR DoTestStep(uint16_t testIndex) override - { - using namespace chip::app::Clusters; - switch (testIndex) - { - } - return CHIP_NO_ERROR; - } -}; - class Test_TC_CGEN_2_4Suite : public TestCommand { public: @@ -93198,8 +93027,6 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), @@ -93224,7 +93051,6 @@ void registerCommandsTests(Commands & commands, CredentialIssuerCommands * creds make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), - make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig), make_unique(credsIssuerConfig),