Skip to content

Commit

Permalink
Updated Manual scripts (#21833)
Browse files Browse the repository at this point in the history
* Added Updated Manual scripts

* Added Auto generated file

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
kowsisoundhar12 and restyled-commits authored Aug 11, 2022
1 parent 7347f9b commit afd4ab7
Show file tree
Hide file tree
Showing 42 changed files with 2,860 additions and 1,356 deletions.
19 changes: 19 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,15 @@ PICS:
- label: "Does the device implement the CurrentScene attribute?"
id: SWTCH.C.F01

- label: "Does the MS device support Momentary Switch Release?"
id: SWTCH.C.F02

- label: "Does the MS device support Momentary Switch LongPress?"
id: SWTCH.C.F03

- label: "Does the MS device support Momentary Switch MultiPress?"
id: SWTCH.C.F04

#General Commissioning Cluster
- label: "Does the device(Server) support Breadcrumb attribute?"
id: CGEN.S.A0000
Expand Down Expand Up @@ -4111,6 +4120,16 @@ PICS:
database' feature?"
id: DRLK.S.F08

- label:
"Does the DUT(server) support the 'Lock supports yearday access
schedules' feature?"
id: DRLK.S.F10

- label:
"Does the DUT(server) support the 'Lock supports holiday access
schedules' feature?"
id: DRLK.S.F11

- label:
"Does the DUT(server) support the 'PIN codes over the-air supported
for lock/unlock operations' feature?"
Expand Down
11 changes: 5 additions & 6 deletions src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
verification: |
./chip-tool accesscontrol read cluster-revision 1 0
On TH, verify DUT responds the cluster revision value as 1
Verify Successfully" ClusterRevision " on the TH(Chip-tool) Log:
[1656335651.726036][4621:4626] CHIP:DMG: SuppressResponse = true,
[1656335651.726074][4621:4626] CHIP:DMG: InteractionModelRevision = 1
Expand All @@ -50,7 +50,7 @@ tests:
verification: |
./chip-tool accesscontrol read feature-map 1 0
On TH, verify DUT responds the Featuremap value as 0
Verify Successfully " FeatureMap attribute " on the TH(Chip-tool) Log:
[1656335839.955385][4637:4642] CHIP:DMG:
[1656335839.955419][4637:4642] CHIP:DMG: SuppressResponse = true,
Expand All @@ -67,7 +67,7 @@ tests:
verification: |
./chip-tool accesscontrol read attribute-list 1 0
On TH, verify DUT responds with a list of Attributes with 10 entries.
Verify Successfully"AttributeList attribute " on the TH(Chip-tool) Log:.
[1655960990.225266][2516:2521] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_FFFB DataVersion: 477297741
[1655960990.225364][2516:2521] CHIP:TOO: AttributeList: 10 entries
Expand All @@ -94,8 +94,7 @@ tests:
attribute"
verification: |
./chip-tool accesscontrol read accepted-command-list 1 0
on TH , verify DUT responds right to acceptedcommand list with 0 entries
Verify Successfully" AcceptedCommandList attribute " on the TH(Chip-tool) Log:
[[1656478328.210742][2458:2463] CHIP:DMG:
[1656478328.210767][2458:2463] CHIP:DMG: ],
Expand All @@ -115,7 +114,7 @@ tests:
verification: |
./chip-tool accesscontrol read generated-command-list 1 0
on TH , verify DUT responds right to GeneratedCommandList with 0 entries
Verify Successfully" GeneratedCommandList attribute " on the TH(Chip-tool) Log:
[[1656478396.324314][2467:2472] CHIP:DMG:
[1656478396.324346][2467:2472] CHIP:DMG: ],
Expand Down
10 changes: 5 additions & 5 deletions src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
PICS: ACL.S.A0002
verification: |
./chip-tool accesscontrol read subjects-per-access-control-entry 1 0
On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry.
On TH(Chiptool), verify with value 4 or greater as subjects-per-access-control-entry.
[1656409485.639551][2769:2774] CHIP:DMG: ],
[1656409485.639582][2769:2774] CHIP:DMG:
[1656409485.639608][2769:2774] CHIP:DMG: SuppressResponse = true,
Expand All @@ -53,7 +53,7 @@ tests:
PICS: ACL.S.A0003
verification: |
./chip-tool accesscontrol read targets-per-access-control-entry 1 0
On TH, verify DUT responds with value 3 or greater as Targets-per-access-control-entry.
On TH(Chiptool), verify with value 3 or greater as Targets-per-access-control-entry.
[1656409746.779627][2799:2804] CHIP:DMG: },
[1656409746.779672][2799:2804] CHIP:DMG:
Expand All @@ -73,7 +73,7 @@ tests:
PICS: ACL.S.A0004
verification: |
./chip-tool accesscontrol read access-control-entries-per-fabric 1 0
On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric.
On TH(Chiptool), verify with value 3 or greater as AccessControlEntriesPerFabric.
[1656409955.865361][2822:2827] CHIP:DMG:
[1656409955.865393][2822:2827] CHIP:DMG: ],
Expand All @@ -95,7 +95,7 @@ tests:
"TH1 reads DUT Descriptor cluster ServerList attribute from Endpoint 0"
verification: |
./chip-tool descriptor read server-list 1 0
On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster with an element of 31( 0x001F)
On TH(Chiptool) ,Verify the serverList attribute of Descriptor Cluster with an element of 31( 0x001F)
[1658323282.743614][2301:2306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 680928677
[1658323282.743771][2301:2306] CHIP:TOO: server list: 26 entries
Expand Down Expand Up @@ -135,7 +135,7 @@ tests:
./chip-tool descriptor read server-list 1 1
On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster without an element of 31( 0x001F)
On TH(Chiptool) ,Verify the serverList attribute of Descriptor Cluster without an element of 31( 0x001F)
[1656412927.698026][3383:3388] CHIP:DMG: SuppressResponse = true,
[1656412927.698052][3383:3388] CHIP:DMG: InteractionModelRevision = 1
Expand Down
35 changes: 19 additions & 16 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ tests:
"TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin
node ID N2"
verification: |
Open a commissioning window on TH1 using below command
Open a commissioning window On TH(Chiptool)1 using below command
./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000
On TH2, verify DUT Responds SUCCESSFULLY
On TH(Chiptool)2, verify DUT is commissioned On TH(Chiptool)2 fabric
[1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage =
[1657286379.420894][4724:4729] CHIP:DMG: {
Expand Down Expand Up @@ -87,7 +87,7 @@ tests:
Commission TH2 to DUT using below command
CommissiOn TH(Chiptool)2 to DUT using below command
./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta --commissioner-nodeid 223344
Expand All @@ -100,7 +100,7 @@ tests:
CurrentFabricIndex attribute"
verification: |
./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-nodeid 223344 --commissioner-name beta
On TH, Verify DUT Responds to CurrentFabricIndex attribute of operationalCredential cluster as 2
On TH(Chiptool), verify to CurrentFabricIndex attribute of operationalCredential cluster as 2
1658329570.828165][4563:4568] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 1369963572
[1658329570.831838][4563:4568] CHIP:TOO: CurrentFabricIndex: 2
Expand All @@ -117,8 +117,9 @@ tests:
PICS: ACL.S.A0000
verification: |
./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets": null},
{"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0 --commissioner-nodeid 223344 --commissioner-name beta
On TH1 , Verify DUT Responds Successfully
{"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0
On TH(Chiptool)1 , Verify Successfully AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements
[1658329787.635523][3056:3061] CHIP:DMG: WriteClient moving to [ResponseRe]
[1658329787.635615][3056:3061] CHIP:DMG: WriteResponseMessage =
[1658329787.635661][3056:3061] CHIP:DMG: {
Expand Down Expand Up @@ -195,7 +196,8 @@ tests:
{"fabricIndex": 1, "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta
On TH2 , Verify DUT Responds Successfully
On TH(Chiptool)2 , Verify AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 2 elements
[1658329868.113411][4587:4592] CHIP:DMG: WriteClient moving to [ResponseRe]
[1658329868.113469][4587:4592] CHIP:DMG: WriteResponseMessage =
Expand Down Expand Up @@ -267,7 +269,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0
On TH , Verify DUT Responds Successfully to extension attribute list containg one element
On TH(Chiptool)1 , Verify Successfully to extension attribute list containg one element
[1658330105.863185][3079:3084] CHIP:DMG: WriteClient moving to [ResponseRe]
[1658330105.863237][3079:3084] CHIP:DMG: WriteResponseMessage =
[1658330105.863262][3079:3084] CHIP:DMG: {
Expand Down Expand Up @@ -322,7 +324,7 @@ tests:
verification: |
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta
On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element .
On TH(Chiptool)2 , Verify Successfully extension attribute list containg one element .
[1658819083.842765][8349:8354] CHIP:EM: Removed CHIP MessageCounter:249057275 from RetransTable on exchange 59888i
[1658819083.842800][8349:8354] CHIP:DMG: WriteClient moving to [ResponseRe]
Expand Down Expand Up @@ -388,7 +390,7 @@ tests:
verification: |
./chip-tool accesscontrol read acl 1 0
On TH 1, Verify DUT Responds Successfully.
On TH(Chiptool) 1, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2
[1657289627.393651][5251:5256] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152
[1657289627.393731][5251:5256] CHIP:TOO: ACL: 2 entries
Expand Down Expand Up @@ -416,7 +418,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol read extension 1 0
On TH1 , Verify DUT Responds Successfully
On TH(Chiptool)1 , Verify Successfully AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2
[1657289676.947323][5260:5265] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152
Expand All @@ -432,7 +434,7 @@ tests:
verification: |
./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344
On TH 2, Verify DUT Responds Successfully .
On TH(Chiptool) 2, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F1
[1657289713.626327][19279:19284] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152
Expand Down Expand Up @@ -462,7 +464,7 @@ tests:
verification: |
./chip-tool accesscontrol read extension 2 0 --commissioner-name beta --commissioner-nodeid 223344
On TH2 , Verify DUT Responds Successfully to extension attribute list containg one element .
On TH(Chiptool)2 , Verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1
[1657289746.737641][19293:19298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152
[1657289746.737713][19293:19298] CHIP:TOO: Extension: 1 entries
Expand All @@ -483,7 +485,7 @@ tests:
verification: |
./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344
On TH2 , Verify DUT Responds Successfully .
On TH(Chiptool)1 , Verify successfully removed fabric F2
[1657289809.358455][19309:19314] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1657289809.358500][19309:19314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
Expand All @@ -497,7 +499,8 @@ tests:
PICS: ACL.S.A0000
verification: |
./chip-tool accesscontrol read acl 1 0
On TH1 , Verify DUT Responds Successfully .
On TH(Chiptool)1 , Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2
[1657289848.956276][5274:5279] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1884338152
Expand Down Expand Up @@ -526,7 +529,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol read extension 1 0
On TH1 , Verify DUT Responds Successfully to extension attribute list containg one element .
On TH(Chiptool)1 , Verify Successfully to AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2
[1657289881.142883][5283:5288] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 1884338152
Expand Down
Loading

0 comments on commit afd4ab7

Please sign in to comment.