Skip to content

Commit

Permalink
Added updated Manual and Automated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kowsisoundhar12 committed Aug 24, 2022
1 parent 48f87f3 commit d2fe945
Show file tree
Hide file tree
Showing 28 changed files with 4,830 additions and 764 deletions.
9 changes: 9 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3046,6 +3046,9 @@ PICS:
- label: "Does the DUT(Client) implement sending Keysetwrite command?"
id: GRPKEY.C.C00.Tx

- label: "Does the DUT(Client) implement sending Keysetread Command?"
id: GRPKEY.C.C01.Tx

- label: "Does the DUT(Client) implement sending AddGroup command?"
id: G.C.C00.Tx

Expand Down Expand Up @@ -5154,6 +5157,12 @@ PICS:
- label: "Does the Controller DUT support Service Advertising?"
id: MCORE.SC.ADV

- label: "Does the DUT(Client) implement sending Keysetwrite Command?"
id: GRPKEY.C.C00.Tx

- label: "Does the DUT(Client) support the GroupKeyMap attribute?"
id: GRPKEY.C.A0000

#133.1. Bridged Device Basic Information Cluster
- label: "Does the DUT(server) support the DataModelRevision attribute?"
id: BRBINFO.S.A0000
Expand Down
1,473 changes: 1,473 additions & 0 deletions src/app/tests/suites/certification/Test_TC_ACE_1_1.yaml

Large diffs are not rendered by default.

2,363 changes: 2,363 additions & 0 deletions src/app/tests/suites/certification/Test_TC_ACE_1_2.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,13 @@ tests:
commissioning timeout of PIXIT.CADMIN.CwDuration seconds using ECM"
PICS: CADMIN.C.C00.Tx
verification: |
On first controller chip tool, open commissioning window using ECM
On DUT_CR1 (chip tool) , open commissioning window using ECM
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool pairing open-commissioning-window 1 1 300 1000 3840
Verify Manual pairing code on TH1(all-clusters-app) Log
Verify Manual pairing code on DUT_CR1(chip-tool) Log
[1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established
Expand All @@ -327,7 +327,7 @@ tests:
verification: |
On TH_CR2 using chip tool connect to the accessory
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool pairing code 1 36217551633 --commissioner-name beta
Expand All @@ -342,9 +342,9 @@ tests:
verification: |
On TH_CR2 , read fabrics list
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 --commissioner-name beta
./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta
Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log
Expand Down
21 changes: 12 additions & 9 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tests:
verification: |
On DUT_CR1 (chip tool), open commissioning window using BCM
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000
Expand Down Expand Up @@ -95,11 +95,12 @@ tests:
verification: |
On TH_CR2 using chip tool connect to the accessory
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta
Verify you got below message on TH_CE (all-clusters-app) log
Device commissioning completed with success
disabled: true
Expand All @@ -114,7 +115,7 @@ tests:
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000
./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000
Verify success response On TH_CE (all-clusters-app) Log
Expand Down Expand Up @@ -172,7 +173,7 @@ tests:
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0
./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0
Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log
Expand Down Expand Up @@ -215,7 +216,7 @@ tests:
Verify TH_CE responses with NOCResponse with a StatusCode OK on TH_CE (all-clusters-app) log
./chip-tool operationalcredentials remove-fabric 2 1 0 --commissioner-name beta
./chip-tool operationalcredentials remove-fabric 2 1 0
CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0008
Expand Down Expand Up @@ -259,7 +260,7 @@ tests:
Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app)
./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0
./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219
[1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries
Expand All @@ -282,7 +283,9 @@ tests:
[1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i
disabled: true

- label: ""
- label:
"Verify TH_CE is now discoverable over DNS-SD with 2 Operational
service records (_matter._tcp SRV records)."
verification: |
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
Expand Down Expand Up @@ -314,7 +317,7 @@ tests:
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
For BCM,
./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000
./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000
Verify success response On TH_CE (all-clusters-app) Log
Expand Down Expand Up @@ -372,7 +375,7 @@ tests:
Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers
./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 --commissioner-name beta
./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta
Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ tests:
maxLength: 32

- label:
"TH_CR1 writes the Basic Information Clusters NodeLabel mandatory
"TH_CR2 writes the Basic Information Clusters NodeLabel mandatory
attribute of DUT_CE"
identity: "beta"
command: "writeAttribute"
Expand All @@ -172,7 +172,7 @@ tests:
value: "chiptest"

- label:
"TH_CR1 reads the Basic Information Clusters NodeLabel mandatory
"TH_CR2 reads the Basic Information Clusters NodeLabel mandatory
attribute of DUT_CE"
identity: "beta"
command: "readAttribute"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ tests:
response:
error: FAILURE

- label: "Commission from beta"
- label: "TH_CR2 starts a commissioning process on DUT_CE"
identity: "beta"
cluster: "CommissionerCommands"
command: "PairWithCode"
Expand All @@ -191,7 +191,7 @@ tests:
- name: "payload"
value: payload

- label: "TH_CR2 starts a commissioning process on DUT_CE"
- label: "DUT_CE is commissioned by TH_CR2"
identity: "beta"
cluster: "DelayCommands"
command: "WaitForCommissionee"
Expand Down
Loading

0 comments on commit d2fe945

Please sign in to comment.