Skip to content

Commit 0f31a82

Browse files
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 <commits@restyled.io>
1 parent ddc961d commit 0f31a82

23 files changed

+3630
-60
lines changed

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

+378-2
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Copyright (c) 2024 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
15+
16+
name:
17+
19.15.1. [TC-APPOBSERVER-13.1] Content App Message Verification (DUT as
18+
Client)
19+
20+
PICS:
21+
- APPOBSERVER.C
22+
23+
config:
24+
nodeId: 0x12344321
25+
cluster: "Basic Information"
26+
endpoint: 0
27+
28+
tests:
29+
- label: "Step 1: DUT sends ContentAppMessage command to TH"
30+
PICS: KEYPADINPUT.C.C00.Tx
31+
verification: |
32+
./chip-tool contentappobserver content-app-message foo 1 1 --Data bar
33+
34+
On TH (tv-casting-app), Verify the ContentAppMessage command is received successfully.
35+
36+
[1705666572.863129][11679:11679] CHIP:EM: >>> [E:743r S:18420 M:87646249] (S) Msg RX from 1:000000000001B669 [A5ED] --- Type 0001:08 (IM:InvokeCommandRequest)
37+
[1705666572.863201][11679:11679] CHIP:EM: Handling via exchange: 743r, Delegate: 0xaaaac06f4b78
38+
[1705666572.863301][11679:11679] CHIP:DMG: InvokeRequestMessage =
39+
[1705666572.863340][11679:11679] CHIP:DMG: {
40+
[1705666572.863372][11679:11679] CHIP:DMG: suppressResponse = false,
41+
[1705666572.863409][11679:11679] CHIP:DMG: timedRequest = false,
42+
[1705666572.863444][11679:11679] CHIP:DMG: InvokeRequests =
43+
[1705666572.863510][11679:11679] CHIP:DMG: [
44+
[1705666572.863546][11679:11679] CHIP:DMG: CommandDataIB =
45+
[1705666572.863599][11679:11679] CHIP:DMG: {
46+
[1705666572.863636][11679:11679] CHIP:DMG: CommandPathIB =
47+
[1705666572.863693][11679:11679] CHIP:DMG: {
48+
[1705666572.863738][11679:11679] CHIP:DMG: EndpointId = 0x1,
49+
[1705666572.863784][11679:11679] CHIP:DMG: ClusterId = 0x510,
50+
[1705666572.863829][11679:11679] CHIP:DMG: CommandId = 0x0,
51+
[1705666572.863884][11679:11679] CHIP:DMG: },
52+
[1705666572.863930][11679:11679] CHIP:DMG:
53+
[1705666572.863969][11679:11679] CHIP:DMG: CommandFields =
54+
[1705666572.864025][11679:11679] CHIP:DMG: {
55+
[1705666572.864073][11679:11679] CHIP:DMG: 0x0 = "bar" (3 chars),
56+
[1705666572.864121][11679:11679] CHIP:DMG: 0x1 = "foo" (3 chars),
57+
[1705666572.864184][11679:11679] CHIP:DMG: },
58+
[1705666572.864226][11679:11679] CHIP:DMG: },
59+
[1705666572.864269][11679:11679] CHIP:DMG:
60+
[1705666572.864317][11679:11679] CHIP:DMG: ],
61+
[1705666572.864361][11679:11679] CHIP:DMG:
62+
[1705666572.864395][11679:11679] CHIP:DMG: InteractionModelRevision = 11
63+
[1705666572.864440][11679:11679] CHIP:DMG: },
64+
[1705666572.864617][11679:11679] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0510 e=1 p=o
65+
[1705666572.864667][11679:11679] CHIP:DMG: AccessControl: allowed
66+
[1705666572.864719][11679:11679] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0510 Command=0x0000_0000
67+
[1705666572.864834][11679:11679] CHIP:ZCL: ContentAppObserver NOT returning ContentApp delegate for endpoint:1
68+
disabled: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright (c) 2024 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
15+
16+
name:
17+
19.15.2. [TC-APPOBSERVER-13.2] Content App Message Verification (DUT as
18+
Server)
19+
20+
PICS:
21+
- APPOBSERVER.S.F01
22+
23+
config:
24+
nodeId: 0x12344321
25+
cluster: "Basic Information"
26+
endpoint: 0
27+
28+
tests:
29+
- label:
30+
"Step 1: TH sends a ContentAppMessage command to the DUT with dummy
31+
data and encodingHint strings"
32+
PICS: APPOBSERVER.S.C00.Rsp
33+
verification: |
34+
./chip-tool contentappobserver content-app-message foo 1234 1 --Data bar
35+
On TH(chip-tool), The DUT should respond with a ContentAppMessageResponse response with status 0 (success) and optional data and encodingHint strings.
36+
[1705666572.972558][4778:4780] CHIP:DMG: InteractionModelRevision = 11
37+
[1705666572.972584][4778:4780] CHIP:DMG: },
38+
[1705666572.972667][4778:4780] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0510 Command=0x0000_0001
39+
[1705666572.972720][4778:4780] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Command 0x0000_0001
40+
[1705666572.972820][4778:4780] CHIP:TOO: ContentAppMessageResponse: {
41+
[1705666572.972862][4778:4780] CHIP:TOO: status: 0
42+
[1705666572.972888][4778:4780] CHIP:TOO: data: exampleData
43+
[1705666572.972912][4778:4780] CHIP:TOO: encodingHint: foo
44+
[1705666572.972936][4778:4780] CHIP:TOO: }
45+
[1705666572.972989][4778:4780] CHIP:DMG: ICR moving to [AwaitingDe]
46+
[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)
47+
[1705666572.973340][4778:4780] CHIP:EM: Flushed pending ack for MessageCounter:136640189 on exchange 743i
48+
disabled: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Copyright (c) 2024 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
15+
16+
name:
17+
19.1.13. [TC-APPOBSERVER-1.13] Global attributes - Content App Observer
18+
Cluster (DUT as Server)
19+
20+
PICS:
21+
- APPOBSERVER.S
22+
23+
config:
24+
nodeId: 0x12344321
25+
cluster: "Basic Information"
26+
endpoint: 0
27+
28+
tests:
29+
- label: "Step 1: TH reads the ClusterRevision attribute from the DUT"
30+
verification: |
31+
./chip-tool contentappobserver read cluster-revision 1 1
32+
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
33+
[1702624923.223245][5892:5894] CHIP:DMG: InteractionModelRevision = 11
34+
[1702624923.223299][5892:5894] CHIP:DMG: }
35+
[1702624923.223652][5892:5894] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFD DataVersion: 2272699478
36+
[1702624923.223820][5892:5894] CHIP:TOO: ClusterRevision: 1
37+
[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)
38+
[1702624923.224578][5892:5894] CHIP:EM: Flushed pending ack for MessageCounter:113660697 on exchange 5445i
39+
disabled: true
40+
41+
- label: "Step 2: TH reads the FeatureMap attribute from the DUT"
42+
verification: |
43+
./chip-tool contentappobserver read feature-map 1 1
44+
On TH, verify that DUT sends the FeatureMap attribute has the value 0 or returns a general error that the attribute is not supported
45+
[1702624956.728609][5896:5898] CHIP:DMG: SuppressResponse = true,
46+
[1702624956.728667][5896:5898] CHIP:DMG: InteractionModelRevision = 11
47+
[1702624956.728720][5896:5898] CHIP:DMG: }
48+
[1702624956.729021][5896:5898] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFC DataVersion: 2272699478
49+
[1702624956.729138][5896:5898] CHIP:TOO: FeatureMap: 0
50+
[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)
51+
disabled: true
52+
53+
- label: "Step 3: TH reads the AttributeList attribute from the DUT"
54+
verification: |
55+
./chip-tool contentappobserver read attribute-list 1 1
56+
Verify " AttributeList " value consists the list of mandatory attributes (65533, 65532, 65531, 65529, 65528) on the TH(Chip-tool) Log:
57+
[1702624983.367693][5900:5902] CHIP:DMG: }
58+
[1702624983.368044][5900:5902] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFB DataVersion: 2272699478
59+
[1702624983.368485][5900:5902] CHIP:TOO: AttributeList: 5 entries
60+
[1702624983.368564][5900:5902] CHIP:TOO: [1]: 65528
61+
[1702624983.368624][5900:5902] CHIP:TOO: [2]: 65529
62+
[1702624983.368683][5900:5902] CHIP:TOO: [3]: 65531
63+
[1702624983.368741][5900:5902] CHIP:TOO: [4]: 65532
64+
[1702624983.368798][5900:5902] CHIP:TOO: [5]: 65533
65+
[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)
66+
disabled: true
67+
68+
- label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT"
69+
verification: |
70+
./chip-tool contentappobserver read accepted-command-list 1 1
71+
Verify " AcceptedCommandList " consists the list of mandatory commands(0)on the TH(Chip-tool) Log:
72+
[1702625012.494394][5905:5907] CHIP:DMG: }
73+
[1702625012.494619][5905:5907] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF9 DataVersion: 2272699478
74+
[1702625012.494697][5905:5907] CHIP:TOO: AcceptedCommandList: 1 entries
75+
[1702625012.494725][5905:5907] CHIP:TOO: [1]: 0
76+
[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)
77+
disabled: true
78+
79+
- label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT"
80+
verification: |
81+
./chip-tool contentappobserver read generated-command-list 1 1
82+
Verify " GeneratedCommandList " consists the list of mandatory commands(1) on the TH(Chip-tool) Log:
83+
[1702625044.200661][5910:5912] CHIP:DMG: }
84+
[1702625044.201052][5910:5912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF8 DataVersion: 2272699478
85+
[1702625044.201230][5910:5912] CHIP:TOO: GeneratedCommandList: 1 entries
86+
[1702625044.201298][5910:5912] CHIP:TOO: [1]: 1
87+
[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)
88+
[1702625044.201956][5910:5912] CHIP:EM: Flushed pending ack for MessageCounter:52573112 on exchange 33891i
89+
disabled: true
90+
91+
- label: "Step 6: TH reads the EventList attribute from the DUT"
92+
verification: |
93+
./chip-tool contentappobserver read event-list 1 1
94+
disabled: true

0 commit comments

Comments
 (0)