blob: 82f8f9c590cb767d0ca24de37c1ab269d9ba5ac1 [file] [log] [blame]
# Copyright (c) 2021 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: 132.2.1. [TC-ACL-2.1] Simple attributes
PICS:
- ACL.S
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "TH1 commissions DUT using admin node ID N1"
verification: |
verification step to be updated.
disabled: true
- label:
"TH1 reads DUT Endpoint 0 AccessControl cluster
SubjectsPerAccessControlEntry attribute"
PICS: ACL.S.A0002
verification: |
./chip-tool accesscontrol read subjects-per-access-control-entry 1 0
On TH, verify DUT responds with value 4 or greater as subjects-per-access-control-entry.
[1656409485.639551][2769:2774] CHIP:DMG: ],
[1656409485.639582][2769:2774] CHIP:DMG:
[1656409485.639608][2769:2774] CHIP:DMG: SuppressResponse = true,
[1656409485.639635][2769:2774] CHIP:DMG: InteractionModelRevision = 1
[1656409485.639659][2769:2774] CHIP:DMG: }
[1656409485.639821][2769:2774] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0002 DataVersion: 317167335
[1656409485.639880][2769:2774] CHIP:TOO: SubjectsPerAccessControlEntry: 4
[1656409485.639957][2769:2774] CHIP:EM: Sending Standalone Ack for MessageCounter:137518483 on exchange 39758i
[1656409485.640080][2769:2774] CHIP:IN: Prepared secure message 0xffffaf7ed958 to 0x0000000000000001 (1) of type 0x10 and prot
disabled: true
- label:
"TH1 reads DUT Endpoint 0 AccessControl cluster
TargetsPerAccessControlEntry attribute"
PICS: ACL.S.A0003
verification: |
./chip-tool accesscontrol read targets-per-access-control-entry 1 0
On TH, verify DUT responds with value 3 or greater as Targets-per-access-control-entry.
[1656409746.779627][2799:2804] CHIP:DMG: },
[1656409746.779672][2799:2804] CHIP:DMG:
[1656409746.779707][2799:2804] CHIP:DMG: ],
[1656409746.779751][2799:2804] CHIP:DMG:
[1656409746.779788][2799:2804] CHIP:DMG: SuppressResponse = true,
[1656409746.779826][2799:2804] CHIP:DMG: InteractionModelRevision = 1
[1656409746.779861][2799:2804] CHIP:DMG: }
[1656409746.780073][2799:2804] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0003 DataVersion: 262648338
[1656409746.780156][2799:2804] CHIP:TOO: TargetsPerAccessControlEntry: 3
[1656409746.780257][2799:2804] CHIP:EM: Sending Standalone Ack for MessageCounter:133466432 on exchange 34792i
disabled: true
- label:
"TH1 reads DUT Endpoint 0 AccessControl cluster
AccessControlEntriesPerFabric attribute"
PICS: ACL.S.A0004
verification: |
./chip-tool accesscontrol read access-control-entries-per-fabric 1 0
On TH, verify DUT responds with value 3 or greater as AccessControlEntriesPerFabric.
[1656409955.865361][2822:2827] CHIP:DMG:
[1656409955.865393][2822:2827] CHIP:DMG: ],
[1656409955.865431][2822:2827] CHIP:DMG:
[1656409955.865456][2822:2827] CHIP:DMG: SuppressResponse = true,
[1656409955.865481][2822:2827] CHIP:DMG: InteractionModelRevision = 1
[1656409955.865504][2822:2827] CHIP:DMG: }
[1656409955.865632][2822:2827] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0004 DataVersion: 317167335
[1656409955.865691][2822:2827] CHIP:TOO: AccessControlEntriesPerFabric: 3
[1656409955.865765][2822:2827] CHIP:EM: Sending Standalone Ack for MessageCounter:204634557 on exchange 23676i
disabled: true
- label: "TH1 commissions DUT using admin node ID N1"
verification: |
verification step to be updated.
disabled: true
- label:
"TH1 reads DUT Descriptor cluster ServerList attribute from Endpoint 0"
verification: |
./chip-tool descriptor read server-list 1 0
On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster with an element of 31( 0x001F)
[1658323282.743614][2301:2306] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 680928677
[1658323282.743771][2301:2306] CHIP:TOO: server list: 26 entries
[1658323282.743807][2301:2306] CHIP:TOO: [1]: 3
[1658323282.743836][2301:2306] CHIP:TOO: [2]: 4
[1658323282.743863][2301:2306] CHIP:TOO: [3]: 29
[1658323282.743890][2301:2306] CHIP:TOO: [4]: 30
[1658323282.743917][2301:2306] CHIP:TOO: [5]: 31
[1658323282.743944][2301:2306] CHIP:TOO: [6]: 40
[1658323282.743971][2301:2306] CHIP:TOO: [7]: 42
[1658323282.743997][2301:2306] CHIP:TOO: [8]: 43
[1658323282.744024][2301:2306] CHIP:TOO: [9]: 44
[1658323282.744051][2301:2306] CHIP:TOO: [10]: 45
[1658323282.744078][2301:2306] CHIP:TOO: [11]: 46
[1658323282.744104][2301:2306] CHIP:TOO: [12]: 47
[1658323282.744132][2301:2306] CHIP:TOO: [13]: 48
[1658323282.744158][2301:2306] CHIP:TOO: [14]: 49
[1658323282.744185][2301:2306] CHIP:TOO: [15]: 50
[1658323282.744211][2301:2306] CHIP:TOO: [16]: 51
[1658323282.744238][2301:2306] CHIP:TOO: [17]: 52
[1658323282.744265][2301:2306] CHIP:TOO: [18]: 53
[1658323282.744291][2301:2306] CHIP:TOO: [19]: 54
[1658323282.744318][2301:2306] CHIP:TOO: [20]: 55
[1658323282.744345][2301:2306] CHIP:TOO: [21]: 60
[1658323282.744372][2301:2306] CHIP:TOO: [22]: 62
[1658323282.744399][2301:2306] CHIP:TOO: [23]: 63
[1658323282.744426][2301:2306] CHIP:TOO: [24]: 64
[1658323282.744453][2301:2306] CHIP:TOO: [25]: 65
[1658323282.744480][2301:2306] CHIP:TOO: [26]: 1029
[1658323282.744662][2301:2306] CHIP:EM: Sending Standalone Ack for MessageCounter:40924717 on exchange 12145ip
disabled: true
- label:
"TH1 reads DUT Descriptor cluster ServerList attribute from every
Endpoint except 0"
verification: |
./chip-tool descriptor read server-list 1 1
On TH ,Verify DUT responds to serverList attribute of Descriptor Cluster without an element of 31( 0x001F)
[1656412927.698026][3383:3388] CHIP:DMG: SuppressResponse = true,
[1656412927.698052][3383:3388] CHIP:DMG: InteractionModelRevision = 1
[1656412927.698076][3383:3388] CHIP:DMG: }
[1656412927.698852][3383:3388] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 239898735
[1656412927.698963][3383:3388] CHIP:TOO: server list: 44 entries
[1656412927.698997][3383:3388] CHIP:TOO: [1]: 3
[1656412927.699023][3383:3388] CHIP:TOO: [2]: 4
[1656412927.699050][3383:3388] CHIP:TOO: [3]: 5
[1656412927.699075][3383:3388] CHIP:TOO: [4]: 6
[1656412927.699101][3383:3388] CHIP:TOO: [5]: 7
[1656412927.699127][3383:3388] CHIP:TOO: [6]: 8
[1656412927.699153][3383:3388] CHIP:TOO: [7]: 15
[1656412927.699179][3383:3388] CHIP:TOO: [8]: 29
[1656412927.699205][3383:3388] CHIP:TOO: [9]: 30
[1656412927.699231][3383:3388] CHIP:TOO: [10]: 37
[1656412927.699258][3383:3388] CHIP:TOO: [11]: 47
[1656412927.699284][3383:3388] CHIP:TOO: [12]: 59
[1656412927.699310][3383:3388] CHIP:TOO: [13]: 64
[1656412927.699336][3383:3388] CHIP:TOO: [14]: 65
[1656412927.699361][3383:3388] CHIP:TOO: [15]: 69
[1656412927.699387][3383:3388] CHIP:TOO: [16]: 80
[1656412927.699414][3383:3388] CHIP:TOO: [17]: 257
[1656412927.699440][3383:3388] CHIP:TOO: [18]: 258
[1656412927.699466][3383:3388] CHIP:TOO: [19]: 259
[1656412927.699492][3383:3388] CHIP:TOO: [20]: 512
[1656412927.699518][3383:3388] CHIP:TOO: [21]: 513
[1656412927.699544][3383:3388] CHIP:TOO: [22]: 514
[1656412927.699571][3383:3388] CHIP:TOO: [23]: 516
[1656412927.699596][3383:3388] CHIP:TOO: [24]: 768
[1656412927.699623][3383:3388] CHIP:TOO: [25]: 1024
[1656412927.699649][3383:3388] CHIP:TOO: [26]: 1026
[1656412927.699675][3383:3388] CHIP:TOO: [27]: 1027
[1656412927.699701][3383:3388] CHIP:TOO: [28]: 1028
[1656412927.699727][3383:3388] CHIP:TOO: [29]: 1029
[1656412927.699754][3383:3388] CHIP:TOO: [30]: 1030
[1656412927.699780][3383:3388] CHIP:TOO: [31]: 1283
[1656412927.699806][3383:3388] CHIP:TOO: [32]: 1284
[1656412927.699832][3383:3388] CHIP:TOO: [33]: 1285
[1656412927.699858][3383:3388] CHIP:TOO: [34]: 1286
[1656412927.699884][3383:3388] CHIP:TOO: [35]: 1287
[1656412927.699911][3383:3388] CHIP:TOO: [36]: 1288
[1656412927.699937][3383:3388] CHIP:TOO: [37]: 1289
[1656412927.699963][3383:3388] CHIP:TOO: [38]: 1290
[1656412927.700002][3383:3388] CHIP:TOO: [39]: 1291
[1656412927.700029][3383:3388] CHIP:TOO: [40]: 1292
[1656412927.700056][3383:3388] CHIP:TOO: [41]: 1293
[1656412927.700082][3383:3388] CHIP:TOO: [42]: 1294
[1656412927.700108][3383:3388] CHIP:TOO: [43]: 2820
[1656412927.700134][3383:3388] CHIP:TOO: [44]: 4294048773
[1656412927.700251][3383:3388] CHIP:EM: Sending Standalone Ack for MessageCounter:186152197 on exchange 39489i
disabled: true