Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRLK Test Plan -Aliro Update #34638

Merged
merged 39 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
48e76df
Add files via upload
sumaky Jul 30, 2024
8b1648e
Update Test_TC_DRLK_2_1.yaml Aliro Attributes
sumaky Jul 30, 2024
762c9ad
Update PICS.yaml for Aliro PICS
sumaky Jul 30, 2024
00f91ac
Merge branch 'master' into SumaDRLK
sumaky Jul 30, 2024
aa63220
Merge branch 'master' into SumaDRLK
sumaky Jul 30, 2024
446c6eb
Update PICS.yaml
sumaky Jul 30, 2024
26489ab
Update PICS.yaml-Formatting
sumaky Jul 30, 2024
90a8ffb
Update PICS.yaml
sumaky Jul 30, 2024
ec6d9d8
Update Test_TC_DRLK_2_13.yaml - PICS:PICS_SKIP_SAMPLE_APP
sumaky Jul 30, 2024
e798399
Update Test_TC_DRLK_2_1.yaml-PICS_SKIP_SAMPLE_APP
sumaky Jul 30, 2024
7d931b2
Update PICS.yaml
sumaky Jul 30, 2024
b8fafab
Update PICS.yaml
sumaky Jul 30, 2024
2ba9e48
Update ci-pics-values-update DRLKA0080
sumaky Jul 30, 2024
e833368
Update ci-pics-values-Aliro
sumaky Jul 30, 2024
3443c49
Update PICS.yaml
sumaky Jul 30, 2024
7696cbe
Update ci-pics-values-Aliro Cmds and Feature PICS
sumaky Jul 30, 2024
0a32a21
Update Test_TC_DRLK_2_13.yaml
sumaky Jul 31, 2024
72f078f
formatted using prettier
sumaky Jul 31, 2024
de9e6af
Update PICS.yaml-prettier
sumaky Jul 31, 2024
2871717
Update Test_TC_DRLK_2_13.yaml
sumaky Jul 31, 2024
6900635
Update Test_TC_DRLK_2_1.yaml
sumaky Jul 31, 2024
c073399
Merge branch 'SumaDRLK' of https://github.com/sumaky/connectedhomeip …
sumaky Jul 31, 2024
4aa4ad7
Restyled by prettier-yaml
restyled-commits Jul 31, 2024
626db77
Update Test_TC_DRLK_2_13.yaml
sumaky Jul 31, 2024
f444221
Update ciTests.json-Added DRLK 2.1 and 2.13
sumaky Jul 31, 2024
14f0165
Update ciTests.json
sumaky Jul 31, 2024
536ffc7
Update ciTests.json
sumaky Jul 31, 2024
ee9c870
Restyled by whitespace
restyled-commits Jul 31, 2024
751cc74
Restyled by prettier-json
restyled-commits Jul 31, 2024
7a16830
Update Test_TC_DRLK_2_1.yaml
sumaky Jul 31, 2024
7a8bd9d
deleted DRLK_2_13 yaml file. will be covered in python script
sumaky Jul 31, 2024
d4b16d6
Update ci-pics-values
sumaky Jul 31, 2024
cd25cd8
Update PICS.yaml removed readonly type of PICS
sumaky Jul 31, 2024
bed3541
Update ci-pics-values-removed readonly pics
sumaky Jul 31, 2024
f4b806d
Update ciTests.json-restored
sumaky Jul 31, 2024
34de72b
updated the Aliro labels without readonly , updated the ids to DRLK.S…
cjandhyala Aug 1, 2024
cc981c9
Removed PICS for step 37
sumaky Aug 1, 2024
5da3496
Restyled by whitespace
restyled-commits Aug 1, 2024
84cd6f7
Restyled by prettier-yaml
restyled-commits Aug 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2748,6 +2748,52 @@ PICS:
and is ReadOnly"
id: DRLK.S.A002c.ReadOnly

- label:
"Does the DUT(server) support the AliroReaderVerificationKey attribute
and is ReadOnly"
cjandhyala marked this conversation as resolved.
Show resolved Hide resolved
id: DRLK.S.A0080.ReadOnly
sumaky marked this conversation as resolved.
Show resolved Hide resolved

- label:
"Does the DUT(server) support the AliroReaderGroupIdentifier attribute
and is ReadOnly"
id: DRLK.S.A0081.ReadOnly

- label:
"Does the DUT(server) support the AliroReaderGroupSubIdentifier
attribute and is ReadOnly"
id: DRLK.S.A0082.ReadOnly

- label:
"Does the DUT(server) support the
AliroExpeditedTransactionSupportedProtocolVersions attribute and is
ReadOnly"
id: DRLK.S.A0083.ReadOnly

- label:
"Does the DUT(server) support the AliroGroupResolvingKey attribute and
is ReadOnly"
id: DRLK.S.A0084.ReadOnly

- label:
"Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions
attribute and is ReadOnly"
id: DRLK.S.A0085.ReadOnly

- label:
"Does the DUT(server) support the AliroBLEAdvertisingVersion attribute
and is ReadOnly"
id: DRLK.S.A0086.ReadOnly

- label:
"Does the DUT(server) support the
NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly"
id: DRLK.S.A0087.ReadOnly

- label:
"Does the DUT(server) support the NumberOfAliroEndpointKeysSupported
attribute and is ReadOnly"
id: DRLK.S.A0088.ReadOnly

#
# Server write attributes
#
Expand Down Expand Up @@ -2866,6 +2912,12 @@ PICS:
- label: "Does the DUT(server) support the Unbolt Door command?"
id: DRLK.S.C27.Rsp

- label: "Does the DUT(server) support the SetAliroReaderConfig command?"
id: DRLK.S.C28.Rsp

- label: "Does the DUT(server) support the ClearAliroReaderConfig command?"
id: DRLK.S.C29.Rsp

#
# server / commandsGenerated
#
Expand Down Expand Up @@ -2967,6 +3019,14 @@ PICS:
- label: "Does the DUT(server) support the Lock supports unbolting feature?"
id: DRLK.S.F0c

- label: "Does the DUT(server) support AliroProvisioning feature?"
id: DRLK.S.F0d

- label:
"Does the DUT(server) support Bluetooth LE + UWB Access Control Flow
feature?"
id: DRLK.S.F0e

#
# server / manually
#
Expand Down
290 changes: 281 additions & 9 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1551,20 +1551,292 @@ tests:
response:
value: NumberOfCredentialsSupportedPerUserValue

- label: "Cleanup the created user"
PICS: DRLK.S.F00 && DRLK.S.F07
- label: "Step 36: TH sends ClearCredential Command to DUT"
PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp
cjandhyala marked this conversation as resolved.
Show resolved Hide resolved
command: "ClearCredential"
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "Credential"
value: { CredentialType: 1, CredentialIndex: 1 }

- label:
"Step 37: TH sends ClearUser Command to DUT with the UserIndex as 1"
PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C1d.Rsp
cjandhyala marked this conversation as resolved.
Show resolved Hide resolved
command: "ClearUser"
timedInteractionTimeoutMs: 1000
arguments:
values:
- name: "UserIndex"
value: 1

- label: "Clean the created credential"
PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp
command: "ClearCredential"
timedInteractionTimeoutMs: 1000
- label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080
sumaky marked this conversation as resolved.
Show resolved Hide resolved
command: "readAttribute"
attribute: "AliroReaderVerificationKey"
response:
saveAs: verificationkey
constraints:
type: octet_string
minLength: 65

- label:
"Step 38b: TH writes AliroReaderVerificationKey attribute as an octstr
value of length 65 which is different from verificationkey"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080
command: "writeAttribute"
attribute: "AliroReaderVerificationKey"
arguments:
values:
- name: "Credential"
value: { CredentialType: 1, CredentialIndex: 1 }
value: "047a4c992d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4"
response:
error: UNSUPPORTED_WRITE

- label: "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080
command: "readAttribute"
attribute: "AliroReaderVerificationKey"
response:
value: verificationkey

- label: "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081
command: "readAttribute"
attribute: "AliroReaderGroupIdentifier"
response:
saveAs: aliroreadergrpidentifier
constraints:
type: octet_string
minLength: 16

- label:
"Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr
value of length 16 which is different from aliroreadergrpidentifier"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081
command: "writeAttribute"
attribute: "AliroReaderVerificationKey"
arguments:
value: "047a4c992d753924"
response:
error: UNSUPPORTED_WRITE

- label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081
command: "readAttribute"
attribute: "AliroReaderGroupIdentifier"
response:
value: aliroreadergrpidentifier

- label:
"Step 40a: TH reads AliroReaderGroupSubIdentifier attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082
command: "readAttribute"
attribute: "AliroReaderGroupSubIdentifier"
response:
saveAs: aliroreadergrpsubidentifier
constraints:
type: octet_string
minLength: 16

- label:
"Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr
value of length 16 which is different from aliroreadergrpsubidentifier"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082
command: "writeAttribute"
attribute: "AliroReaderGroupSubIdentifier"
arguments:
value: "047a4c992d75368"
response:
error: UNSUPPORTED_WRITE

- label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082
command: "readAttribute"
attribute: "AliroReaderGroupSubIdentifier"
response:
value: aliroreadergrpsubidentifier

- label:
"Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions
attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083
command: "readAttribute"
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
response:
saveAs: aliroprotocolversion
constraints:
type: list
maxLength: 16

- label:
"Step 41b: TH writes
AliroExpeditedTransactionSupportedProtocolVersions attribute as list
which is different from aliroprotocolversion"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083
command: "writeAttribute"
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
arguments:
value: [1, 2]
response:
error: UNSUPPORTED_WRITE

- label:
"Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions
attribute from DUT"
PICS: DRLK.S.F0d && DRLK.S.A0083
command: "readAttribute"
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
response:
value: aliroprotocolversion

- label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084
command: "readAttribute"
attribute: "AliroGroupResolvingKey"
response:
saveAs: alirogrpresolvingkey
constraints:
type: octet_string
minLength: 16

- label:
"Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value
of length 16 which is different from alirogrpresolvingkey"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084
command: "writeAttribute"
attribute: "AliroGroupResolvingKey"
arguments:
value: "047a4c992d75368"
response:
error: UNSUPPORTED_WRITE

- label: "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084
command: "readAttribute"
attribute: "AliroGroupResolvingKey"
response:
value: alirogrpresolvingkey

- label:
"Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute
from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085
command: "readAttribute"
attribute: "AliroSupportedBLEUWBProtocolVersions"
response:
saveAs: alirobleuwbprotocolversion
constraints:
type: octet_string
minLength: 16

- label:
"Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as
list which is different from alirobleuwbprotocolversion"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085
command: "writeAttribute"
attribute: "AliroSupportedBLEUWBProtocolVersions"
arguments:
value: "047a4c992d75368"
response:
error: UNSUPPORTED_WRITE

- label: "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085
command: "readAttribute"
attribute: "AliroSupportedBLEUWBProtocolVersions"
response:
value: alirobleuwbprotocolversion

- label: "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086
command: "readAttribute"
attribute: "AliroBLEAdvertisingVersion"
response:
saveAs: alirobleadvversion
constraints:
type: int8u
minValue: 0
maxValue: 255

- label:
"Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value
different from alirobleadvversion"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086
command: "writeAttribute"
attribute: "AliroBLEAdvertisingVersion"
arguments:
value: 85
response:
error: UNSUPPORTED_WRITE

- label: "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086
command: "readAttribute"
attribute: "AliroBLEAdvertisingVersion"
response:
value: alirobleadvversion

- label:
"Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported
attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087
command: "readAttribute"
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
response:
saveAs: alirokeysupported
constraints:
type: int16u
minValue: 0
maxValue: 65534

- label:
"Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported
attribute as any value different from alirokeysupported"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087
command: "writeAttribute"
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
arguments:
value: 30
response:
error: UNSUPPORTED_WRITE

- label:
"Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported
attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087
command: "readAttribute"
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
response:
value: alirokeysupported

- label:
"Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from
DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088
command: "readAttribute"
attribute: "NumberOfAliroEndpointKeysSupported"
response:
saveAs: aliroepkeysupported
constraints:
type: int16u
minValue: 0
maxValue: 65534

- label:
"Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as
any value different from aliroepkeysupported"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088
command: "writeAttribute"
attribute: "NumberOfAliroEndpointKeysSupported"
arguments:
value: 1000
response:
error: UNSUPPORTED_WRITE

- label:
"Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from
DUT"
PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088
command: "readAttribute"
attribute: "NumberOfAliroEndpointKeysSupported"
response:
value: aliroepkeysupported
Loading
Loading