Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added updated Manual scripts #21949

Merged
merged 4 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tests:
DUT
sudo ./chip-all-clusters-app

TH
TH1
./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841
disabled: true

Expand All @@ -38,7 +38,7 @@ tests:
CurrentFabricIndex attribute"
verification: |
./chip-tool operationalcredentials read current-fabric-index 1 0

On TH1(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 1
[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
Expand All @@ -51,7 +51,7 @@ tests:
Open a commissioning window On TH(Chiptool)1 using below command

./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000
On TH(Chiptool)2, verify DUT is commissioned On TH(Chiptool)2 fabric
On TH1(Chiptool), verify DUT is commissioned On TH2(Chiptool) fabric

[1657286379.420840][4724:4729] CHIP:DMG: InvokeResponseMessage =
[1657286379.420894][4724:4729] CHIP:DMG: {
Expand Down Expand Up @@ -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(Chiptool), verify to CurrentFabricIndex attribute of operationalCredential cluster as 2
On TH2(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 @@ -116,9 +116,9 @@ tests:
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
On TH(Chiptool)1 , Verify Successfully AccessControl cluster ACL attribute, value is list of AccessControlEntryStruct containing 2 elements
./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [112233,1111], "targets": null},
{ "privilege": 3, "authMode": 3, "subjects":[3333] , "targets": null}]" 1 0
On TH1(Chiptool) , 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 =
Expand Down Expand Up @@ -192,11 +192,11 @@ tests:
field: null"
PICS: ACL.S.A0000
verification: |
./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
./chip-tool accesscontrol write acl "[{ "privilege": 5, "authMode": 2, "subjects": [223344,2222], "targets": null},
{ "privilege": 3, "authMode": 3, "subjects":[4444] , "targets": null}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta


On TH(Chiptool)2 , Verify AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 2 elements
On TH2(Chiptool), Verify AccessControl cluster ACL attribute value is list of AccessControlEntryStruct containing 2 elements


[1658329868.113411][4587:4592] CHIP:DMG: WriteClient moving to [ResponseRe]
Expand Down Expand Up @@ -269,7 +269,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension "[{"data":"1718"}]" 1 0
On TH(Chiptool)1 , Verify Successfully to extension attribute list containg one element
On TH1(Chiptool) , 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 @@ -324,7 +324,7 @@ tests:
verification: |
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta

On TH(Chiptool)2 , Verify Successfully extension attribute list containg one element .
On TH1(Chiptool), 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 @@ -390,7 +390,7 @@ tests:
verification: |
./chip-tool accesscontrol read acl 1 0

On TH(Chiptool) 1, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2
On TH1(Chiptool) , 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 @@ -418,7 +418,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol read extension 1 0
On TH(Chiptool)1 , Verify Successfully AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2
On TH1(Chiptool) , 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 @@ -434,7 +434,7 @@ tests:
verification: |
./chip-tool accesscontrol read acl 2 0 --commissioner-name beta --commissioner-nodeid 223344

On TH(Chiptool) 2, Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F1
On TH2(Chiptool) , 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 @@ -464,7 +464,7 @@ tests:
verification: |
./chip-tool accesscontrol read extension 2 0 --commissioner-name beta --commissioner-nodeid 223344

On TH(Chiptool)2 , Verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1
On TH2(Chiptool) , 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 @@ -485,7 +485,7 @@ tests:
verification: |
./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344

On TH(Chiptool)1 , Verify successfully removed fabric F2
On TH1(Chiptool), 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 @@ -499,7 +499,7 @@ tests:
PICS: ACL.S.A0000
verification: |
./chip-tool accesscontrol read acl 1 0
On TH(Chiptool)1 , Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2
On TH1(Chiptool) , Verify AccessControlEntryStruct containing 2 elements, and MUST NOT contain an element with FabricIndex F2



Expand Down Expand Up @@ -529,7 +529,7 @@ tests:
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol read extension 1 0
On TH(Chiptool)1 , Verify Successfully to AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F2
On TH1(Chiptool), 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