-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New manual yaml tests Jan 19 (#31553)
* Newly added manual testcase: TC_APPOBSERVER_13_1 TC_APPOBSERVER_13_2 TC_APPOBSERVER_1_13 TC_CONCON_1_14 TC_DEM_1_1 TC_EEVSE_1_1 TC_EEVSE_2_1 TC_ICDM_3_1 TC_ICDM_3_2 TC_ICDM_3_3 TC_ICDM_3_4 TC_ICDM_4_1 TC_ICDM_5_1 TC_MEDIAPLAYBACK_6_10 TC_MEDIAPLAYBACK_6_8 TC_MEDIAPLAYBACK_6_9 TC_OTCCM_1_1 TC_OTCCM_1_2 * Auto generated files * Restyled by whitespace * Restyled by prettier-yaml * Restyled by prettier-yaml * Fix linting issue of PICS.yaml file * Fix ICDM-1.1 failure for CI. --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
ddc961d
commit 0f31a82
Showing
23 changed files
with
3,630 additions
and
60 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
src/app/tests/suites/certification/Test_TC_APPOBSERVER_13_1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright (c) 2024 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: | ||
19.15.1. [TC-APPOBSERVER-13.1] Content App Message Verification (DUT as | ||
Client) | ||
|
||
PICS: | ||
- APPOBSERVER.C | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic Information" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Step 1: DUT sends ContentAppMessage command to TH" | ||
PICS: KEYPADINPUT.C.C00.Tx | ||
verification: | | ||
./chip-tool contentappobserver content-app-message foo 1 1 --Data bar | ||
On TH (tv-casting-app), Verify the ContentAppMessage command is received successfully. | ||
[1705666572.863129][11679:11679] CHIP:EM: >>> [E:743r S:18420 M:87646249] (S) Msg RX from 1:000000000001B669 [A5ED] --- Type 0001:08 (IM:InvokeCommandRequest) | ||
[1705666572.863201][11679:11679] CHIP:EM: Handling via exchange: 743r, Delegate: 0xaaaac06f4b78 | ||
[1705666572.863301][11679:11679] CHIP:DMG: InvokeRequestMessage = | ||
[1705666572.863340][11679:11679] CHIP:DMG: { | ||
[1705666572.863372][11679:11679] CHIP:DMG: suppressResponse = false, | ||
[1705666572.863409][11679:11679] CHIP:DMG: timedRequest = false, | ||
[1705666572.863444][11679:11679] CHIP:DMG: InvokeRequests = | ||
[1705666572.863510][11679:11679] CHIP:DMG: [ | ||
[1705666572.863546][11679:11679] CHIP:DMG: CommandDataIB = | ||
[1705666572.863599][11679:11679] CHIP:DMG: { | ||
[1705666572.863636][11679:11679] CHIP:DMG: CommandPathIB = | ||
[1705666572.863693][11679:11679] CHIP:DMG: { | ||
[1705666572.863738][11679:11679] CHIP:DMG: EndpointId = 0x1, | ||
[1705666572.863784][11679:11679] CHIP:DMG: ClusterId = 0x510, | ||
[1705666572.863829][11679:11679] CHIP:DMG: CommandId = 0x0, | ||
[1705666572.863884][11679:11679] CHIP:DMG: }, | ||
[1705666572.863930][11679:11679] CHIP:DMG: | ||
[1705666572.863969][11679:11679] CHIP:DMG: CommandFields = | ||
[1705666572.864025][11679:11679] CHIP:DMG: { | ||
[1705666572.864073][11679:11679] CHIP:DMG: 0x0 = "bar" (3 chars), | ||
[1705666572.864121][11679:11679] CHIP:DMG: 0x1 = "foo" (3 chars), | ||
[1705666572.864184][11679:11679] CHIP:DMG: }, | ||
[1705666572.864226][11679:11679] CHIP:DMG: }, | ||
[1705666572.864269][11679:11679] CHIP:DMG: | ||
[1705666572.864317][11679:11679] CHIP:DMG: ], | ||
[1705666572.864361][11679:11679] CHIP:DMG: | ||
[1705666572.864395][11679:11679] CHIP:DMG: InteractionModelRevision = 11 | ||
[1705666572.864440][11679:11679] CHIP:DMG: }, | ||
[1705666572.864617][11679:11679] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0510 e=1 p=o | ||
[1705666572.864667][11679:11679] CHIP:DMG: AccessControl: allowed | ||
[1705666572.864719][11679:11679] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0510 Command=0x0000_0000 | ||
[1705666572.864834][11679:11679] CHIP:ZCL: ContentAppObserver NOT returning ContentApp delegate for endpoint:1 | ||
disabled: true |
48 changes: 48 additions & 0 deletions
48
src/app/tests/suites/certification/Test_TC_APPOBSERVER_13_2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright (c) 2024 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: | ||
19.15.2. [TC-APPOBSERVER-13.2] Content App Message Verification (DUT as | ||
Server) | ||
|
||
PICS: | ||
- APPOBSERVER.S.F01 | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic Information" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: | ||
"Step 1: TH sends a ContentAppMessage command to the DUT with dummy | ||
data and encodingHint strings" | ||
PICS: APPOBSERVER.S.C00.Rsp | ||
verification: | | ||
./chip-tool contentappobserver content-app-message foo 1234 1 --Data bar | ||
On TH(chip-tool), The DUT should respond with a ContentAppMessageResponse response with status 0 (success) and optional data and encodingHint strings. | ||
[1705666572.972558][4778:4780] CHIP:DMG: InteractionModelRevision = 11 | ||
[1705666572.972584][4778:4780] CHIP:DMG: }, | ||
[1705666572.972667][4778:4780] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0510 Command=0x0000_0001 | ||
[1705666572.972720][4778:4780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Command 0x0000_0001 | ||
[1705666572.972820][4778:4780] CHIP:TOO: ContentAppMessageResponse: { | ||
[1705666572.972862][4778:4780] CHIP:TOO: status: 0 | ||
[1705666572.972888][4778:4780] CHIP:TOO: data: exampleData | ||
[1705666572.972912][4778:4780] CHIP:TOO: encodingHint: foo | ||
[1705666572.972936][4778:4780] CHIP:TOO: } | ||
[1705666572.972989][4778:4780] CHIP:DMG: ICR moving to [AwaitingDe] | ||
[1705666572.973210][4778:4780] CHIP:EM: <<< [E:743i S:54358 M:87646250 (Ack:136640189)] (S) Msg TX to 1:0000000000000001 [A5ED] [UDP:[fe80::e65f:1ff:fe0f:1a01%wlan0]:5540] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
[1705666572.973340][4778:4780] CHIP:EM: Flushed pending ack for MessageCounter:136640189 on exchange 743i | ||
disabled: true |
94 changes: 94 additions & 0 deletions
94
src/app/tests/suites/certification/Test_TC_APPOBSERVER_1_13.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# Copyright (c) 2024 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default | ||
|
||
name: | ||
19.1.13. [TC-APPOBSERVER-1.13] Global attributes - Content App Observer | ||
Cluster (DUT as Server) | ||
|
||
PICS: | ||
- APPOBSERVER.S | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic Information" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Step 1: TH reads the ClusterRevision attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read cluster-revision 1 1 | ||
Verify " ClusterRevision " value is of unit16 and reflects the highest revision number on the TH(Chip-tool) Log, in RPI the value of ClusterRevision is 1 | ||
[1702624923.223245][5892:5894] CHIP:DMG: InteractionModelRevision = 11 | ||
[1702624923.223299][5892:5894] CHIP:DMG: } | ||
[1702624923.223652][5892:5894] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFD DataVersion: 2272699478 | ||
[1702624923.223820][5892:5894] CHIP:TOO: ClusterRevision: 1 | ||
[1702624923.224324][5892:5894] CHIP:EM: <<< [E:5445i S:15084 M:255037238 (Ack:113660697)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
[1702624923.224578][5892:5894] CHIP:EM: Flushed pending ack for MessageCounter:113660697 on exchange 5445i | ||
disabled: true | ||
|
||
- label: "Step 2: TH reads the FeatureMap attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read feature-map 1 1 | ||
On TH, verify that DUT sends the FeatureMap attribute has the value 0 or returns a general error that the attribute is not supported | ||
[1702624956.728609][5896:5898] CHIP:DMG: SuppressResponse = true, | ||
[1702624956.728667][5896:5898] CHIP:DMG: InteractionModelRevision = 11 | ||
[1702624956.728720][5896:5898] CHIP:DMG: } | ||
[1702624956.729021][5896:5898] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFC DataVersion: 2272699478 | ||
[1702624956.729138][5896:5898] CHIP:TOO: FeatureMap: 0 | ||
[1702624956.729564][5896:5898] CHIP:EM: <<< [E:26717i S:26806 M:11352307 (Ack:31492418)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
disabled: true | ||
|
||
- label: "Step 3: TH reads the AttributeList attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read attribute-list 1 1 | ||
Verify " AttributeList " value consists the list of mandatory attributes (65533, 65532, 65531, 65529, 65528) on the TH(Chip-tool) Log: | ||
[1702624983.367693][5900:5902] CHIP:DMG: } | ||
[1702624983.368044][5900:5902] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFB DataVersion: 2272699478 | ||
[1702624983.368485][5900:5902] CHIP:TOO: AttributeList: 5 entries | ||
[1702624983.368564][5900:5902] CHIP:TOO: [1]: 65528 | ||
[1702624983.368624][5900:5902] CHIP:TOO: [2]: 65529 | ||
[1702624983.368683][5900:5902] CHIP:TOO: [3]: 65531 | ||
[1702624983.368741][5900:5902] CHIP:TOO: [4]: 65532 | ||
[1702624983.368798][5900:5902] CHIP:TOO: [5]: 65533 | ||
[1702624983.369236][5900:5902] CHIP:EM: <<< [E:55491i S:35892 M:103959395 (Ack:145764997)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
disabled: true | ||
|
||
- label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read accepted-command-list 1 1 | ||
Verify " AcceptedCommandList " consists the list of mandatory commands(0)on the TH(Chip-tool) Log: | ||
[1702625012.494394][5905:5907] CHIP:DMG: } | ||
[1702625012.494619][5905:5907] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF9 DataVersion: 2272699478 | ||
[1702625012.494697][5905:5907] CHIP:TOO: AcceptedCommandList: 1 entries | ||
[1702625012.494725][5905:5907] CHIP:TOO: [1]: 0 | ||
[1702625012.494981][5905:5907] CHIP:EM: <<< [E:43961i S:9805 M:165451447 (Ack:180558712)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
disabled: true | ||
|
||
- label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read generated-command-list 1 1 | ||
Verify " GeneratedCommandList " consists the list of mandatory commands(1) on the TH(Chip-tool) Log: | ||
[1702625044.200661][5910:5912] CHIP:DMG: } | ||
[1702625044.201052][5910:5912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF8 DataVersion: 2272699478 | ||
[1702625044.201230][5910:5912] CHIP:TOO: GeneratedCommandList: 1 entries | ||
[1702625044.201298][5910:5912] CHIP:TOO: [1]: 1 | ||
[1702625044.201724][5910:5912] CHIP:EM: <<< [E:33891i S:27945 M:56965554 (Ack:52573112)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) | ||
[1702625044.201956][5910:5912] CHIP:EM: Flushed pending ack for MessageCounter:52573112 on exchange 33891i | ||
disabled: true | ||
|
||
- label: "Step 6: TH reads the EventList attribute from the DUT" | ||
verification: | | ||
./chip-tool contentappobserver read event-list 1 1 | ||
disabled: true |
Oops, something went wrong.