Skip to content

Commit d9edecb

Browse files
Modified scripts Aug 23 (project-chip#28829)
* Newly added semi/automated testcases: TC_GRPKEY_2_1 TC_GRPKEY_2_2 TC_BRBINFO_2_1 TC_DGGEN_2_1 TC_DGGEN_2_3 TC_FAN_2_5 TC_LCFG_2_1 TC_LTIME_3_1 TC_LWM_1_1 TC_LWM_2_1 TC_LWM_3_1 TC_MOD_2_1 TC_MOD_3_1 TC_MOD_3_2 TC_MOD_3_3 TC_MOD_3_4 TC_OPSTATE_2_4 TC_REFALM_1_1 TC_RVCCLEANM_3_1 TC_TCCM_1_1 TC_TCTL_1_1 Test_TC_MOD_2_3 * Auto generated files * Newly added manual tests: TC_DT_1_1 TC_GRPKEY_5_4 TC_LWM_3_3 TC_OPCREDS_3_7 TC_RVCCLEANM_1_2 TC_RVCCLEANM_2_1 TC_RVCCLEANM_3_2 TC_RVCRUNM_1_2 TC_RVCRUNM_2_1 TC_RVCRUNM_3_2 TC_SM_1_1 TC_SM_1_2 Modified manual tests: TC_ACT_2_1 TC_ACT_2_2 TC_BR_1 TC_BR_2 TC_DESC_2_1 TC_DISHALM_1_1 TC_DISHALM_2_1 TC_DISHALM_3_1 TC_DISHALM_3_2 TC_DISHALM_3_3 TC_DISHALM_3_4 TC_DISHALM_3_5 TC_DISHALM_3_6 TC_DISHM_1_1 TC_DISHM_1_2 TC_DISHM_2_1 TC_DISHM_3_1 TC_DISHM_3_2 TC_DISHM_3_3 TC_DRLK_2_1 TC_DRLK_2_10 TC_DRLK_2_2 TC_G_2_2 TC_G_2_3 TC_G_3_2 TC_IDM_4_2 TC_LWM_1_2 TC_LWM_3_2 TC_MOD_1_2 TC_RVCCLEANM_1_1 TC_RVCCLEANM_3_3 TC_RVCRUNM_1_1 TC_RVCRUNM_3_3 TC_TCCM_1_2 TC_TCCM_2_1 TC_TCCM_3_1 TC_TCCM_3_2 TC_TCCM_3_3 TC_TCTL_2_1 TC_TCTL_2_2 TC_TCTL_2_3 TC_TCTL_3_2 TC_TCTL_3_3 * Restyled by whitespace * Fixes issue 620 * Restyled by whitespace * Modified tests: TC-DGGEN-2.1 TC-GRPKEY-2.1 * Modified GRPKEY-2.1 test * Fixed CI failure for OPSTATE-2.4 * Modified DGGEN-2.1 test * Fixes issue: 589 Added TC-G-2.4 automated test Modified test: TC-DGGEN-2.1 * Modified test DGGEN-2.1 PICS * Test_TC_G_2_4.yaml test added in init.py as the chip-repl does not support EqualityCommands pseudo-cluster * Fixes issue: 623, 624 * Restyled by whitespace * Modified ACL commision step logs * Restyled by whitespace * MOdified files: TC-BINFO-2.1 TC-TSTAT-1.1 Removed tests: TC-WASHERCTRL-3.1 TC-WASHERCTRL-3.2 --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent b9b2ead commit d9edecb

File tree

100 files changed

+169061
-16429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+169061
-16429
lines changed

examples/darwin-framework-tool/templates/tests/ciTests.json

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"Test_TC_SMOKECO_2_3",
4040
"Test_TC_SMOKECO_2_4",
4141
"Test_TC_SMOKECO_2_5",
42+
"Test_TC_DGGEN_2_1",
43+
"Test_TC_OPSTATE_2_4",
4244
"Disabled due to undefined properties",
4345
"Test_TC_SMOKECO_2_6",
4446
"Disabled because the power source configuration cluster is now deprecated and not present in all-clusters",

scripts/tests/chiptest/__init__.py

+9
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ def _GetChipReplUnsupportedTests() -> Set[str]:
165165
"Test_TC_S_2_2.yaml", # chip-repl does not support scenes cluster commands
166166
"Test_TC_S_2_3.yaml", # chip-repl does not support scenes cluster commands
167167
"Test_TC_S_2_4.yaml", # chip-repl does not support scenes cluster commands
168+
"Test_TC_MOD_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
169+
"Test_TC_MOD_3_2.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
170+
"Test_TC_MOD_3_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
171+
"Test_TC_MOD_3_4.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
172+
"Test_TC_BRBINFO_2_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
173+
"Test_TC_DGGEN_2_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
174+
"Test_TC_DGGEN_2_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
175+
"Test_TC_LWM_3_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
176+
"Test_TC_G_2_4.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
168177
}
169178

170179

src/app/tests/suites/certification/PICS.yaml

+104-7
Original file line numberDiff line numberDiff line change
@@ -1774,8 +1774,25 @@ PICS:
17741774
- label:
17751775
"Can the Dishwasher Alarm attribute changed by physical control at the
17761776
device?"
1777-
id: DISHALM.M.ManuallyControlled
1777+
id: DISHALM.S.M.ManuallyControlled
17781778

1779+
- label: "Does the device support the Inflow alarm?"
1780+
id: DISHALM.S.M.InflowAlarmSupported
1781+
1782+
- label: "Does the device support the Drain alarm?"
1783+
id: DISHALM.S.M.DrainAlarmSupported
1784+
1785+
- label: "Does the device support the Door alarm?"
1786+
id: DISHALM.S.M.DoorAlarmSupported
1787+
1788+
- label: "Does the device support the TempLow alarm?"
1789+
id: DISHALM.S.M.TempLowAlarmSupported
1790+
1791+
- label: "Does the device support the TempHigh alarm?"
1792+
id: DISHALM.S.M.TempHighAlarmSupported
1793+
1794+
- label: "Does the device support the WaterLevel alarm?"
1795+
id: DISHALM.S.M.WaterLevelAlarmSupported
17791796
#
17801797
# server / Commands received
17811798
#
@@ -1790,11 +1807,20 @@ PICS:
17901807
- label: "Does the device implement the DISHM cluster as a server?"
17911808
id: DISHM.S
17921809

1810+
- label: "IDoes the DUT support testing the failed ChangeToMode command?"
1811+
id: DISHM.S.M.CAN_TEST_MODE_FAILURE
1812+
1813+
# PIXIT
1814+
17931815
- label:
17941816
"Id of mode the device will fail to transition to, given its current
17951817
state"
1796-
id: PIXIT.DISHM.CAN_TEST_MODE_FAILURE
1818+
id: PIXIT.DISHM.MODE_CHANGE_FAIL
17971819

1820+
- label:
1821+
"Id of mode the device will successfully transition to, given its
1822+
current state"
1823+
id: PIXIT.DISHM.MODE_CHANGE_OK
17981824
#
17991825
# server / features
18001826
#
@@ -2862,7 +2888,7 @@ PICS:
28622888
id: DRLK.S.Simulate.NotFullyLocked
28632889

28642890
- label: "Does the DUT(server) detect a LockJammed State?"
2865-
id: DRLK.S.DetectLockJammed
2891+
id: DRLK.S.M.DetectLockJammed
28662892

28672893
#
28682894
# client / attributes
@@ -3610,6 +3636,43 @@ PICS:
36103636
feature?"
36113637
id: GRPKEY.S.F00
36123638

3639+
#
3640+
#server attributes
3641+
#
3642+
- label: "Does the device implement the GroupKeyMap attribute?"
3643+
id: GRPKEY.S.A0000
3644+
3645+
- label: "Does the device implement the GroupTable attribute?"
3646+
id: GRPKEY.S.A0001
3647+
3648+
- label: "Does the device implement the MaxGroupsPerFabric attribute?"
3649+
id: GRPKEY.S.A0002
3650+
3651+
- label: "Does the device implement the MaxGroupKeysPerFabric attribute?"
3652+
id: GRPKEY.S.A0003
3653+
3654+
#
3655+
# server commandsGenerated
3656+
#
3657+
- label: "Does the device implement the KeySetWrite command}?"
3658+
id: GRPKEY.S.C00.Rsp
3659+
3660+
- label: "Does the device implement the KeySetRead command}?"
3661+
id: GRPKEY.S.C01.Rsp
3662+
3663+
- label: "Does the device implement the KeySetReadResponse command}?"
3664+
id: GRPKEY.S.C02.Rsp
3665+
3666+
- label: "Does the device implement the KeySetRemove command}?"
3667+
id: GRPKEY.S.C03.Rsp
3668+
3669+
- label: "Does the device implement the KeySetReadAllIndices command}?"
3670+
id: GRPKEY.S.C04.Rsp
3671+
3672+
- label:
3673+
"Does the device implement the KeySetReadAllIndicesResponse command}?"
3674+
id: GRPKEY.S.C05.Rsp
3675+
36133676
#
36143677
# client / attributes
36153678
#
@@ -8930,10 +8993,18 @@ PICS:
89308993
- label: "Does the device implement the LWM cluster as a server?"
89318994
id: LWM.S
89328995

8996+
- label: "Does the DUT support testing the failed ChangeToMode command?"
8997+
id: LWM.S.M.CAN_TEST_MODE_FAILURE
8998+
89338999
- label:
89349000
"Id of mode the device will fail to transition to, given its current
89359001
state"
8936-
id: PIXIT.LWM.CAN_TEST_MODE_FAILURE
9002+
id: PIXIT.LWM.MODE_CHANGE_FAIL
9003+
9004+
- label:
9005+
"Id of mode the device will successfully transition to, given its
9006+
current state"
9007+
id: PIXIT.LWM.MODE_CHANGE_OK
89379008

89389009
#
89399010
# server / features
@@ -9012,21 +9083,36 @@ PICS:
90129083
"Does the device implement sending the ChangeToModeResponse command?"
90139084
id: RVCCLEANM.S.C01.Tx
90149085

9086+
- label: "Does the DUT support testing the failed ChangeToMode command?"
9087+
id: RVCCLEANM.S.M.CAN_TEST_MODE_FAILURE
9088+
90159089
- label:
90169090
"Id of mode the device will fail to transition to, given its current
90179091
state"
9018-
id: PIXIT.RVCCLEANM.CAN_TEST_MODE_FAILURE
9092+
id: PIXIT.RVCCLEANM.MODE_CHANGE_FAIL
90199093

9094+
- label:
9095+
"Id of mode the device will successfully transition to, given its
9096+
current state"
9097+
id: PIXIT.RVCCLEANM.MODE_CHANGE_OK
90209098
#
90219099
#Temperature Controlled Cabinet Mode Cluster
90229100
#
90239101
- label: "Does the device implement the TCCM cluster as a server?"
90249102
id: TCCM.S
90259103

9104+
- label: "Does the DUT support testing the failed ChangeToMode command?"
9105+
id: TCCM.S.M.CAN_TEST_MODE_FAILURE
9106+
9107+
- label:
9108+
"Id of mode the device will successfully transition to, given its
9109+
current state"
9110+
id: PIXIT.TCCM.MODE_CHANGE_OK
9111+
90269112
- label:
90279113
"Id of mode the device will fail to transition to, given its current
90289114
state"
9029-
id: PIXIT.TCCM.CAN_TEST_MODE_FAILURE
9115+
id: PIXIT.TCCM.MODE_CHANGE_FAIL
90309116

90319117
#Features
90329118
- label:
@@ -9103,6 +9189,9 @@ PICS:
91039189
device?"
91049190
id: TCC.M.ManuallyControlledTemperature
91059191

9192+
- label: "Does the device support the INVALID_IN_MODE response"
9193+
id: TCTL.S.M.SupportsInvalidInMode
9194+
91069195
#Commands received
91079196
- label:
91089197
"Does the device implement receiving the SetTemperatureCommand
@@ -9161,10 +9250,18 @@ PICS:
91619250
- label: "Does the device implement the RVCRUNM cluster as a server?"
91629251
id: RVCRUNM.S
91639252

9253+
- label: "Does the DUT support testing the failed ChangeToMode command?"
9254+
id: RVCRUNM.S.M.CAN_TEST_MODE_FAILURE
9255+
91649256
- label:
91659257
"Id of mode the device will fail to transition to, given its current
91669258
state"
9167-
id: PIXIT.RVCRUNM.CAN_TEST_MODE_FAILURE
9259+
id: PIXIT.RVCRUNM.MODE_CHANGE_FAIL
9260+
9261+
- label:
9262+
"Id of mode the device will successfully transition to, given its
9263+
current state"
9264+
id: PIXIT.RVCRUNM.MODE_CHANGE_OK
91689265

91699266
#Features
91709267
- label:

src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,16 @@ tests:
106106
107107
./chip-tool pairing open-commissioning-window 1 1 400 2000 3841
108108
109+
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
110+
111+
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
112+
109113
[1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
110114
[1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
111115
[1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617]
112116
[1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700]
113117
114-
115-
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
116-
117-
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
118+
Commission TH2(Chiptool) to DUT:
118119
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
119120
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
120121
cluster: "LogCommands"

src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,16 @@ tests:
9797
9898
./chip-tool pairing open-commissioning-window 1 1 400 2000 3841
9999
100+
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
101+
102+
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
103+
100104
[1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
101105
[1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
102106
[1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617]
103107
[1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700]
104108
105-
106-
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
107-
108-
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
109+
Commission TH2(Chiptool) to DUT:
109110
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
110111
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
111112
cluster: "LogCommands"

src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,16 @@ tests:
9898
9999
./chip-tool pairing open-commissioning-window 1 1 400 2000 3841
100100
101+
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
102+
103+
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
104+
101105
[1657186324.710951][10820:10825] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 Status=0x0
102106
[1657186324.710980][10820:10825] CHIP:CTL: Successfully opened pairing window On TH(Chiptool)e device
103107
[1657186324.711048][10820:10825] CHIP:CTL: Manual pairing code: [36253605617]
104108
[1657186324.711108][10820:10825] CHIP:CTL: SetupQRCode: [MT:-24J0IRV01A7TB7E700]
105109
106-
107-
Commission TH2(Chiptool) to DUT using manualcode generated in TH1 using open commission window
108-
109-
./chip-tool pairing code 2 36253605617 --commissioner-name beta --commissioner-nodeid 223344
110-
110+
Commission TH2(Chiptool) to DUT:
111111
[1657186359.584672][3509:3514] CHIP:CTL: Successfully finished commissioning step 'Cleanup'
112112
[1657186359.584743][3509:3514] CHIP:TOO: Device commissioning completed with success
113113
cluster: "LogCommands"

0 commit comments

Comments
 (0)