Skip to content

Commit

Permalink
Modified script Sep 15 (project-chip#22669) (project-chip#22684)
Browse files Browse the repository at this point in the history
* Modified script
TC-CADMIN-1.3
TC-CADMIN-1.4
TC-CADMIN-1.5
TC-CADMIN-1.6
TC-CADMIN-1.9
TC-CADMIN-1.10
TC-CADMIN-1.11
TC-CADMIN-1.13
TC-DGGEN-2.1
TC-LVL-4.1
TC-OO-2.3
Manual script:
TC-BR-2

* Auto generated files

* Restyled by whitespace

Co-authored-by: Restyled.io <[email protected]>

Co-authored-by: manjunath-grl <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2022
1 parent 0006f07 commit 724b474
Show file tree
Hide file tree
Showing 14 changed files with 865 additions and 472 deletions.
100 changes: 55 additions & 45 deletions src/app/tests/suites/certification/Test_TC_BR_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,44 +122,50 @@ tests:
./chip-tool descriptor read parts-list 1 8
Verify in TH(chip-tool) Log
[1663236558.589003][5550:5555] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 310844624
[1663236558.589059][5550:5555] CHIP:TOO: PartsList: 0 entries
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
./chip-tool descriptor read parts-list 1 9
Verify in TH(chip-tool) Log
[1663236593.607523][5556:5561] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3304459819
[1663236593.607583][5556:5561] CHIP:TOO: PartsList: 0 entries
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
./chip-tool descriptor read parts-list 1 10
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236642.682033][5565:5570] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2389378730
[1663236642.682091][5565:5570] CHIP:TOO: PartsList: 0 entries
./chip-tool descriptor read parts-list 1 11
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236682.900934][5573:5578] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3007496001
[1663236682.900988][5573:5578] CHIP:TOO: PartsList: 0 entries
./chip-tool descriptor read parts-list 1 12
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236715.610271][5579:5584] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2445783348
[1663236715.610328][5579:5584] CHIP:TOO: PartsList: 0 entries
./chip-tool descriptor read parts-list 1 13
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236752.985450][5590:5595] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 4223376445
[1663236752.985512][5590:5595] CHIP:TOO: PartsList: 0 entries
Expand Down Expand Up @@ -670,39 +676,41 @@ tests:
./chip-tool descriptor read parts-list 1 8
Verify in TH(chip-tool) Log
[1663236927.299795][5601:5606] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 310
[1663236927.299849][5601:5606] CHIP:TOO: PartsList: 0 entries
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
./chip-tool descriptor read parts-list 1 9
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236962.433335][5608:5613] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3304459819
[1663236962.433395][5608:5613] CHIP:TOO: PartsList: 0 entries
./chip-tool descriptor read parts-list 1 10
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
[1663236993.718577][5615:5620] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2389378730
[1663236993.718639][5615:5620] CHIP:TOO: PartsList: 0 entries
./chip-tool descriptor read parts-list 1 11
Verify in TH(chip-tool) Log
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
1663237029.086031][5627:5632] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3007496001
[1663237029.086097][5627:5632] CHIP:TOO: PartsList: 0 entries
[
./chip-tool descriptor read parts-list 1 12
Verify in TH(chip-tool) Log
[1663237048.194842][5636:5641] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2445783348
[1663237048.194910][5636:5641] CHIP:TOO: PartsList: 0 entries
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
./chip-tool descriptor read parts-list 1 13
Verify in TH(chip-tool) Log
1663237070.228529][5642:5647] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 4223376445
[1663237070.228588][5642:5647] CHIP:TOO: PartsList: 0 entries
[1657014071.347535][5854:5859] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1352552269
[1657014071.347611][5854:5859] CHIP:TOO: parts list: 0 entries
./chip-tool descriptor read parts-list 1 14
Verify in TH(chip-tool) Log
Expand Down Expand Up @@ -740,31 +748,33 @@ tests:
./chip-tool descriptor read device-list 1 4
Verify in TH(chip-tool) Log
[1657004014.927308][4678:4683] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309
[1657004014.927387][4678:4683] CHIP:TOO: device list: 2 entries
[1657004014.927460][4678:4683] CHIP:TOO: [1]: {
[1657004014.927514][4678:4683] CHIP:TOO: Type: 259
[1657004014.927551][4678:4683] CHIP:TOO: Revision: 1
[1657004014.927585][4678:4683] CHIP:TOO: }
[1657004014.927622][4678:4683] CHIP:TOO: [2]: {
[1657004014.927650][4678:4683] CHIP:TOO: Type: 19
[1657004014.927678][4678:4683] CHIP:TOO: Revision: 1
[1657004014.927705][4678:4683] CHIP:TOO: }
[1663237341.014887][5658:5663] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2509692936
[1663237341.014959][5658:5663] CHIP:TOO: DeviceTypeList: 2 entries
[1663237341.015014][5658:5663] CHIP:TOO: [1]: {
[1663237341.015044][5658:5663] CHIP:TOO: Type: 770
[1663237341.015072][5658:5663] CHIP:TOO: Revision: 1
[1663237341.015098][5658:5663] CHIP:TOO: }
[1663237341.015130][5658:5663] CHIP:TOO: [2]: {
[1663237341.015158][5658:5663] CHIP:TOO: Type: 19
[1663237341.015184][5658:5663] CHIP:TOO: Revision: 1
[1663237341.015210][5658:5663] CHIP:TOO: }
./chip-tool descriptor read device-list 1 5
Verify in TH(chip-tool) Log
[1657004035.789404][4690:4695] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766
[1657004035.789470][4690:4695] CHIP:TOO: device list: 2 entries
[1657004035.789526][4690:4695] CHIP:TOO: [1]: {
[1657004035.789571][4690:4695] CHIP:TOO: Type: 259
[1657004035.789601][4690:4695] CHIP:TOO: Revision: 1
[1657004035.789629][4690:4695] CHIP:TOO: }
[1657004035.789663][4690:4695] CHIP:TOO: [2]: {
[1657004035.789691][4690:4695] CHIP:TOO: Type: 19
[1657004035.789717][4690:4695] CHIP:TOO: Revision: 1
[1657004035.789744][4690:4695] CHIP:TOO: }
[[1663237406.574050][5670:5675] CHIP:DMG: }
[1663237406.574405][5670:5675] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1669202494
[1663237406.574473][5670:5675] CHIP:TOO: DeviceTypeList: 2 entries
[1663237406.574528][5670:5675] CHIP:TOO: [1]: {
[1663237406.574559][5670:5675] CHIP:TOO: Type: 770
[1663237406.574587][5670:5675] CHIP:TOO: Revision: 1
[1663237406.574612][5670:5675] CHIP:TOO: }
[1663237406.574643][5670:5675] CHIP:TOO: [2]: {
[1663237406.574670][5670:5675] CHIP:TOO: Type: 19
[1663237406.574695][5670:5675] CHIP:TOO: Revision: 1
[1663237406.574721][5670:5675] CHIP:TOO: }
./chip-tool descriptor read device-list 1 6
Expand Down
22 changes: 22 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,28 @@ tests:
- name: "CommissioningTimeout"
value: 900

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=1"
verification: |
On TH_CR1 send the below command
ubuntu@ubuntu:~/may16_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ eth0 IPv6 2664ED6939FC373C _matterc._udp local
= eth0 IPv6 2664ED6939FC373C _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2753]
port = [5540]
txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"]
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label:
"TH_CR2 starts a commissioning process with DUT_CE using Invalid setup
code"
Expand Down
51 changes: 51 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,35 @@ tests:
- name: "salt"
value: "SPAKE2P Key Salt"

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=2"
verification: |
On TH_CR1 send the below command
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ wlp5s0 IPv6 C326228BDB082BF4 _matterc._udp local
+ wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
= wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2755]
port = [5540]
txt = ["PI=" "PH=33" "CM=1" "D=3841" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"]
= wlp5s0 IPv6 C326228BDB082BF4 _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2755]
port = [5540]
txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"]
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$ On TH_CR1 send the below command
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label: "TH_CR3 starts a commissioning process with DUT_CE"
PICS: CADMIN.S
identity: "gamma"
Expand Down Expand Up @@ -230,6 +259,28 @@ tests:
- name: "discriminator"
value: discriminator

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=1"
verification: |
On TH_CR1 send the below command
ubuntu@ubuntu:~/may16_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ eth0 IPv6 2664ED6939FC373C _matterc._udp local
= eth0 IPv6 2664ED6939FC373C _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2753]
port = [5540]
txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"]
ubuntu@ubuntu:~/may16_cntrl/connectedhomeip/examples/chip-tool/out/debug$
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label:
"Before the expiration of PIXIT.CADMIN.CwDuration seconds that was set
in step 10, TH_CR3 opens a 2nd commissioning window on DUT_CE using a
Expand Down
51 changes: 51 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,29 @@ tests:
- name: "expectedValue"
value: "y"

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=1"
verification: |
On TH_CR1 send the below command
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ wlp5s0 IPv6 C326228BDB082BF4 _matterc._udp local
+ wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
= wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2755]
port = [5540]
txt = ["PI=" "PH=33" "CM=1" "D=3841" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"]
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label: "TH_CR3 starts a commissioning process with DUT_CE"
identity: "gamma"
cluster: "CommissionerCommands"
Expand Down Expand Up @@ -325,6 +348,34 @@ tests:
response:
value: 1

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=2"
verification: |
On TH_CR1 send the below command
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ wlp5s0 IPv6 C326228BDB082BF4 _matterc._udp local
+ wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
= wlp5s0 IPv6 7B6545A75C5330BE _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2755]
port = [5540]
txt = ["PI=" "PH=33" "CM=1" "D=3841" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"]
= wlp5s0 IPv6 C326228BDB082BF4 _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2755]
port = [5540]
txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "CRA=300" "CRI=5000" "VP=65521+32769"]
grl@grl-ThinkPad-L480:~/2nd_cntrl/connectedhomeip/examples/chip-tool/out/debug$
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label: "TH_CR3 opens a 2nd commissioning window on DUT_CE"
identity: "gamma"
cluster: "AdministratorCommissioning"
Expand Down
23 changes: 23 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,29 @@ tests:
- name: "salt"
value: "SPAKE2P Key Salt"

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=2"
verification: |
On TH_CR1 send the below command
avahi-browse -rt _matterc._udp
+ eth0 IPv6 4D0262FE51384D5A _matterc._udp local
= eth0 IPv6 4D0262FE51384D5A _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2753]
port = [5540]
txt = ["PI=" "PH=36" "CM=2" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"]
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label:
"TH_CR1 writes the Basic Information Clusters NodeLabel mandatory
attribute of DUT_CE"
Expand Down
22 changes: 22 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,28 @@ tests:
- name: "discriminator"
value: discriminator

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=1"
verification: |
On TH_CR1 send the below command
ubuntu@ubuntu:~/may16_cntrl/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matterc._udp
+ eth0 IPv6 B2822245F1F43570 _matterc._udp local
= eth0 IPv6 B2822245F1F43570 _matterc._udp local
hostname = [E45F010F27530000.local]
address = [fe80::e65f:1ff:fe0f:2753]
port = [5540]
txt = ["PI=" "PH=36" "CM=1" "D=3840" "T=1" "SAI=300" "SII=5000" "VP=65521+32769"]
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_SKIP_SAMPLE_APP
arguments:
values:
- name: "message"
value: "enter 'y' after success"
- name: "expectedValue"
value: "y"

- label:
"TH_CR1 writes the Basic Information Clusters NodeLabel mandatory
attribute of DUT_CE"
Expand Down
Loading

0 comments on commit 724b474

Please sign in to comment.