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

Test added aug26 #22186

Merged
merged 7 commits into from
Aug 27, 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
26 changes: 15 additions & 11 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tests:
- label: "TH1 commissions DUT using admin node ID N1"
verification: |
DUT
sudo ./chip-all-clusters-app
sudo ./chip-all-clusters-app --wifi

TH1
./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841
Expand All @@ -62,7 +62,7 @@ tests:
"TH1 puts DUT into commissioning mode, TH2 commissions DUT using admin
node ID N2"
verification: |
Open a commissioning window On TH(Chiptool)1 using below command
Open a commissioning window On TH1(Chiptool)using below command

./chip-tool administratorcommissioning open-basic-commissioning-window 180 1 0 --timedInteractionTimeoutMs 1000
On TH1(Chiptool), verify DUT is commissioned On TH2(Chiptool) fabric
Expand Down Expand Up @@ -338,7 +338,7 @@ tests:
verification: |
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-nodeid 223344 --commissioner-name beta

On TH1(Chiptool), Verify Successfully extension attribute list containg one element .
On TH2(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 @@ -497,16 +497,20 @@ tests:

- label: "TH1 removes fabric F2 from DUT"
verification: |
./chip-tool operationalcredentials remove-fabric 2 2 0 --commissioner-name beta --commissioner-nodeid 223344
./chip-tool operationalcredentials remove-fabric 2 1 0

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
[1657289809.358559][19309:19314] CHIP:TOO: NOCResponse: {
[1657289809.358600][19309:19314] CHIP:TOO: statusCode: 0
[1657289809.358620][19309:19314] CHIP:TOO: fabricIndex: 2
[1657289809.358641][19309:19314] CHIP:TOO: }
On TH1(Chiptool), Verify successfully removed fabric F2 with statusCode as 0(Success)

[1661404505.702969][18706:18711] CHIP:DMG:
[1661404505.702979][18706:18711] CHIP:DMG: InteractionModelRevision = 1
[1661404505.702987][18706:18711] CHIP:DMG: },
[1661404505.703020][18706:18711] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1661404505.703047][18706:18711] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
[1661404505.703081][18706:18711] CHIP:TOO: NOCResponse: {
[1661404505.703104][18706:18711] CHIP:TOO: statusCode: 0
[1661404505.703126][18706:18711] CHIP:TOO: fabricIndex: 2
[1661404505.703139][18706:18711] CHIP:TOO: }
disabled: true

- label: "TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"
Expand Down
156 changes: 53 additions & 103 deletions src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml

Large diffs are not rendered by default.

136 changes: 62 additions & 74 deletions src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml

Large diffs are not rendered by default.

436 changes: 92 additions & 344 deletions src/app/tests/suites/certification/Test_TC_ACL_2_5.yaml

Large diffs are not rendered by default.

516 changes: 271 additions & 245 deletions src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tests:
- label: "TH1 commissions DUT using admin node ID N1"
verification: |
DUT
sudo ./chip-all-clusters-app
sudo ./chip-all-clusters-app --wifi

TH1
./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841
Expand Down Expand Up @@ -75,7 +75,7 @@ tests:

Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window

./chip-tool pairing code 2 36253605617
./chip-tool pairing code 2 36253605617 --commissioner-name beta
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step "Cleanup"
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
disabled: true
Expand All @@ -84,7 +84,7 @@ tests:
"TH2 reads DUT Endpoint 0 OperationalCredentials cluster
CurrentFabricIndex attribute"
verification: |
./chip-tool operationalcredentials read current-fabric-index 2 0
./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-name-beta

On TH2(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 2
[1657186956.724761][3910:3915] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734
Expand Down Expand Up @@ -146,7 +146,7 @@ tests:
17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0
./chip-tool accesscontrol write extension "[{"data":"17D00000F1FF01003D48656C6C6F20576F726C642E205468697320697320612073696E676C6520656C656D656E74206C6976696E6720617320612063686172737472696E670018"}]" 2 0 --commissioner-name beta

On TH2(Chiptool),Verify Successfully to extension attribute list containg one element .
1657894672.479983][2433:2438] CHIP:DMG: WriteClient moving to [ResponseRe]
Expand Down Expand Up @@ -212,7 +212,7 @@ tests:
"TH2 reads DUT Endpoint 0 AccessControl cluster Extension attribute"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol read extension 2 0
./chip-tool accesscontrol read extension 2 0 --commissioner-name beta

On TH2(Chiptool), Verify AccessControlExtensionStruct containing 1 element, and MUST NOT contain an element with FabricIndex F1
[1658327214.683199][2749:2754] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 2953114587
Expand Down Expand Up @@ -252,7 +252,7 @@ tests:
AccessControlExtensionChanged event"
PICS: ACL.S.E01
verification: |
./chip-tool accesscontrol read-event access-control-extension-changed 2
./chip-tool accesscontrol read-event access-control-extension-changed 2 --commissioner-name beta
On TH2(Chiptool) , Verify AccessControlExtensionChanged containing 1 element, and MUST NOT contain an element with FabricIndex F1
[1658327551.622018][4295:4300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001
[1658327551.622043][4295:4300] CHIP:TOO: Event number: 6
Expand Down
Loading