From 48e76dfae9cf70ddc000e0400a00afceb7d92bc3 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:42:11 +0530 Subject: [PATCH 01/36] Add files via upload --- .../certification/Test_TC_DRLK_2_13.yaml | 617 ++++++++++++++++++ 1 file changed, 617 insertions(+) create mode 100644 src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml new file mode 100644 index 00000000000000..f79f8313d64a79 --- /dev/null +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -0,0 +1,617 @@ +# 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. + +name: + 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] + +PICS: + - DRLK.S.F0d + +config: + nodeId: 0x12344321 + cluster: "Door Lock" + endpoint: 1 + PINCredentialData: + type: octet_string + defaultValue: "123456" + RFIDCredentialData: + type: octet_string + defaultValue: "123456789A" + FingerVeinCredentialData: + type: octet_string + defaultValue: "123456789A" + signingkey: + type: + defaultValue: "89d085fc302ca53e279bfcdecdf3c4adb2f5d9bc9ea6c49e9566d144367df3ff" + verificationkey: + type: + defaultValue: "047a4c992d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + groupidentifier: + type: + defaultValue: "89d085fc302ca53e279bfcdecdf3c4ad" + groupresolvingkey: + type: + defaultValue: "89d0859bfcdecdf3c4adfc302ca53e27" + aliroverifykey1: + type: + defaultValue: "047a4c442d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + alirocredentialissuerkey: + type: + defaultValue: "047a4c882d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + aliroevictableendpointkey: + type: + defaultValue: "047a4c772d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + alirononevictableendpointkey: + type: + defaultValue: "047a4c662d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + alirononevictableendpointkey1: + type: + defaultValue: "047a4c552d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" + alirouser: + type: + defaultValue: "AliroUser" + + +tests: + - label: "Wait for the commissioned device to be retrieved" + cluster: "DelayCommands" + command: "WaitForCommissionee" + arguments: + values: + - name: "nodeId" + value: nodeId + + - label: "Pre-condition : Read the commissioner node ID. Save TH’s node ID as node-id" + cluster: "CommissionerCommands" + command: "GetCommissionerNodeId" + response: + values: + - name: "nodeId" + saveAs: node-id + + - label: + "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute" + command: "readAttribute" + endpoint: 0 + cluster: "Operational Credentials" + attribute: "CurrentFabricIndex" + response: + saveAs: fabric-idx + + - label: "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as 0xFFFE to clear all the users" + command: "ClearUser" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "UserIndex" + value: 0xFFFE + + - label: "Step 1c: TH sends ClearCredential Command to DUT to clear all the credentials. Credential as null, 0xFFFE (CredentialType,CredentialIndex)" + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "CredentialType" + value: null + - name: "CredentialIndex" + value: 0xFFFE + + - label: "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any existing Aliro Configuration" + command: "ClearAliroReaderConfig" + + - label: "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: "" + + - label: "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: groupresolvingkey + + - label: "Step 3: TH reads AliroReaderVerificationKey attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.A0080 + command: "readAttribute" + attribute: "AliroReaderVerificationKey" + response: + value: verificationkey + + - label: "Step 4: TH reads AliroReaderGroupIdentifier attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.A0081 + command: "readAttribute" + attribute: "AliroReaderGroupIdentifier" + response: + value: groupidentifier + + - label: "Step 5: TH reads AliroGroupResolvingKey attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 + command: "readAttribute" + attribute: "AliroGroupResolvingKey" + response: + value: groupresolvingkey + + - label: "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: "" + response: + value: INVALID_IN_STATE + + - label: "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: groupresolvingkey + response: + value: INVALID_IN_STATE + + - label: "Step 7: TH sends ClearAliroReaderConfig Command to DUT" + PICS: DRLK.S.C29.Rsp + command: "ClearAliroReaderConfig" + + - label: "Step 8: TH reads AliroReaderVerificationKey attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.A0080 + command: "readAttribute" + attribute: "AliroReaderVerificationKey" + response: + value: null + + - label: "Step 9: TH reads AliroReaderGroupIdentifier attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.A0081 + command: "readAttribute" + attribute: "AliroReaderGroupIdentifier" + response: + value: null + + - label: "Step 10: TH reads AliroGroupResolvingKey attribute from DUT" + PICS: DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 + command: "readAttribute" + attribute: "AliroGroupResolvingKey" + response: + value: null + + - label: "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: "" + + - label: "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + command: "SetAliroReaderConfig" + arguments: + values: + - name: "SigningKey" + value: signingkey + - name: "VerificationKey" + value: verificationkey + - name: "GroupIdentifier " + value: groupidentifier + - name: "GroupResolvingKey" + value: groupresolvingkey + + - label: "Step 12: TH sends SetUser Command to DUT to create an Aliro user with the following values: OperationType as 0( DataOperationTypeEnum.Add), UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus as 1(UserStatusEnum.OccupiedEnabled), UserType as 0(UserTypeEnum.UnrestrictedUser), CredentialRule as 0(CredentialRuleEnum.Single)" + PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp + command: "SetUser" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "OperationType" + value: 0 + - name: "UserIndex" + value: 1 + - name: "UserName" + value: alirouser + - name: "UserUniqueID" + value: 111 + - name: "UserStatus" + value: 1 + - name: "UserType" + value: 0 + - name: "CredentialRule" + value: 0 + + - label: "Step 13: TH sends SetCredential Command to DUT with CredentialType as AliroCredentialIssuerKey and CredentialData as alirocredentialissuerkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 6 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus as null, UserType as null" + PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + command: "SetCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "OperationType" + value: 0 + - name: "Credential" + value: { CredentialType: 6, CredentialIndex: 1 } + - name: "CredentialData" + value: alirocredentialissuerkey + - name: "UserIndex" + value: 1 + - name: "UserStatus" + value: null + - name: "UserType" + value: null + response: + values: + - name: "Status" + value: 0 + + #NEED TO CHECK WITH VALUES + - label: "Step 14: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d || DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroCredentialIssuerKey, + DataOperationType: DataOperationTypeEnum.Add, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 2, + } + + - label: "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + command: "GetCredentialStatus" + arguments: + values: + - name: "Credential" + value: { CredentialType: 6, CredentialIndex: 1 } + response: + values: + - name: "CredentialExists" + value: true + constraints: + type: boolean + - name: "UserIndex" + value: 1 + + - label: + "Step 16: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroCredentialIssuerKey Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 6, CredentialIndex: 1 } + + #NEED TO CHECK WITH VALUES + - label: "Step 17: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d && DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroCredentialIssuerKey, + DataOperationType: DataOperationTypeEnum.Clear, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 1, + } + + - label: "Step 18: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" + PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + command: "SetCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "OperationType" + value: 0 + - name: "Credential" + value: { CredentialType: 7, CredentialIndex: 1 } + - name: "CredentialData" + value: aliroevictableendpointkey + - name: "UserIndex" + value: 1 + - name: "UserStatus" + value: null + - name: "UserType" + value: null + response: + values: + - name: "Status" + value: 0 + + #NEED TO CHECK WITH VALUES + - label: "Step 19: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d && DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroEvictableEndpointKey, + DataOperationType: DataOperationTypeEnum.Add, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 2, + } + + - label: "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + command: "GetCredentialStatus" + arguments: + values: + - name: "Credential" + value: { CredentialType: 7, CredentialIndex: 1 } + response: + values: + - name: "CredentialExists" + value: true + constraints: + type: boolean + - name: "UserIndex" + value: 1 + + - label: + "Step 21: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 7, CredentialIndex: 1 } + + #NEED TO CHECK WITH VALUES + - label: "Step 22: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d && DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroEvictableEndpointKey, + DataOperationType: DataOperationTypeEnum.Clear, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 1, + } + + - label: "Step 23: TH sends SetCredential Command to DUT with CredentialType as alirononevictableendpointkey for the alirouser and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" + PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + command: "SetCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "OperationType" + value: 0 + - name: "Credential" + value: { CredentialType: 8, CredentialIndex: 1 } + - name: "CredentialData" + value: alirononevictableendpointkey + - name: "UserIndex" + value: 1 + - name: "UserStatus" + value: null + - name: "UserType" + value: null + response: + values: + - name: "Status" + value: 0 + + #NEED TO CHECK WITH VALUES + - label: "Step 24: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d && DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroNonEvictableEndpointKey, + DataOperationType: DataOperationTypeEnum.Add, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 2, + } + + - label: "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + command: "GetCredentialStatus" + arguments: + values: + - name: "Credential" + value: { CredentialType: 8, CredentialIndex: 1 } + response: + values: + - name: "CredentialExists" + value: true + constraints: + type: boolean + - name: "UserIndex" + value: 1 + + - label: + "Step 26: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 8, CredentialIndex: 1 } + + #NEED TO CHECK WITH VALUES + - label: "Step 27: TH reads the LockUserChange event list from DUT" + PICS: DRLK.S.F0d && DRLK.S.E04 + command: "readEvent" + event: "LockUserChange" + response: + value: + { + LockDataType: LockDataTypeEnum.AliroNonEvictableEndpointKey, + DataOperationType: DataOperationTypeEnum.Clear, + OperationSource: OperationSourceEnum.Remote, + UserIndex: 1, + FabricIndex: fabric-idx, + SourceNode: node-id, + DataIndex: 1, + } + + - label: "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and saves the value as max_aliro_keys_supported" + PICS: DRLK.S.A0088 + command: "readAttribute" + attribute: "NumberOfAliroEndpointKeysSupported" + response: + saveAs: max_aliro_keys_supported + + - label: + "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and saves the value as numberofcredentialsupportedperuser" + PICS: DRLK.S.A001c + command: "readAttribute" + attribute: "NumberOfCredentialsSupportedPerUser" + response: + saveAs: numberofcredentialsupportedperuser + + ############# + #STEP 28c IF LOOP + ############# + + ############# + #STEP 29, 30, 31, 32, 33: startcredentialindex + ############# + + + - label: "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 6 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 6, CredentialIndex: 1 } + + - label: "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 7 1(CredentialTypeEnum.AliroEvictableEndpointKey)" + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 7, CredentialIndex: 1 } + + - label: "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 8 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" + command: "ClearCredential" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "Credential" + value: { CredentialType: 8, CredentialIndex: 1 } + + - label: "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" + command: "ClearUser" + timedInteractionTimeoutMs: 1000 + arguments: + values: + - name: "UserIndex" + value: 1 + + # - label: "Step 30: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 startcredentialindex+1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" + # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + # command: "SetCredential" + # timedInteractionTimeoutMs: 1000 + # arguments: + # values: + # - name: "OperationType" + # value: 0 + # - name: "Credential" + # value: { CredentialType: 8, CredentialIndex: 2 } + # - name: "CredentialData" + # value: aliroevictableendpointkey + # - name: "UserIndex" + # value: 1 + # - name: "UserStatus" + # value: null + # - name: "UserType" + # value: null + # response: + # values: + # - name: "Status" + # value: 0 + + # - label: "Step 31: TH sends SetCredential Command to DUT with CredentialType as AliroNonEvictableEndpointKey and number of credentials for alirouser exceeds the max_aliro_keys_supported CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 startcredentialindex+1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey1, UserIndex as 1, UserStatus as null, UserType as null" + # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + # command: "SetCredential" + # timedInteractionTimeoutMs: 1000 + # arguments: + # values: + # - name: "OperationType" + # value: 0 + # - name: "Credential" + # value: { CredentialType: 8, CredentialIndex: 1 } + # - name: "CredentialData" + # value: alirononevictableendpointkey1 + # - name: "UserIndex" + # value: 1 + # - name: "UserStatus" + # value: null + # - name: "UserType" + # value: null + # response: + # values: + # - name: "Status" + # value: 0 \ No newline at end of file From 8b1648e211aa70010a9dfe15f96ee4037d4ea362 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:50:56 +0530 Subject: [PATCH 02/36] Update Test_TC_DRLK_2_1.yaml Aliro Attributes --- .../certification/Test_TC_DRLK_2_1.yaml | 276 +++++++++++++++++- 1 file changed, 268 insertions(+), 8 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index e84b1ebdbc8459..f354810d1d78f3 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1551,7 +1551,18 @@ tests: response: value: NumberOfCredentialsSupportedPerUserValue - - label: "Cleanup the created user" + - label: + "Step 36: TH sends ClearCredential Command to DUT" + PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp + 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 command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -1560,11 +1571,260 @@ tests: - 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: DRLK.S.F0d && DRLK.S.A0080 + 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: 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: DRLK.S.F0d && DRLK.S.A0080 + command: "readAttribute" + attribute: "AliroReaderVerificationKey" + response: + value: verificationkey + + - label: + "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0081 + command: "readAttribute" + attribute: "AliroReaderGroupIdentifier" + response: + value: aliroreadergrpidentifier + + - label: + "Step 40a: TH reads AliroReaderGroupSubIdentifier attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0082 + command: "readAttribute" + attribute: "AliroReaderGroupSubIdentifier" + response: + value: aliroreadergrpsubidentifier + + - label: + "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" + PICS: 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: 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: 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: 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: DRLK.S.F0d && DRLK.S.A0084 + command: "readAttribute" + attribute: "AliroGroupResolvingKey" + response: + value: alirogrpresolvingkey + + - label: + "Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0085 + command: "readAttribute" + attribute: "AliroSupportedBLEUWBProtocolVersions" + response: + value: alirobleuwbprotocolversion + + - label: + "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0086 + command: "readAttribute" + attribute: "AliroBLEAdvertisingVersion" + response: + value: alirobleadvversion + + - label: "Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0087 + command: "readAttribute" + attribute: "NumberOfAliroCredentialIssuerKeysSupported" + response: + value: alirokeysupported + + - label: "Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" + PICS: 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: 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: DRLK.S.F0d && DRLK.S.A0088 + command: "readAttribute" + attribute: "NumberOfAliroEndpointKeysSupported" + response: + value: aliroepkeysupported From 762c9ad7ce664e3d2686635bea39c266b8cced8a Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 22:11:02 +0530 Subject: [PATCH 03/36] Update PICS.yaml for Aliro PICS --- src/app/tests/suites/certification/PICS.yaml | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 3edf69e6a3b739..c725e4fd424c80 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2747,6 +2747,35 @@ PICS: "Does the DUT(server) support the LocalProgrammingFeatures attribute and is ReadOnly" id: DRLK.S.A002c.ReadOnly + + - label: + "Does the DUT(server) support the AliroReaderVerificationKey attribute and is ReadOnly" + id: DRLK.S.A0080.ReadOnly + + - 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 @@ -2865,6 +2894,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 @@ -2966,6 +3001,12 @@ 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 From 446c6ebf49d308c553e54afa86f2461b82b59c61 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 22:47:03 +0530 Subject: [PATCH 04/36] Update PICS.yaml --- src/app/tests/suites/certification/PICS.yaml | 23 +++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index c725e4fd424c80..0b5bc29c3f4a20 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2754,28 +2754,35 @@ PICS: - label: "Does the DUT(server) support the AliroReaderGroupIdentifier attribute and is ReadOnly" - id: DRLK.S.A0081.ReadOnly + id: DRLK.S.A0081.ReadOnly + - label: "Does the DUT(server) support the AliroReaderGroupSubIdentifier attribute and is ReadOnly" - id: DRLK.S.A0082.ReadOnly + id: DRLK.S.A0082.ReadOnly + - label: "Does the DUT(server) support the AliroExpeditedTransactionSupportedProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0083.ReadOnly + id: DRLK.S.A0083.ReadOnly + - label: "Does the DUT(server) support the AliroGroupResolvingKey attribute and is ReadOnly" - id: DRLK.S.A0084.ReadOnly + id: DRLK.S.A0084. + - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0085.ReadOnly + id: DRLK.S.A0085.ReadOnly + - label: "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute and is ReadOnly" - id: DRLK.S.A0086.ReadOnly + id: DRLK.S.A0086. + - label: "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0087.ReadOnly + id: DRLK.S.A0087.ReadOnly + - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0088.ReadOnly + id: DRLK.S.A0088.ReadOnly # # Server write attributes From 26489abc7d46e1e3be08f6ff2916feae6d3880f5 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 23:04:07 +0530 Subject: [PATCH 05/36] Update PICS.yaml-Formatting --- src/app/tests/suites/certification/PICS.yaml | 27 +++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 0b5bc29c3f4a20..1fb20851e6524d 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2749,39 +2749,48 @@ PICS: id: DRLK.S.A002c.ReadOnly - label: - "Does the DUT(server) support the AliroReaderVerificationKey attribute and is ReadOnly" + "Does the DUT(server) support the AliroReaderVerificationKey attribute + and is ReadOnly" id: DRLK.S.A0080.ReadOnly - label: - "Does the DUT(server) support the AliroReaderGroupIdentifier attribute and is ReadOnly" + "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" + "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" + "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" + "Does the DUT(server) support the AliroGroupResolvingKey attribute + and is ReadOnly" id: DRLK.S.A0084. - label: - "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute and is ReadOnly" + "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" + "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute + and is ReadOnly" id: DRLK.S.A0086. - label: - "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" + "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" + "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute + and is ReadOnly" id: DRLK.S.A0088.ReadOnly # From 90a8ffb4f4acdfe078c9bf4db2bee8e72396d28d Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 23:11:40 +0530 Subject: [PATCH 06/36] Update PICS.yaml From ec6d9d87cfba89f769770d307a377acec040141f Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 23:37:08 +0530 Subject: [PATCH 07/36] Update Test_TC_DRLK_2_13.yaml - PICS:PICS_SKIP_SAMPLE_APP --- .../certification/Test_TC_DRLK_2_13.yaml | 70 ++++++++++--------- 1 file changed, 38 insertions(+), 32 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index f79f8313d64a79..f89e2ee3c73da3 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -90,6 +90,7 @@ tests: saveAs: fabric-idx - label: "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as 0xFFFE to clear all the users" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 arguments: @@ -99,6 +100,7 @@ tests: - label: "Step 1c: TH sends ClearCredential Command to DUT to clear all the credentials. Credential as null, 0xFFFE (CredentialType,CredentialIndex)" command: "ClearCredential" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp timedInteractionTimeoutMs: 1000 arguments: values: @@ -111,7 +113,7 @@ tests: command: "ClearAliroReaderConfig" - label: "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." - PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -125,7 +127,7 @@ tests: value: "" - label: "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." - PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -139,28 +141,28 @@ tests: value: groupresolvingkey - label: "Step 3: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0080 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: value: verificationkey - label: "Step 4: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0081 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: groupidentifier - label: "Step 5: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: groupresolvingkey - label: "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." - PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -176,7 +178,7 @@ tests: value: INVALID_IN_STATE - label: "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." - PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -192,32 +194,32 @@ tests: value: INVALID_IN_STATE - label: "Step 7: TH sends ClearAliroReaderConfig Command to DUT" - PICS: DRLK.S.C29.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C29.Rsp command: "ClearAliroReaderConfig" - label: "Step 8: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0080 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: value: null - label: "Step 9: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0081 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: null - label: "Step 10: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: null - label: "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." - PICS: DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -231,7 +233,7 @@ tests: value: "" - label: "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." - PICS: DRLK.S.F0e && DRLK.S.C28.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: values: @@ -245,7 +247,7 @@ tests: value: groupresolvingkey - label: "Step 12: TH sends SetUser Command to DUT to create an Aliro user with the following values: OperationType as 0( DataOperationTypeEnum.Add), UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus as 1(UserStatusEnum.OccupiedEnabled), UserType as 0(UserTypeEnum.UnrestrictedUser), CredentialRule as 0(CredentialRuleEnum.Single)" - PICS: DRLK.S.F08 && DRLK.S.C1a.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F08 && DRLK.S.C1a.Rsp command: "SetUser" timedInteractionTimeoutMs: 1000 arguments: @@ -266,7 +268,7 @@ tests: value: 0 - label: "Step 13: TH sends SetCredential Command to DUT with CredentialType as AliroCredentialIssuerKey and CredentialData as alirocredentialissuerkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 6 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -290,7 +292,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 14: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d || DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d || DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -306,7 +308,7 @@ tests: } - label: "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -323,7 +325,7 @@ tests: - label: "Step 16: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroCredentialIssuerKey Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -333,7 +335,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 17: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d && DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -349,7 +351,7 @@ tests: } - label: "Step 18: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -373,7 +375,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 19: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d && DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -389,7 +391,7 @@ tests: } - label: "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -406,7 +408,7 @@ tests: - label: "Step 21: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -416,7 +418,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 22: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d && DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -432,7 +434,7 @@ tests: } - label: "Step 23: TH sends SetCredential Command to DUT with CredentialType as alirononevictableendpointkey for the alirouser and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -456,7 +458,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 24: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d && DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -472,7 +474,7 @@ tests: } - label: "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -489,7 +491,7 @@ tests: - label: "Step 26: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: DRLK.S.F0d && DRLK.S.C26.Rsp + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -499,7 +501,7 @@ tests: #NEED TO CHECK WITH VALUES - label: "Step 27: TH reads the LockUserChange event list from DUT" - PICS: DRLK.S.F0d && DRLK.S.E04 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 command: "readEvent" event: "LockUserChange" response: @@ -515,7 +517,7 @@ tests: } - label: "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and saves the value as max_aliro_keys_supported" - PICS: DRLK.S.A0088 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: @@ -523,7 +525,7 @@ tests: - label: "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and saves the value as numberofcredentialsupportedperuser" - PICS: DRLK.S.A001c + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A001c command: "readAttribute" attribute: "NumberOfCredentialsSupportedPerUser" response: @@ -539,6 +541,7 @@ tests: - label: "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 6 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -547,6 +550,7 @@ tests: value: { CredentialType: 6, CredentialIndex: 1 } - label: "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 7 1(CredentialTypeEnum.AliroEvictableEndpointKey)" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -555,6 +559,7 @@ tests: value: { CredentialType: 7, CredentialIndex: 1 } - label: "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 8 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -563,6 +568,7 @@ tests: value: { CredentialType: 8, CredentialIndex: 1 } - label: "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 arguments: @@ -614,4 +620,4 @@ tests: # response: # values: # - name: "Status" - # value: 0 \ No newline at end of file + # value: 0 From e7983992b0819538ff5879d4388a88623525d032 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 23:53:49 +0530 Subject: [PATCH 08/36] Update Test_TC_DRLK_2_1.yaml-PICS_SKIP_SAMPLE_APP --- .../certification/Test_TC_DRLK_2_1.yaml | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index f354810d1d78f3..319716b4cea304 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1563,7 +1563,7 @@ tests: - label: "Step 37: TH sends ClearUser Command to DUT with the UserIndex as 1" - PICS: DRLK.S.F00 && DRLK.S.F07 + PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 arguments: @@ -1573,7 +1573,7 @@ tests: - label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0080 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: @@ -1584,7 +1584,7 @@ tests: - label: "Step 38b: TH writes AliroReaderVerificationKey attribute as an octstr value of length 65 which is different from verificationkey" - PICS: DRLK.S.F0d && DRLK.S.A0080 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "writeAttribute" attribute: "AliroReaderVerificationKey" arguments: @@ -1594,7 +1594,7 @@ tests: - label: "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0080 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: @@ -1602,7 +1602,7 @@ tests: - label: "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0081 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: @@ -1613,7 +1613,7 @@ tests: - label: "Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpidentifier" - PICS: DRLK.S.F0d && DRLK.S.A0081 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "writeAttribute" attribute: "AliroReaderVerificationKey" arguments: @@ -1623,7 +1623,7 @@ tests: - label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0081 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: @@ -1631,7 +1631,7 @@ tests: - label: "Step 40a: TH reads AliroReaderGroupSubIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0082 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" response: @@ -1642,7 +1642,7 @@ tests: - label: "Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpsubidentifier" - PICS: DRLK.S.F0d && DRLK.S.A0082 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 command: "writeAttribute" attribute: "AliroReaderGroupSubIdentifier" arguments: @@ -1652,7 +1652,7 @@ tests: - label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0082 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" response: @@ -1660,7 +1660,7 @@ tests: - label: "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0083 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083 command: "readAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" response: @@ -1671,7 +1671,7 @@ tests: - label: "Step 41b: TH writes AliroExpeditedTransactionSupportedProtocolVersions attribute as list which is different from aliroprotocolversion" - PICS: DRLK.S.F0d && DRLK.S.A0083 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083 command: "writeAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" arguments: @@ -1689,7 +1689,7 @@ tests: - label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0084 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: @@ -1700,7 +1700,7 @@ tests: - label: "Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value of length 16 which is different from alirogrpresolvingkey" - PICS: DRLK.S.F0d && DRLK.S.A0084 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 command: "writeAttribute" attribute: "AliroGroupResolvingKey" arguments: @@ -1710,7 +1710,7 @@ tests: - label: "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0084 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: @@ -1718,7 +1718,7 @@ tests: - label: "Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0085 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 command: "readAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" response: @@ -1729,7 +1729,7 @@ tests: - label: "Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as list which is different from alirobleuwbprotocolversion" - PICS: DRLK.S.F0d && DRLK.S.A0085 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 command: "writeAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" arguments: @@ -1739,7 +1739,7 @@ tests: - label: "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0085 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 command: "readAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" response: @@ -1747,7 +1747,7 @@ tests: - label: "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0086 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 command: "readAttribute" attribute: "AliroBLEAdvertisingVersion" response: @@ -1759,7 +1759,7 @@ tests: - label: "Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value different from alirobleadvversion" - PICS: DRLK.S.F0d && DRLK.S.A0086 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 command: "writeAttribute" attribute: "AliroBLEAdvertisingVersion" arguments: @@ -1769,14 +1769,14 @@ tests: - label: "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0086 + 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: DRLK.S.F0d && DRLK.S.A0087 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 command: "readAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" response: @@ -1787,7 +1787,7 @@ tests: maxValue: 65534 - label: "Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported attribute as any value different from alirokeysupported" - PICS: DRLK.S.F0d && DRLK.S.A0087 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 command: "writeAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" arguments: @@ -1796,14 +1796,14 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0087 + 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: DRLK.S.F0d && DRLK.S.A0088 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: @@ -1814,7 +1814,7 @@ tests: maxValue: 65534 - label: "Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as any value different from aliroepkeysupported" - PICS: DRLK.S.F0d && DRLK.S.A0088 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "writeAttribute" attribute: "NumberOfAliroEndpointKeysSupported" arguments: @@ -1823,7 +1823,7 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" - PICS: DRLK.S.F0d && DRLK.S.A0088 + PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: From 7d931b222014f23e370d1ef459ddb9c7fe83ea2a Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Tue, 30 Jul 2024 23:59:26 +0530 Subject: [PATCH 09/36] Update PICS.yaml --- src/app/tests/suites/certification/PICS.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 1fb20851e6524d..46d166d5181d5d 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2745,52 +2745,52 @@ PICS: - label: "Does the DUT(server) support the LocalProgrammingFeatures attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A002c.ReadOnly - label: "Does the DUT(server) support the AliroReaderVerificationKey attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0080.ReadOnly - label: "Does the DUT(server) support the AliroReaderGroupIdentifier attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0081.ReadOnly - label: "Does the DUT(server) support the AliroReaderGroupSubIdentifier attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0082.ReadOnly - label: "Does the DUT(server) support the AliroExpeditedTransactionSupportedProtocolVersions attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0083.ReadOnly - label: "Does the DUT(server) support the AliroGroupResolvingKey attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0084. - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0085.ReadOnly - label: "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0086. - label: "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0087.ReadOnly - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A0088.ReadOnly # From b8fafabd403588e1e196d6c79b9aa85826a3c8d1 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:17:10 +0530 Subject: [PATCH 10/36] Update PICS.yaml --- src/app/tests/suites/certification/PICS.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 46d166d5181d5d..53ed9c1e505bd8 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2751,47 +2751,47 @@ PICS: - label: "Does the DUT(server) support the AliroReaderVerificationKey attribute and is ReadOnly" - id: DRLK.S.A0080.ReadOnly + id: DRLK.S.A0080.ReadOnly - label: "Does the DUT(server) support the AliroReaderGroupIdentifier attribute and is ReadOnly" - id: DRLK.S.A0081.ReadOnly + id: DRLK.S.A0081.ReadOnly - label: "Does the DUT(server) support the AliroReaderGroupSubIdentifier attribute and is ReadOnly" - id: DRLK.S.A0082.ReadOnly + id: DRLK.S.A0082.ReadOnly - label: "Does the DUT(server) support the AliroExpeditedTransactionSupportedProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0083.ReadOnly + id: DRLK.S.A0083.ReadOnly - label: "Does the DUT(server) support the AliroGroupResolvingKey attribute and is ReadOnly" - id: DRLK.S.A0084. + id: DRLK.S.A0084.ReadOnly - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0085.ReadOnly + id: DRLK.S.ReadOnly - label: "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute and is ReadOnly" - id: DRLK.S.A0086. + id: DRLK.S.A0086.ReadOnly - label: "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0087.ReadOnly + id: DRLK.S.A0086.ReadOnly - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0088.ReadOnly + id: DRLK.S.A0086.ReadOnly # # Server write attributes From 2ba9e4820bb36806cb58e03380538d4598df4bcc Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:36:47 +0530 Subject: [PATCH 11/36] Update ci-pics-values-update DRLKA0080 --- src/app/tests/suites/certification/ci-pics-values | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 9ea99c627f16f4..471f4836faa67d 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -1520,7 +1520,8 @@ DRLK.S.A0035=0 #ReadOnly attributes DRLK.S.A0028.ReadOnly=1 -DRLK.S.A002c.ReadOnly=1 +DRLK.S.A002c.ReadOnly= +DRLK.S.A0080.ReadOnly=0 #write attributes DRLK.S.M.SimulateNotFullyLocked=1 From e833368146533fb3e5ac2d69df841d41b844b908 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:53:12 +0530 Subject: [PATCH 12/36] Update ci-pics-values-Aliro --- src/app/tests/suites/certification/ci-pics-values | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 471f4836faa67d..ff8651b9182aa4 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -1520,8 +1520,16 @@ DRLK.S.A0035=0 #ReadOnly attributes DRLK.S.A0028.ReadOnly=1 -DRLK.S.A002c.ReadOnly= +DRLK.S.A002c.ReadOnly=1 DRLK.S.A0080.ReadOnly=0 +DRLK.S.A0081.ReadOnly=0 +DRLK.S.A0082.ReadOnly=0 +DRLK.S.A0083.ReadOnly=0 +DRLK.S.A0084.ReadOnly=0 +DRLK.S.A0085.ReadOnly=0 +DRLK.S.A0086.ReadOnly=0 +DRLK.S.A0087.ReadOnly=0 +DRLK.S.A0088.ReadOnly=0 #write attributes DRLK.S.M.SimulateNotFullyLocked=1 From 3443c492f29c4c3c0f7769f9670d0475c4dfab43 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:55:12 +0530 Subject: [PATCH 13/36] Update PICS.yaml --- src/app/tests/suites/certification/PICS.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 53ed9c1e505bd8..87a2689e919bc3 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2776,7 +2776,7 @@ PICS: - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute and is ReadOnly" - id: DRLK.S.ReadOnly + id: DRLK.S.A0085.ReadOnly - label: "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute @@ -2786,12 +2786,12 @@ PICS: - label: "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0086.ReadOnly + id: DRLK.S.A0087.ReadOnly - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0086.ReadOnly + id: DRLK.S.A0088.ReadOnly # # Server write attributes From 7696cbe08e190acb7c8f24e3f76be2065a98e776 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 01:03:24 +0530 Subject: [PATCH 14/36] Update ci-pics-values-Aliro Cmds and Feature PICS --- src/app/tests/suites/certification/ci-pics-values | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index ff8651b9182aa4..54f7624e26d80b 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -1571,6 +1571,8 @@ DRLK.S.F08=1 DRLK.S.F0a=1 DRLK.S.F0b=1 DRLK.S.F0c=1 +DRLK.S.F0d=0 +DRLK.S.F0e=0 # Server Commands DRLK.S.C00.Rsp=1 @@ -1592,6 +1594,8 @@ DRLK.S.C22.Rsp=1 DRLK.S.C24.Rsp=1 DRLK.S.C26.Rsp=1 DRLK.S.C27.Rsp=1 +DRLK.S.C28.Rsp=0 +DRLK.S.C29.Rsp=0 DRLK.S.C0c.Tx=1 DRLK.S.C0f.Tx=1 DRLK.S.C12.Tx=1 From 0a32a21f80121572e82c1cadedf05812d399e7a2 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:01:03 +0530 Subject: [PATCH 15/36] Update Test_TC_DRLK_2_13.yaml --- src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index f89e2ee3c73da3..01ba9f8266d0f2 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -104,11 +104,9 @@ tests: timedInteractionTimeoutMs: 1000 arguments: values: - - name: "CredentialType" - value: null - - name: "CredentialIndex" - value: 0xFFFE - + - name: "Credential" + value: { CredentialType: null, CredentialIndex: 0xFFFE } + - label: "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any existing Aliro Configuration" command: "ClearAliroReaderConfig" From 72f078fa048602f761b4ce152d2c923637332000 Mon Sep 17 00:00:00 2001 From: sumaky Date: Wed, 31 Jul 2024 11:01:48 +0530 Subject: [PATCH 16/36] formatted using prettier --- src/app/tests/suites/certification/PICS.yaml | 79 +++--- .../certification/Test_TC_DRLK_2_1.yaml | 118 +++++---- .../certification/Test_TC_DRLK_2_13.yaml | 239 ++++++++++++------ 3 files changed, 270 insertions(+), 166 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 87a2689e919bc3..f717c059e3425a 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2745,52 +2745,53 @@ PICS: - label: "Does the DUT(server) support the LocalProgrammingFeatures attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A002c.ReadOnly - + - label: - "Does the DUT(server) support the AliroReaderVerificationKey attribute - and is ReadOnly" + "Does the DUT(server) support the AliroReaderVerificationKey attribute + and is ReadOnly" id: DRLK.S.A0080.ReadOnly - + - label: - "Does the DUT(server) support the AliroReaderGroupIdentifier attribute - and is ReadOnly" + "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" + "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" + + - 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" + + - 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" + + - 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" + + - 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" + + - 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" + + - label: + "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported + attribute and is ReadOnly" id: DRLK.S.A0088.ReadOnly # @@ -2910,10 +2911,10 @@ 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 @@ -3017,11 +3018,13 @@ 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?" + - label: + "Does the DUT(server) support Bluetooth LE + UWB Access Control Flow + feature?" id: DRLK.S.F0e # diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 319716b4cea304..9b518e8594ec10 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1551,8 +1551,7 @@ tests: response: value: NumberOfCredentialsSupportedPerUserValue - - label: - "Step 36: TH sends ClearCredential Command to DUT" + - label: "Step 36: TH sends ClearCredential Command to DUT" PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -1561,8 +1560,8 @@ tests: - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - label: - "Step 37: TH sends ClearUser Command to DUT with the UserIndex as 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 command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -1571,8 +1570,7 @@ tests: - name: "UserIndex" value: 1 - - label: - "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" + - label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" @@ -1581,9 +1579,10 @@ tests: 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" + "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" @@ -1592,16 +1591,14 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT" + - 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" + + - label: "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" @@ -1610,9 +1607,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpidentifier" + "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" @@ -1621,8 +1619,7 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" + - label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" @@ -1639,9 +1636,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpsubidentifier" + "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" @@ -1650,8 +1648,7 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" + - label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" @@ -1659,7 +1656,8 @@ tests: value: aliroreadergrpsubidentifier - label: - "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" + "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions + attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083 command: "readAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" @@ -1668,27 +1666,29 @@ tests: constraints: type: list maxLength: 16 - + - label: - "Step 41b: TH writes AliroExpeditedTransactionSupportedProtocolVersions attribute as list which is different from aliroprotocolversion" + "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] + value: [1, 2] response: error: UNSUPPORTED_WRITE - label: - "Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" + "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" + + - label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" @@ -1697,9 +1697,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value of length 16 which is different from alirogrpresolvingkey" + "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" @@ -1708,16 +1709,16 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT" + - 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" + "Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute + from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 command: "readAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" @@ -1726,9 +1727,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as list which is different from alirobleuwbprotocolversion" + "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" @@ -1737,16 +1739,14 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT" + - 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" + + - label: "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 command: "readAttribute" attribute: "AliroBLEAdvertisingVersion" @@ -1758,7 +1758,8 @@ tests: maxValue: 255 - label: - "Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value different from alirobleadvversion" + "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" @@ -1767,15 +1768,16 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT" + - 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" + + - label: + "Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported + attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 command: "readAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" @@ -1786,7 +1788,9 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported attribute as any value different from alirokeysupported" + - 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" @@ -1795,14 +1799,18 @@ tests: response: error: UNSUPPORTED_WRITE - - label: "Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" + - 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" + + - label: + "Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from + DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" @@ -1813,7 +1821,9 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as any value different from aliroepkeysupported" + - 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" @@ -1822,7 +1832,9 @@ tests: response: error: UNSUPPORTED_WRITE - - label: "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" + - label: + "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from + DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index 01ba9f8266d0f2..20a81027859f9e 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: - 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] +name: 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] PICS: - DRLK.S.F0d @@ -62,7 +61,6 @@ config: type: defaultValue: "AliroUser" - tests: - label: "Wait for the commissioned device to be retrieved" cluster: "DelayCommands" @@ -71,8 +69,10 @@ tests: values: - name: "nodeId" value: nodeId - - - label: "Pre-condition : Read the commissioner node ID. Save TH’s node ID as node-id" + + - label: + "Pre-condition : Read the commissioner node ID. Save TH’s node ID as + node-id" cluster: "CommissionerCommands" command: "GetCommissionerNodeId" response: @@ -81,15 +81,18 @@ tests: saveAs: node-id - label: - "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute" + "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster + CurrentFabricIndex attribute" command: "readAttribute" endpoint: 0 cluster: "Operational Credentials" attribute: "CurrentFabricIndex" response: saveAs: fabric-idx - - - label: "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as 0xFFFE to clear all the users" + + - label: + "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as + 0xFFFE to clear all the users" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -97,8 +100,11 @@ tests: values: - name: "UserIndex" value: 0xFFFE - - - label: "Step 1c: TH sends ClearCredential Command to DUT to clear all the credentials. Credential as null, 0xFFFE (CredentialType,CredentialIndex)" + + - label: + "Step 1c: TH sends ClearCredential Command to DUT to clear all the + credentials. Credential as null, 0xFFFE + (CredentialType,CredentialIndex)" command: "ClearCredential" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp timedInteractionTimeoutMs: 1000 @@ -106,11 +112,17 @@ tests: values: - name: "Credential" value: { CredentialType: null, CredentialIndex: 0xFFFE } - - - label: "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any existing Aliro Configuration" + + - label: + "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any + existing Aliro Configuration" command: "ClearAliroReaderConfig" - - label: "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + - label: + "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -123,8 +135,12 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: "" - - - label: "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -144,22 +160,26 @@ tests: attribute: "AliroReaderVerificationKey" response: value: verificationkey - + - label: "Step 4: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: groupidentifier - + - label: "Step 5: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: groupresolvingkey - - - label: "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + + - label: + "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the + following fields (with the same keys), SigningKey as signingkey, + VerificationKey as verificationkey, GroupIdentifier as + groupidentifier, GroupResolvingKey not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -174,8 +194,12 @@ tests: value: "" response: value: INVALID_IN_STATE - - - label: "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the + following fields (with the same keys), SigningKey as signingkey, + VerificationKey as verificationkey, GroupIdentifier as + groupidentifier, GroupResolvingKey as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -190,33 +214,37 @@ tests: value: groupresolvingkey response: value: INVALID_IN_STATE - + - label: "Step 7: TH sends ClearAliroReaderConfig Command to DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C29.Rsp command: "ClearAliroReaderConfig" - + - label: "Step 8: TH reads AliroReaderVerificationKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: value: null - + - label: "Step 9: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: null - + - label: "Step 10: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: null - - - label: "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + + - label: + "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -229,8 +257,12 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: "" - - - label: "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -243,8 +275,14 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: groupresolvingkey - - - label: "Step 12: TH sends SetUser Command to DUT to create an Aliro user with the following values: OperationType as 0( DataOperationTypeEnum.Add), UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus as 1(UserStatusEnum.OccupiedEnabled), UserType as 0(UserTypeEnum.UnrestrictedUser), CredentialRule as 0(CredentialRuleEnum.Single)" + + - label: + "Step 12: TH sends SetUser Command to DUT to create an Aliro user with + the following values: OperationType as 0( DataOperationTypeEnum.Add), + UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus + as 1(UserStatusEnum.OccupiedEnabled), UserType as + 0(UserTypeEnum.UnrestrictedUser), CredentialRule as + 0(CredentialRuleEnum.Single)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F08 && DRLK.S.C1a.Rsp command: "SetUser" timedInteractionTimeoutMs: 1000 @@ -264,9 +302,17 @@ tests: value: 0 - name: "CredentialRule" value: 0 - - - label: "Step 13: TH sends SetCredential Command to DUT with CredentialType as AliroCredentialIssuerKey and CredentialData as alirocredentialissuerkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 6 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 13: TH sends SetCredential Command to DUT with CredentialType as + AliroCredentialIssuerKey and CredentialData as + alirocredentialissuerkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 6 + 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), + CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus + as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -287,7 +333,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 14: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d || DRLK.S.E04 @@ -304,9 +350,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 + (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -322,7 +371,9 @@ tests: value: 1 - label: - "Step 16: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroCredentialIssuerKey Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + "Step 16: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroCredentialIssuerKey Credential as 6 1 + (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -330,7 +381,7 @@ tests: values: - name: "Credential" value: { CredentialType: 6, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 17: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -347,9 +398,17 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 18: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 18: TH sends SetCredential Command to DUT with CredentialType as + AliroEvictableEndpointKey and CredentialData as + aliroevictableendpointkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 7 + 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), + CredentialData as aliroevictableendpointkey, UserIndex as 1, + UserStatus as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -370,7 +429,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 19: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -387,9 +446,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 + (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -403,9 +465,11 @@ tests: type: boolean - name: "UserIndex" value: 1 - + - label: - "Step 21: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + "Step 21: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroEvictableEndpointKey Credential as 7 1 + (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -413,7 +477,7 @@ tests: values: - name: "Credential" value: { CredentialType: 7, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 22: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -430,9 +494,17 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 23: TH sends SetCredential Command to DUT with CredentialType as alirononevictableendpointkey for the alirouser and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 23: TH sends SetCredential Command to DUT with CredentialType as + alirononevictableendpointkey for the alirouser and CredentialData as + aliroevictableendpointkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 8 + 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), + CredentialData as alirononevictableendpointkey, UserIndex as 1, + UserStatus as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -453,7 +525,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 24: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -470,9 +542,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 + (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -486,9 +561,11 @@ tests: type: boolean - name: "UserIndex" value: 1 - + - label: - "Step 26: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + "Step 26: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroEvictableEndpointKey Credential as 8 1 + (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -496,7 +573,7 @@ tests: values: - name: "Credential" value: { CredentialType: 8, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 27: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -513,16 +590,19 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and saves the value as max_aliro_keys_supported" + + - label: + "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and + saves the value as max_aliro_keys_supported" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: saveAs: max_aliro_keys_supported - + - label: - "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and saves the value as numberofcredentialsupportedperuser" + "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and + saves the value as numberofcredentialsupportedperuser" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A001c command: "readAttribute" attribute: "NumberOfCredentialsSupportedPerUser" @@ -532,13 +612,15 @@ tests: ############# #STEP 28c IF LOOP ############# - + ############# #STEP 29, 30, 31, 32, 33: startcredentialindex ############# - - - label: "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 6 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + - label: + "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 6 + 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -546,8 +628,11 @@ tests: values: - name: "Credential" value: { CredentialType: 6, CredentialIndex: 1 } - - - label: "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 7 1(CredentialTypeEnum.AliroEvictableEndpointKey)" + + - label: + "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 7 + 1(CredentialTypeEnum.AliroEvictableEndpointKey)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -555,8 +640,11 @@ tests: values: - name: "Credential" value: { CredentialType: 7, CredentialIndex: 1 } - - - label: "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 8 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" + + - label: + "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 8 + 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -564,8 +652,9 @@ tests: values: - name: "Credential" value: { CredentialType: 8, CredentialIndex: 1 } - - - label: "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" + + - label: + "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -573,7 +662,7 @@ tests: values: - name: "UserIndex" value: 1 - + # - label: "Step 30: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 startcredentialindex+1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" @@ -596,7 +685,7 @@ tests: # values: # - name: "Status" # value: 0 - + # - label: "Step 31: TH sends SetCredential Command to DUT with CredentialType as AliroNonEvictableEndpointKey and number of credentials for alirouser exceeds the max_aliro_keys_supported CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 startcredentialindex+1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey1, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" From de9e6af2fc5897896c0327bf9d49e6e283560159 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:05:24 +0530 Subject: [PATCH 17/36] Update PICS.yaml-prettier --- src/app/tests/suites/certification/PICS.yaml | 79 ++++++++++---------- 1 file changed, 41 insertions(+), 38 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 87a2689e919bc3..f717c059e3425a 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2745,52 +2745,53 @@ PICS: - label: "Does the DUT(server) support the LocalProgrammingFeatures attribute - and is ReadOnly" + and is ReadOnly" id: DRLK.S.A002c.ReadOnly - + - label: - "Does the DUT(server) support the AliroReaderVerificationKey attribute - and is ReadOnly" + "Does the DUT(server) support the AliroReaderVerificationKey attribute + and is ReadOnly" id: DRLK.S.A0080.ReadOnly - + - label: - "Does the DUT(server) support the AliroReaderGroupIdentifier attribute - and is ReadOnly" + "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" + "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" + + - 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" + + - 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" + + - 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" + + - 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" + + - 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" + + - label: + "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported + attribute and is ReadOnly" id: DRLK.S.A0088.ReadOnly # @@ -2910,10 +2911,10 @@ 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 @@ -3017,11 +3018,13 @@ 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?" + - label: + "Does the DUT(server) support Bluetooth LE + UWB Access Control Flow + feature?" id: DRLK.S.F0e # From 28717173021a62614efa955149b7bd7e4e25be62 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:09:27 +0530 Subject: [PATCH 18/36] Update Test_TC_DRLK_2_13.yaml --- .../certification/Test_TC_DRLK_2_13.yaml | 239 ++++++++++++------ 1 file changed, 164 insertions(+), 75 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index 01ba9f8266d0f2..20a81027859f9e 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: - 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] +name: 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] PICS: - DRLK.S.F0d @@ -62,7 +61,6 @@ config: type: defaultValue: "AliroUser" - tests: - label: "Wait for the commissioned device to be retrieved" cluster: "DelayCommands" @@ -71,8 +69,10 @@ tests: values: - name: "nodeId" value: nodeId - - - label: "Pre-condition : Read the commissioner node ID. Save TH’s node ID as node-id" + + - label: + "Pre-condition : Read the commissioner node ID. Save TH’s node ID as + node-id" cluster: "CommissionerCommands" command: "GetCommissionerNodeId" response: @@ -81,15 +81,18 @@ tests: saveAs: node-id - label: - "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster CurrentFabricIndex attribute" + "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster + CurrentFabricIndex attribute" command: "readAttribute" endpoint: 0 cluster: "Operational Credentials" attribute: "CurrentFabricIndex" response: saveAs: fabric-idx - - - label: "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as 0xFFFE to clear all the users" + + - label: + "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as + 0xFFFE to clear all the users" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -97,8 +100,11 @@ tests: values: - name: "UserIndex" value: 0xFFFE - - - label: "Step 1c: TH sends ClearCredential Command to DUT to clear all the credentials. Credential as null, 0xFFFE (CredentialType,CredentialIndex)" + + - label: + "Step 1c: TH sends ClearCredential Command to DUT to clear all the + credentials. Credential as null, 0xFFFE + (CredentialType,CredentialIndex)" command: "ClearCredential" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp timedInteractionTimeoutMs: 1000 @@ -106,11 +112,17 @@ tests: values: - name: "Credential" value: { CredentialType: null, CredentialIndex: 0xFFFE } - - - label: "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any existing Aliro Configuration" + + - label: + "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any + existing Aliro Configuration" command: "ClearAliroReaderConfig" - - label: "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + - label: + "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -123,8 +135,12 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: "" - - - label: "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -144,22 +160,26 @@ tests: attribute: "AliroReaderVerificationKey" response: value: verificationkey - + - label: "Step 4: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: groupidentifier - + - label: "Step 5: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: groupresolvingkey - - - label: "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + + - label: + "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the + following fields (with the same keys), SigningKey as signingkey, + VerificationKey as verificationkey, GroupIdentifier as + groupidentifier, GroupResolvingKey not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -174,8 +194,12 @@ tests: value: "" response: value: INVALID_IN_STATE - - - label: "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the following fields (with the same keys), SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the + following fields (with the same keys), SigningKey as signingkey, + VerificationKey as verificationkey, GroupIdentifier as + groupidentifier, GroupResolvingKey as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -190,33 +214,37 @@ tests: value: groupresolvingkey response: value: INVALID_IN_STATE - + - label: "Step 7: TH sends ClearAliroReaderConfig Command to DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C29.Rsp command: "ClearAliroReaderConfig" - + - label: "Step 8: TH reads AliroReaderVerificationKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: value: null - + - label: "Step 9: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: value: null - + - label: "Step 10: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: value: null - - - label: "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey not present." + + - label: + "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + not present." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -229,8 +257,12 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: "" - - - label: "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the following fields, SigningKey as signingkey, VerificationKey as verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey as groupresolvingkey." + + - label: + "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the + following fields, SigningKey as signingkey, VerificationKey as + verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey + as groupresolvingkey." PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp command: "SetAliroReaderConfig" arguments: @@ -243,8 +275,14 @@ tests: value: groupidentifier - name: "GroupResolvingKey" value: groupresolvingkey - - - label: "Step 12: TH sends SetUser Command to DUT to create an Aliro user with the following values: OperationType as 0( DataOperationTypeEnum.Add), UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus as 1(UserStatusEnum.OccupiedEnabled), UserType as 0(UserTypeEnum.UnrestrictedUser), CredentialRule as 0(CredentialRuleEnum.Single)" + + - label: + "Step 12: TH sends SetUser Command to DUT to create an Aliro user with + the following values: OperationType as 0( DataOperationTypeEnum.Add), + UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus + as 1(UserStatusEnum.OccupiedEnabled), UserType as + 0(UserTypeEnum.UnrestrictedUser), CredentialRule as + 0(CredentialRuleEnum.Single)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F08 && DRLK.S.C1a.Rsp command: "SetUser" timedInteractionTimeoutMs: 1000 @@ -264,9 +302,17 @@ tests: value: 0 - name: "CredentialRule" value: 0 - - - label: "Step 13: TH sends SetCredential Command to DUT with CredentialType as AliroCredentialIssuerKey and CredentialData as alirocredentialissuerkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 6 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 13: TH sends SetCredential Command to DUT with CredentialType as + AliroCredentialIssuerKey and CredentialData as + alirocredentialissuerkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 6 + 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), + CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus + as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -287,7 +333,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 14: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d || DRLK.S.E04 @@ -304,9 +350,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 + (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -322,7 +371,9 @@ tests: value: 1 - label: - "Step 16: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroCredentialIssuerKey Credential as 6 1 (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + "Step 16: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroCredentialIssuerKey Credential as 6 1 + (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -330,7 +381,7 @@ tests: values: - name: "Credential" value: { CredentialType: 6, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 17: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -347,9 +398,17 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 18: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 18: TH sends SetCredential Command to DUT with CredentialType as + AliroEvictableEndpointKey and CredentialData as + aliroevictableendpointkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 7 + 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), + CredentialData as aliroevictableendpointkey, UserIndex as 1, + UserStatus as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -370,7 +429,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 19: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -387,9 +446,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 + (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -403,9 +465,11 @@ tests: type: boolean - name: "UserIndex" value: 1 - + - label: - "Step 21: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 7 1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" + "Step 21: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroEvictableEndpointKey Credential as 7 1 + (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -413,7 +477,7 @@ tests: values: - name: "Credential" value: { CredentialType: 7, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 22: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -430,9 +494,17 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 23: TH sends SetCredential Command to DUT with CredentialType as alirononevictableendpointkey for the alirouser and CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx + + - label: + "Step 23: TH sends SetCredential Command to DUT with CredentialType as + alirononevictableendpointkey for the alirouser and CredentialData as + aliroevictableendpointkey for the alirouser, OperationType as + 0(DataOperationTypeEnum.Add), Credential as 8 + 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), + CredentialData as alirononevictableendpointkey, UserIndex as 1, + UserStatus as null, UserType as null" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx command: "SetCredential" timedInteractionTimeoutMs: 1000 arguments: @@ -453,7 +525,7 @@ tests: values: - name: "Status" value: 0 - + #NEED TO CHECK WITH VALUES - label: "Step 24: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -470,9 +542,12 @@ tests: SourceNode: node-id, DataIndex: 2, } - - - label: "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx + + - label: + "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 + (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + PICS: + PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx command: "GetCredentialStatus" arguments: values: @@ -486,9 +561,11 @@ tests: type: boolean - name: "UserIndex" value: 1 - + - label: - "Step 26: TH sends ClearCredential Command to DUT to clear the CredentialType of AliroEvictableEndpointKey Credential as 8 1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" + "Step 26: TH sends ClearCredential Command to DUT to clear the + CredentialType of AliroEvictableEndpointKey Credential as 8 1 + (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -496,7 +573,7 @@ tests: values: - name: "Credential" value: { CredentialType: 8, CredentialIndex: 1 } - + #NEED TO CHECK WITH VALUES - label: "Step 27: TH reads the LockUserChange event list from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 @@ -513,16 +590,19 @@ tests: SourceNode: node-id, DataIndex: 1, } - - - label: "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and saves the value as max_aliro_keys_supported" + + - label: + "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and + saves the value as max_aliro_keys_supported" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: saveAs: max_aliro_keys_supported - + - label: - "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and saves the value as numberofcredentialsupportedperuser" + "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and + saves the value as numberofcredentialsupportedperuser" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A001c command: "readAttribute" attribute: "NumberOfCredentialsSupportedPerUser" @@ -532,13 +612,15 @@ tests: ############# #STEP 28c IF LOOP ############# - + ############# #STEP 29, 30, 31, 32, 33: startcredentialindex ############# - - - label: "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 6 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" + - label: + "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 6 + 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -546,8 +628,11 @@ tests: values: - name: "Credential" value: { CredentialType: 6, CredentialIndex: 1 } - - - label: "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 7 1(CredentialTypeEnum.AliroEvictableEndpointKey)" + + - label: + "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 7 + 1(CredentialTypeEnum.AliroEvictableEndpointKey)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -555,8 +640,11 @@ tests: values: - name: "Credential" value: { CredentialType: 7, CredentialIndex: 1 } - - - label: "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO CredentialType Credential as 8 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" + + - label: + "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO + CredentialType Credential as 8 + 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -564,8 +652,9 @@ tests: values: - name: "Credential" value: { CredentialType: 8, CredentialIndex: 1 } - - - label: "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" + + - label: + "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -573,7 +662,7 @@ tests: values: - name: "UserIndex" value: 1 - + # - label: "Step 30: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 startcredentialindex+1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" @@ -596,7 +685,7 @@ tests: # values: # - name: "Status" # value: 0 - + # - label: "Step 31: TH sends SetCredential Command to DUT with CredentialType as AliroNonEvictableEndpointKey and number of credentials for alirouser exceeds the max_aliro_keys_supported CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 startcredentialindex+1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey1, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" From 690063511cde24c1f16c4aa995cf2b23c1a58530 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:11:12 +0530 Subject: [PATCH 19/36] Update Test_TC_DRLK_2_1.yaml --- .../certification/Test_TC_DRLK_2_1.yaml | 118 ++++++++++-------- 1 file changed, 65 insertions(+), 53 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 319716b4cea304..9b518e8594ec10 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1551,8 +1551,7 @@ tests: response: value: NumberOfCredentialsSupportedPerUserValue - - label: - "Step 36: TH sends ClearCredential Command to DUT" + - label: "Step 36: TH sends ClearCredential Command to DUT" PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp command: "ClearCredential" timedInteractionTimeoutMs: 1000 @@ -1561,8 +1560,8 @@ tests: - name: "Credential" value: { CredentialType: 1, CredentialIndex: 1 } - - label: - "Step 37: TH sends ClearUser Command to DUT with the UserIndex as 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 command: "ClearUser" timedInteractionTimeoutMs: 1000 @@ -1571,8 +1570,7 @@ tests: - name: "UserIndex" value: 1 - - label: - "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" + - label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" @@ -1581,9 +1579,10 @@ tests: 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" + "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" @@ -1592,16 +1591,14 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT" + - 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" + + - label: "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" @@ -1610,9 +1607,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpidentifier" + "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" @@ -1621,8 +1619,7 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" + - label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" @@ -1639,9 +1636,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr value of length 16 which is different from aliroreadergrpsubidentifier" + "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" @@ -1650,8 +1648,7 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" + - label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" @@ -1659,7 +1656,8 @@ tests: value: aliroreadergrpsubidentifier - label: - "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" + "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions + attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083 command: "readAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" @@ -1668,27 +1666,29 @@ tests: constraints: type: list maxLength: 16 - + - label: - "Step 41b: TH writes AliroExpeditedTransactionSupportedProtocolVersions attribute as list which is different from aliroprotocolversion" + "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] + value: [1, 2] response: error: UNSUPPORTED_WRITE - label: - "Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" + "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" + + - label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" @@ -1697,9 +1697,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value of length 16 which is different from alirogrpresolvingkey" + "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" @@ -1708,16 +1709,16 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT" + - 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" + "Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute + from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 command: "readAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" @@ -1726,9 +1727,10 @@ tests: constraints: type: octet_string minLength: 16 - + - label: - "Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as list which is different from alirobleuwbprotocolversion" + "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" @@ -1737,16 +1739,14 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT" + - 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" + + - label: "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 command: "readAttribute" attribute: "AliroBLEAdvertisingVersion" @@ -1758,7 +1758,8 @@ tests: maxValue: 255 - label: - "Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value different from alirobleadvversion" + "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" @@ -1767,15 +1768,16 @@ tests: response: error: UNSUPPORTED_WRITE - - label: - "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT" + - 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" + + - label: + "Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported + attribute from DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 command: "readAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" @@ -1786,7 +1788,9 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported attribute as any value different from alirokeysupported" + - 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" @@ -1795,14 +1799,18 @@ tests: response: error: UNSUPPORTED_WRITE - - label: "Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" + - 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" + + - label: + "Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from + DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" @@ -1813,7 +1821,9 @@ tests: minValue: 0 maxValue: 65534 - - label: "Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as any value different from aliroepkeysupported" + - 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" @@ -1822,7 +1832,9 @@ tests: response: error: UNSUPPORTED_WRITE - - label: "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" + - label: + "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from + DUT" PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" From 4aa4ad7419914d50dfd1f37944c759303116123a Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 31 Jul 2024 05:41:34 +0000 Subject: [PATCH 20/36] Restyled by prettier-yaml --- src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index 20a81027859f9e..b4e16006fce31c 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -662,7 +662,6 @@ tests: values: - name: "UserIndex" value: 1 - # - label: "Step 30: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 startcredentialindex+1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" @@ -685,7 +684,6 @@ tests: # values: # - name: "Status" # value: 0 - # - label: "Step 31: TH sends SetCredential Command to DUT with CredentialType as AliroNonEvictableEndpointKey and number of credentials for alirouser exceeds the max_aliro_keys_supported CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 startcredentialindex+1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey1, UserIndex as 1, UserStatus as null, UserType as null" # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx # command: "SetCredential" From 626db77cd42e378cf58c5f141635094b1c2ae92b Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:45:35 +0530 Subject: [PATCH 21/36] Update Test_TC_DRLK_2_13.yaml --- .../suites/certification/Test_TC_DRLK_2_13.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml index b4e16006fce31c..1211d56fdb3f68 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml @@ -131,7 +131,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: "" @@ -149,7 +149,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: groupresolvingkey @@ -188,7 +188,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: "" @@ -208,7 +208,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: groupresolvingkey @@ -253,7 +253,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: "" @@ -271,7 +271,7 @@ tests: value: signingkey - name: "VerificationKey" value: verificationkey - - name: "GroupIdentifier " + - name: "GroupIdentifier" value: groupidentifier - name: "GroupResolvingKey" value: groupresolvingkey From f44422167c6338cc7cc1aa36201f6a6d72ddfc16 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:30:03 +0530 Subject: [PATCH 22/36] Update ciTests.json-Added DRLK 2.1 and 2.13 --- src/app/tests/suites/ciTests.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index a96ef4aebc8fff..1ceb212d44544a 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -277,12 +277,15 @@ "DL_UsersAndCredentials", "DL_LockUnlock", "DL_Schedules", + "Test_TC_DRLK_2_1" "Test_TC_DRLK_2_4", "Test_TC_DRLK_2_5", "Test_TC_DRLK_2_6", "Test_TC_DRLK_2_7", "Test_TC_DRLK_2_8", "Test_TC_DRLK_2_11" + "Test_TC_DRLK_2_13" + ], "Groups": ["TestGroupMessaging", "TestGroupsCluster", "Test_TC_G_2_1"], "ScenesManagement": [ From 14f0165c349c1f78b4513e67d179c57ee59e7f7f Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:33:27 +0530 Subject: [PATCH 23/36] Update ciTests.json --- src/app/tests/suites/ciTests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 1ceb212d44544a..8a0fc57af394c4 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -277,7 +277,7 @@ "DL_UsersAndCredentials", "DL_LockUnlock", "DL_Schedules", - "Test_TC_DRLK_2_1" + "Test_TC_DRLK_2_1", "Test_TC_DRLK_2_4", "Test_TC_DRLK_2_5", "Test_TC_DRLK_2_6", From 536ffc7a708ad585c7e32912847c50aa2bc07813 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:39:58 +0530 Subject: [PATCH 24/36] Update ciTests.json --- src/app/tests/suites/ciTests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 8a0fc57af394c4..4cf36f0ec8fbb4 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -283,7 +283,7 @@ "Test_TC_DRLK_2_6", "Test_TC_DRLK_2_7", "Test_TC_DRLK_2_8", - "Test_TC_DRLK_2_11" + "Test_TC_DRLK_2_11", "Test_TC_DRLK_2_13" ], From ee9c8703d58d47963ec36db2c3611860d05ef476 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 31 Jul 2024 13:10:18 +0000 Subject: [PATCH 25/36] Restyled by whitespace --- src/app/tests/suites/ciTests.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 4cf36f0ec8fbb4..9aa6ca73e5d041 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -285,7 +285,7 @@ "Test_TC_DRLK_2_8", "Test_TC_DRLK_2_11", "Test_TC_DRLK_2_13" - + ], "Groups": ["TestGroupMessaging", "TestGroupsCluster", "Test_TC_G_2_1"], "ScenesManagement": [ From 751cc74b19271b7e9848b685685152bb70fb5030 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 31 Jul 2024 13:10:20 +0000 Subject: [PATCH 26/36] Restyled by prettier-json --- src/app/tests/suites/ciTests.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index 9aa6ca73e5d041..f171fc6cc76f3b 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -285,7 +285,6 @@ "Test_TC_DRLK_2_8", "Test_TC_DRLK_2_11", "Test_TC_DRLK_2_13" - ], "Groups": ["TestGroupMessaging", "TestGroupsCluster", "Test_TC_G_2_1"], "ScenesManagement": [ From 7a1683088a60178003396f7e59351c3fd0e161ce Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 01:32:18 +0530 Subject: [PATCH 27/36] Update Test_TC_DRLK_2_1.yaml fixed the values in the list as hex in step 41b removed PICS_SKIP_SAMPLE_APP --- .../certification/Test_TC_DRLK_2_1.yaml | 60 +++++++++---------- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 9b518e8594ec10..95176764cc8d8f 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1571,7 +1571,7 @@ tests: value: 1 - label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 + PICS: DRLK.S.F0d && DRLK.S.A0080 command: "readAttribute" attribute: "AliroReaderVerificationKey" response: @@ -1583,7 +1583,7 @@ tests: - 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 + PICS: DRLK.S.F0d && DRLK.S.A0080 command: "writeAttribute" attribute: "AliroReaderVerificationKey" arguments: @@ -1592,14 +1592,15 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 + + PICS: 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 + PICS: DRLK.S.F0d && DRLK.S.A0081 command: "readAttribute" attribute: "AliroReaderGroupIdentifier" response: @@ -1607,11 +1608,10 @@ tests: 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 + PICS: DRLK.S.F0d && DRLK.S.A0081 command: "writeAttribute" attribute: "AliroReaderVerificationKey" arguments: @@ -1620,15 +1620,14 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 + PICS: 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 + PICS: DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" response: @@ -1640,7 +1639,7 @@ tests: - 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 + PICS: DRLK.S.F0d && DRLK.S.A0082 command: "writeAttribute" attribute: "AliroReaderGroupSubIdentifier" arguments: @@ -1649,7 +1648,7 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0082 + PICS: DRLK.S.F0d && DRLK.S.A0082 command: "readAttribute" attribute: "AliroReaderGroupSubIdentifier" response: @@ -1658,7 +1657,7 @@ tests: - label: "Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0083 + PICS: DRLK.S.F0d && DRLK.S.A0083 command: "readAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" response: @@ -1666,19 +1665,17 @@ tests: 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 + PICS: DRLK.S.F0d && DRLK.S.A0083 command: "writeAttribute" attribute: "AliroExpeditedTransactionSupportedProtocolVersions" arguments: - value: [1, 2] + value: ["0x1", "0x2"] response: error: UNSUPPORTED_WRITE - - label: "Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions attribute from DUT" @@ -1689,7 +1686,7 @@ tests: value: aliroprotocolversion - label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 + PICS: DRLK.S.F0d && DRLK.S.A0084 command: "readAttribute" attribute: "AliroGroupResolvingKey" response: @@ -1701,7 +1698,7 @@ tests: - 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 + PICS: DRLK.S.F0d && DRLK.S.A0084 command: "writeAttribute" attribute: "AliroGroupResolvingKey" arguments: @@ -1710,16 +1707,15 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0084 + PICS: 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 + PICS: DRLK.S.F0d && DRLK.S.A0085 command: "readAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" response: @@ -1731,7 +1727,7 @@ tests: - 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 + PICS: DRLK.S.F0d && DRLK.S.A0085 command: "writeAttribute" attribute: "AliroSupportedBLEUWBProtocolVersions" arguments: @@ -1740,14 +1736,14 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0085 + PICS: 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 + PICS: DRLK.S.F0d && DRLK.S.A0086 command: "readAttribute" attribute: "AliroBLEAdvertisingVersion" response: @@ -1760,7 +1756,7 @@ tests: - label: "Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value different from alirobleadvversion" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 + PICS: DRLK.S.F0d && DRLK.S.A0086 command: "writeAttribute" attribute: "AliroBLEAdvertisingVersion" arguments: @@ -1769,7 +1765,7 @@ tests: error: UNSUPPORTED_WRITE - label: "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0086 + PICS: DRLK.S.F0d && DRLK.S.A0086 command: "readAttribute" attribute: "AliroBLEAdvertisingVersion" response: @@ -1778,7 +1774,7 @@ tests: - label: "Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 + PICS: DRLK.S.F0d && DRLK.S.A0087 command: "readAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" response: @@ -1791,7 +1787,7 @@ tests: - label: "Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported attribute as any value different from alirokeysupported" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 + PICS: DRLK.S.F0d && DRLK.S.A0087 command: "writeAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" arguments: @@ -1802,7 +1798,7 @@ tests: - label: "Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0087 + PICS: DRLK.S.F0d && DRLK.S.A0087 command: "readAttribute" attribute: "NumberOfAliroCredentialIssuerKeysSupported" response: @@ -1811,7 +1807,7 @@ tests: - label: "Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 + PICS: DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: @@ -1824,7 +1820,7 @@ tests: - label: "Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as any value different from aliroepkeysupported" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 + PICS: DRLK.S.F0d && DRLK.S.A0088 command: "writeAttribute" attribute: "NumberOfAliroEndpointKeysSupported" arguments: @@ -1835,7 +1831,7 @@ tests: - label: "Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0088 + PICS: DRLK.S.F0d && DRLK.S.A0088 command: "readAttribute" attribute: "NumberOfAliroEndpointKeysSupported" response: From 7a8bd9d0aaf1099ad70bb02352b8523366b8875a Mon Sep 17 00:00:00 2001 From: sumaky Date: Thu, 1 Aug 2024 02:07:54 +0530 Subject: [PATCH 28/36] deleted DRLK_2_13 yaml file. will be covered in python script --- .../certification/Test_TC_DRLK_2_13.yaml | 708 ------------------ 1 file changed, 708 deletions(-) delete mode 100644 src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml deleted file mode 100644 index 1211d56fdb3f68..00000000000000 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_13.yaml +++ /dev/null @@ -1,708 +0,0 @@ -# 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. - -name: 4.1.13. [TC-DRLK-2.13] Verification for ALIRO feature [DUT-Server] - -PICS: - - DRLK.S.F0d - -config: - nodeId: 0x12344321 - cluster: "Door Lock" - endpoint: 1 - PINCredentialData: - type: octet_string - defaultValue: "123456" - RFIDCredentialData: - type: octet_string - defaultValue: "123456789A" - FingerVeinCredentialData: - type: octet_string - defaultValue: "123456789A" - signingkey: - type: - defaultValue: "89d085fc302ca53e279bfcdecdf3c4adb2f5d9bc9ea6c49e9566d144367df3ff" - verificationkey: - type: - defaultValue: "047a4c992d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - groupidentifier: - type: - defaultValue: "89d085fc302ca53e279bfcdecdf3c4ad" - groupresolvingkey: - type: - defaultValue: "89d0859bfcdecdf3c4adfc302ca53e27" - aliroverifykey1: - type: - defaultValue: "047a4c442d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - alirocredentialissuerkey: - type: - defaultValue: "047a4c882d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - aliroevictableendpointkey: - type: - defaultValue: "047a4c772d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - alirononevictableendpointkey: - type: - defaultValue: "047a4c662d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - alirononevictableendpointkey1: - type: - defaultValue: "047a4c552d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4" - alirouser: - type: - defaultValue: "AliroUser" - -tests: - - label: "Wait for the commissioned device to be retrieved" - cluster: "DelayCommands" - command: "WaitForCommissionee" - arguments: - values: - - name: "nodeId" - value: nodeId - - - label: - "Pre-condition : Read the commissioner node ID. Save TH’s node ID as - node-id" - cluster: "CommissionerCommands" - command: "GetCommissionerNodeId" - response: - values: - - name: "nodeId" - saveAs: node-id - - - label: - "Step 1a: TH reads DUT Endpoint 0 OperationalCredentials cluster - CurrentFabricIndex attribute" - command: "readAttribute" - endpoint: 0 - cluster: "Operational Credentials" - attribute: "CurrentFabricIndex" - response: - saveAs: fabric-idx - - - label: - "Step 1b: TH sends ClearUser Command to DUT with the UserIndex as - 0xFFFE to clear all the users" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp - command: "ClearUser" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "UserIndex" - value: 0xFFFE - - - label: - "Step 1c: TH sends ClearCredential Command to DUT to clear all the - credentials. Credential as null, 0xFFFE - (CredentialType,CredentialIndex)" - command: "ClearCredential" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: null, CredentialIndex: 0xFFFE } - - - label: - "Step 2a: TH sends ClearAliroReaderConfig Command to DUT to clear any - existing Aliro Configuration" - command: "ClearAliroReaderConfig" - - - label: - "Step 2b: TH sends SetAliroReaderConfig Command to DUT with the - following fields, SigningKey as signingkey, VerificationKey as - verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey - not present." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: "" - - - label: - "Step 2c: TH sends SetAliroReaderConfig Command to DUT with the - following fields, SigningKey as signingkey, VerificationKey as - verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey - as groupresolvingkey." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: groupresolvingkey - - - label: "Step 3: 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 4: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 - command: "readAttribute" - attribute: "AliroReaderGroupIdentifier" - response: - value: groupidentifier - - - label: "Step 5: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 - command: "readAttribute" - attribute: "AliroGroupResolvingKey" - response: - value: groupresolvingkey - - - label: - "Step 6a: TH sends SetAliroReaderConfig Command to DUT with the - following fields (with the same keys), SigningKey as signingkey, - VerificationKey as verificationkey, GroupIdentifier as - groupidentifier, GroupResolvingKey not present." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: "" - response: - value: INVALID_IN_STATE - - - label: - "Step 6b: TH sends SetAliroReaderConfig Command to DUT with the - following fields (with the same keys), SigningKey as signingkey, - VerificationKey as verificationkey, GroupIdentifier as - groupidentifier, GroupResolvingKey as groupresolvingkey." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: groupresolvingkey - response: - value: INVALID_IN_STATE - - - label: "Step 7: TH sends ClearAliroReaderConfig Command to DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C29.Rsp - command: "ClearAliroReaderConfig" - - - label: "Step 8: TH reads AliroReaderVerificationKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0080 - command: "readAttribute" - attribute: "AliroReaderVerificationKey" - response: - value: null - - - label: "Step 9: TH reads AliroReaderGroupIdentifier attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.A0081 - command: "readAttribute" - attribute: "AliroReaderGroupIdentifier" - response: - value: null - - - label: "Step 10: TH reads AliroGroupResolvingKey attribute from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.F0e && DRLK.S.A0084 - command: "readAttribute" - attribute: "AliroGroupResolvingKey" - response: - value: null - - - label: - "Step 11a: TH sends SetAliroReaderConfig Command to DUT with the - following fields, SigningKey as signingkey, VerificationKey as - verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey - not present." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && !DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: "" - - - label: - "Step 11b: TH sends SetAliroReaderConfig Command to DUT with the - following fields, SigningKey as signingkey, VerificationKey as - verificationkey, GroupIdentifier as groupidentifier, GroupResolvingKey - as groupresolvingkey." - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0e && DRLK.S.C28.Rsp - command: "SetAliroReaderConfig" - arguments: - values: - - name: "SigningKey" - value: signingkey - - name: "VerificationKey" - value: verificationkey - - name: "GroupIdentifier" - value: groupidentifier - - name: "GroupResolvingKey" - value: groupresolvingkey - - - label: - "Step 12: TH sends SetUser Command to DUT to create an Aliro user with - the following values: OperationType as 0( DataOperationTypeEnum.Add), - UserIndex as 1, UserName as alirouser, UserUniqueID as 111, UserStatus - as 1(UserStatusEnum.OccupiedEnabled), UserType as - 0(UserTypeEnum.UnrestrictedUser), CredentialRule as - 0(CredentialRuleEnum.Single)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F08 && DRLK.S.C1a.Rsp - command: "SetUser" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "OperationType" - value: 0 - - name: "UserIndex" - value: 1 - - name: "UserName" - value: alirouser - - name: "UserUniqueID" - value: 111 - - name: "UserStatus" - value: 1 - - name: "UserType" - value: 0 - - name: "CredentialRule" - value: 0 - - - label: - "Step 13: TH sends SetCredential Command to DUT with CredentialType as - AliroCredentialIssuerKey and CredentialData as - alirocredentialissuerkey for the alirouser, OperationType as - 0(DataOperationTypeEnum.Add), Credential as 6 - 1(CredentialType.AliroCredentialIssuerKey,CredentialIndex), - CredentialData as alirocredentialissuerkey, UserIndex as 1, UserStatus - as null, UserType as null" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx - command: "SetCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "OperationType" - value: 0 - - name: "Credential" - value: { CredentialType: 6, CredentialIndex: 1 } - - name: "CredentialData" - value: alirocredentialissuerkey - - name: "UserIndex" - value: 1 - - name: "UserStatus" - value: null - - name: "UserType" - value: null - response: - values: - - name: "Status" - value: 0 - - #NEED TO CHECK WITH VALUES - - label: "Step 14: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d || DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroCredentialIssuerKey, - DataOperationType: DataOperationTypeEnum.Add, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 2, - } - - - label: - "Step 15: TH sends GetCredentialStatus Command with Credential as 6 1 - (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx - command: "GetCredentialStatus" - arguments: - values: - - name: "Credential" - value: { CredentialType: 6, CredentialIndex: 1 } - response: - values: - - name: "CredentialExists" - value: true - constraints: - type: boolean - - name: "UserIndex" - value: 1 - - - label: - "Step 16: TH sends ClearCredential Command to DUT to clear the - CredentialType of AliroCredentialIssuerKey Credential as 6 1 - (CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 6, CredentialIndex: 1 } - - #NEED TO CHECK WITH VALUES - - label: "Step 17: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroCredentialIssuerKey, - DataOperationType: DataOperationTypeEnum.Clear, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 1, - } - - - label: - "Step 18: TH sends SetCredential Command to DUT with CredentialType as - AliroEvictableEndpointKey and CredentialData as - aliroevictableendpointkey for the alirouser, OperationType as - 0(DataOperationTypeEnum.Add), Credential as 7 - 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), - CredentialData as aliroevictableendpointkey, UserIndex as 1, - UserStatus as null, UserType as null" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx - command: "SetCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "OperationType" - value: 0 - - name: "Credential" - value: { CredentialType: 7, CredentialIndex: 1 } - - name: "CredentialData" - value: aliroevictableendpointkey - - name: "UserIndex" - value: 1 - - name: "UserStatus" - value: null - - name: "UserType" - value: null - response: - values: - - name: "Status" - value: 0 - - #NEED TO CHECK WITH VALUES - - label: "Step 19: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroEvictableEndpointKey, - DataOperationType: DataOperationTypeEnum.Add, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 2, - } - - - label: - "Step 20: TH sends GetCredentialStatus Command with Credential as 7 1 - (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx - command: "GetCredentialStatus" - arguments: - values: - - name: "Credential" - value: { CredentialType: 7, CredentialIndex: 1 } - response: - values: - - name: "CredentialExists" - value: true - constraints: - type: boolean - - name: "UserIndex" - value: 1 - - - label: - "Step 21: TH sends ClearCredential Command to DUT to clear the - CredentialType of AliroEvictableEndpointKey Credential as 7 1 - (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 7, CredentialIndex: 1 } - - #NEED TO CHECK WITH VALUES - - label: "Step 22: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroEvictableEndpointKey, - DataOperationType: DataOperationTypeEnum.Clear, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 1, - } - - - label: - "Step 23: TH sends SetCredential Command to DUT with CredentialType as - alirononevictableendpointkey for the alirouser and CredentialData as - aliroevictableendpointkey for the alirouser, OperationType as - 0(DataOperationTypeEnum.Add), Credential as 8 - 1(CredentialType.AliroEvictableEndpointKey,CredentialIndex), - CredentialData as alirononevictableendpointkey, UserIndex as 1, - UserStatus as null, UserType as null" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx - command: "SetCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "OperationType" - value: 0 - - name: "Credential" - value: { CredentialType: 8, CredentialIndex: 1 } - - name: "CredentialData" - value: alirononevictableendpointkey - - name: "UserIndex" - value: 1 - - name: "UserStatus" - value: null - - name: "UserType" - value: null - response: - values: - - name: "Status" - value: 0 - - #NEED TO CHECK WITH VALUES - - label: "Step 24: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroNonEvictableEndpointKey, - DataOperationType: DataOperationTypeEnum.Add, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 2, - } - - - label: - "Step 25: TH sends GetCredentialStatus Command with Credential as 8 1 - (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: - PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C24.Rsp && DRLK.S.C25.Tx - command: "GetCredentialStatus" - arguments: - values: - - name: "Credential" - value: { CredentialType: 8, CredentialIndex: 1 } - response: - values: - - name: "CredentialExists" - value: true - constraints: - type: boolean - - name: "UserIndex" - value: 1 - - - label: - "Step 26: TH sends ClearCredential Command to DUT to clear the - CredentialType of AliroEvictableEndpointKey Credential as 8 1 - (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 8, CredentialIndex: 1 } - - #NEED TO CHECK WITH VALUES - - label: "Step 27: TH reads the LockUserChange event list from DUT" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.F0d && DRLK.S.E04 - command: "readEvent" - event: "LockUserChange" - response: - value: - { - LockDataType: LockDataTypeEnum.AliroNonEvictableEndpointKey, - DataOperationType: DataOperationTypeEnum.Clear, - OperationSource: OperationSourceEnum.Remote, - UserIndex: 1, - FabricIndex: fabric-idx, - SourceNode: node-id, - DataIndex: 1, - } - - - label: - "Step 28a: TH reads NumberOfAliroEndpointKeysSupported attribute and - saves the value as max_aliro_keys_supported" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A0088 - command: "readAttribute" - attribute: "NumberOfAliroEndpointKeysSupported" - response: - saveAs: max_aliro_keys_supported - - - label: - "Step 28b: TH reads NumberOfCredentialsSupportedPerUser attribute and - saves the value as numberofcredentialsupportedperuser" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.A001c - command: "readAttribute" - attribute: "NumberOfCredentialsSupportedPerUser" - response: - saveAs: numberofcredentialsupportedperuser - - ############# - #STEP 28c IF LOOP - ############# - - ############# - #STEP 29, 30, 31, 32, 33: startcredentialindex - ############# - - - label: - "Step 34a: TH sends ClearCredential Command to DUT to clear the ALIRO - CredentialType Credential as 6 - 1(CredentialTypeEnum.AliroCredentialIssuerKey,CredentialIndex)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 6, CredentialIndex: 1 } - - - label: - "Step 34b: TH sends ClearCredential Command to DUT to clear the ALIRO - CredentialType Credential as 7 - 1(CredentialTypeEnum.AliroEvictableEndpointKey)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 7, CredentialIndex: 1 } - - - label: - "Step 34c: TH sends ClearCredential Command to DUT to clear the ALIRO - CredentialType Credential as 8 - 1(CredentialTypeEnum.AliroNonEvictableEndpointKey)" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C26.Rsp - command: "ClearCredential" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "Credential" - value: { CredentialType: 8, CredentialIndex: 1 } - - - label: - "Step 35: TH sends ClearUser Command to DUT with the UserIndex as 1" - PICS: PICS_SKIP_SAMPLE_APP && DRLK.S.C1d.Rsp - command: "ClearUser" - timedInteractionTimeoutMs: 1000 - arguments: - values: - - name: "UserIndex" - value: 1 - # - label: "Step 30: TH sends SetCredential Command to DUT with CredentialType as AliroEvictableEndpointKey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 7 startcredentialindex+1 (CredentialTypeEnum.AliroEvictableEndpointKey,CredentialIndex), CredentialData as aliroevictableendpointkey, UserIndex as 1, UserStatus as null, UserType as null" - # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx - # command: "SetCredential" - # timedInteractionTimeoutMs: 1000 - # arguments: - # values: - # - name: "OperationType" - # value: 0 - # - name: "Credential" - # value: { CredentialType: 8, CredentialIndex: 2 } - # - name: "CredentialData" - # value: aliroevictableendpointkey - # - name: "UserIndex" - # value: 1 - # - name: "UserStatus" - # value: null - # - name: "UserType" - # value: null - # response: - # values: - # - name: "Status" - # value: 0 - # - label: "Step 31: TH sends SetCredential Command to DUT with CredentialType as AliroNonEvictableEndpointKey and number of credentials for alirouser exceeds the max_aliro_keys_supported CredentialData as aliroevictableendpointkey for the alirouser, OperationType as 0(DataOperationTypeEnum.Add), Credential as 8 startcredentialindex+1 (CredentialTypeEnum.AliroNonEvictableEndpointKey,CredentialIndex), CredentialData as alirononevictableendpointkey1, UserIndex as 1, UserStatus as null, UserType as null" - # PICS: DRLK.S.F0d && DRLK.S.C22.Rsp && DRLK.S.C23.Tx - # command: "SetCredential" - # timedInteractionTimeoutMs: 1000 - # arguments: - # values: - # - name: "OperationType" - # value: 0 - # - name: "Credential" - # value: { CredentialType: 8, CredentialIndex: 1 } - # - name: "CredentialData" - # value: alirononevictableendpointkey1 - # - name: "UserIndex" - # value: 1 - # - name: "UserStatus" - # value: null - # - name: "UserType" - # value: null - # response: - # values: - # - name: "Status" - # value: 0 From d4b16d60a444a1fb30d1059cb516e63141682c76 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:16:07 +0530 Subject: [PATCH 29/36] Update ci-pics-values --- src/app/tests/suites/certification/ci-pics-values | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 54f7624e26d80b..3bf7a6db43ef2f 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -1517,6 +1517,15 @@ DRLK.S.A0031=1 DRLK.S.A0032=1 DRLK.S.A0033=1 DRLK.S.A0035=0 +DRLK.S.A0080=0 +DRLK.S.A0081=0 +DRLK.S.A0082=0 +DRLK.S.A0083=0 +DRLK.S.A0084=0 +DRLK.S.A0085=0 +DRLK.S.A0086=0 +DRLK.S.A0087=0 +DRLK.S.A0088=0 #ReadOnly attributes DRLK.S.A0028.ReadOnly=1 From cd25cd8d383c2d2f1ac8124454b49bb8cc2ad4cc Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:30:51 +0530 Subject: [PATCH 30/36] Update PICS.yaml removed readonly type of PICS --- src/app/tests/suites/certification/PICS.yaml | 44 ++++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index f717c059e3425a..7b03f416d9a2fe 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2735,64 +2735,64 @@ PICS: - label: "Does the DUT(server) support the ExpiringUserTimeOut attribute?" id: DRLK.S.A0035 - # - #Server ReadOnly attribute - # - - label: - "Does the DUT(server) support the EnableLocalProgramming attribute and - is ReadOnly" - id: DRLK.S.A0028.ReadOnly - - - label: - "Does the DUT(server) support the LocalProgrammingFeatures attribute - and is ReadOnly" - id: DRLK.S.A002c.ReadOnly - - label: "Does the DUT(server) support the AliroReaderVerificationKey attribute and is ReadOnly" - id: DRLK.S.A0080.ReadOnly + id: DRLK.S.A0080 - label: "Does the DUT(server) support the AliroReaderGroupIdentifier attribute and is ReadOnly" - id: DRLK.S.A0081.ReadOnly + id: DRLK.S.A0081 - label: "Does the DUT(server) support the AliroReaderGroupSubIdentifier attribute and is ReadOnly" - id: DRLK.S.A0082.ReadOnly + id: DRLK.S.A0082 - label: "Does the DUT(server) support the AliroExpeditedTransactionSupportedProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0083.ReadOnly + id: DRLK.S.A0083 - label: "Does the DUT(server) support the AliroGroupResolvingKey attribute and is ReadOnly" - id: DRLK.S.A0084.ReadOnly + id: DRLK.S.A0084 - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions attribute and is ReadOnly" - id: DRLK.S.A0085.ReadOnly + id: DRLK.S.A0085 - label: "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute and is ReadOnly" - id: DRLK.S.A0086.ReadOnly + id: DRLK.S.A0086 - label: "Does the DUT(server) support the NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0087.ReadOnly + id: DRLK.S.A0087 - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported attribute and is ReadOnly" - id: DRLK.S.A0088.ReadOnly + id: DRLK.S.A0088 + + # + #Server ReadOnly attribute + # + - label: + "Does the DUT(server) support the EnableLocalProgramming attribute and + is ReadOnly" + id: DRLK.S.A0028 + + - label: + "Does the DUT(server) support the LocalProgrammingFeatures attribute + and is ReadOnly" + id: DRLK.S.A002c # # Server write attributes From bed3541e697f3c5e4198cd3be7c1227cc14a1ecb Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:32:00 +0530 Subject: [PATCH 31/36] Update ci-pics-values-removed readonly pics --- src/app/tests/suites/certification/ci-pics-values | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index 3bf7a6db43ef2f..aa884e382000b7 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -1530,15 +1530,7 @@ DRLK.S.A0088=0 #ReadOnly attributes DRLK.S.A0028.ReadOnly=1 DRLK.S.A002c.ReadOnly=1 -DRLK.S.A0080.ReadOnly=0 -DRLK.S.A0081.ReadOnly=0 -DRLK.S.A0082.ReadOnly=0 -DRLK.S.A0083.ReadOnly=0 -DRLK.S.A0084.ReadOnly=0 -DRLK.S.A0085.ReadOnly=0 -DRLK.S.A0086.ReadOnly=0 -DRLK.S.A0087.ReadOnly=0 -DRLK.S.A0088.ReadOnly=0 + #write attributes DRLK.S.M.SimulateNotFullyLocked=1 From f4b806df886c2e004bcb9d243ab0106e3e63d1c2 Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:40:55 +0530 Subject: [PATCH 32/36] Update ciTests.json-restored --- src/app/tests/suites/ciTests.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/tests/suites/ciTests.json b/src/app/tests/suites/ciTests.json index f171fc6cc76f3b..a96ef4aebc8fff 100644 --- a/src/app/tests/suites/ciTests.json +++ b/src/app/tests/suites/ciTests.json @@ -277,14 +277,12 @@ "DL_UsersAndCredentials", "DL_LockUnlock", "DL_Schedules", - "Test_TC_DRLK_2_1", "Test_TC_DRLK_2_4", "Test_TC_DRLK_2_5", "Test_TC_DRLK_2_6", "Test_TC_DRLK_2_7", "Test_TC_DRLK_2_8", - "Test_TC_DRLK_2_11", - "Test_TC_DRLK_2_13" + "Test_TC_DRLK_2_11" ], "Groups": ["TestGroupMessaging", "TestGroupsCluster", "Test_TC_G_2_1"], "ScenesManagement": [ From 34de72b6dde0af9ee98ff12c6e13fbdfdfaffa0f Mon Sep 17 00:00:00 2001 From: chaitanya jandhyala Date: Wed, 31 Jul 2024 17:40:20 -0700 Subject: [PATCH 33/36] updated the Aliro labels without readonly , updated the ids to DRLK.S.A0028.ReadOnly and DRLK.S.A002c.ReadOnly --- src/app/tests/suites/certification/PICS.yaml | 29 ++++++++------------ 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 7b03f416d9a2fe..1e3963b53bcf07 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2736,49 +2736,44 @@ PICS: id: DRLK.S.A0035 - label: - "Does the DUT(server) support the AliroReaderVerificationKey attribute - and is ReadOnly" + "Does the DUT(server) support the AliroReaderVerificationKey attribute" id: DRLK.S.A0080 - label: - "Does the DUT(server) support the AliroReaderGroupIdentifier attribute - and is ReadOnly" + "Does the DUT(server) support the AliroReaderGroupIdentifier attribute" id: DRLK.S.A0081 - label: - "Does the DUT(server) support the AliroReaderGroupSubIdentifier - attribute and is ReadOnly" + "Does the DUT(server) support the AliroReaderGroupSubIdentifier + attribute" id: DRLK.S.A0082 - label: "Does the DUT(server) support the - AliroExpeditedTransactionSupportedProtocolVersions attribute and is - ReadOnly" + AliroExpeditedTransactionSupportedProtocolVersions attribute" id: DRLK.S.A0083 - label: - "Does the DUT(server) support the AliroGroupResolvingKey attribute and - is ReadOnly" + "Does the DUT(server) support the AliroGroupResolvingKey attribute" id: DRLK.S.A0084 - label: "Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions - attribute and is ReadOnly" + attribute" id: DRLK.S.A0085 - label: - "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute - and is ReadOnly" + "Does the DUT(server) support the AliroBLEAdvertisingVersion attribute" id: DRLK.S.A0086 - label: "Does the DUT(server) support the - NumberOfAliroCredentialIssuerKeysSupported attribute and is ReadOnly" + NumberOfAliroCredentialIssuerKeysSupported attribute" id: DRLK.S.A0087 - label: "Does the DUT(server) support the NumberOfAliroEndpointKeysSupported - attribute and is ReadOnly" + attribute" id: DRLK.S.A0088 # @@ -2787,12 +2782,12 @@ PICS: - label: "Does the DUT(server) support the EnableLocalProgramming attribute and is ReadOnly" - id: DRLK.S.A0028 + id: DRLK.S.A0028.ReadOnly - label: "Does the DUT(server) support the LocalProgrammingFeatures attribute and is ReadOnly" - id: DRLK.S.A002c + id: DRLK.S.A002c.ReadOnly # # Server write attributes From cc981c9cc0109ed370fa9a73bc3ae7acde7aef5c Mon Sep 17 00:00:00 2001 From: sumaky <63414112+sumaky@users.noreply.github.com> Date: Thu, 1 Aug 2024 08:19:35 +0530 Subject: [PATCH 34/36] Removed PICS for step 37 --- src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml index 95176764cc8d8f..8bce2046d74897 100755 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml @@ -1562,7 +1562,7 @@ tests: - 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 + PICS: DRLK.S.F07 && DRLK.S.C1d.Rsp command: "ClearUser" timedInteractionTimeoutMs: 1000 arguments: From 5da3496dff421de23f88f656e6a41cb786e02986 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 1 Aug 2024 00:42:05 +0000 Subject: [PATCH 35/36] Restyled by whitespace --- src/app/tests/suites/certification/PICS.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 1e3963b53bcf07..790ebf793d0d09 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2744,7 +2744,7 @@ PICS: id: DRLK.S.A0081 - label: - "Does the DUT(server) support the AliroReaderGroupSubIdentifier + "Does the DUT(server) support the AliroReaderGroupSubIdentifier attribute" id: DRLK.S.A0082 From 84cd6f7dc52bec500f21a5c965f3a788cab9e704 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 1 Aug 2024 00:42:19 +0000 Subject: [PATCH 36/36] Restyled by prettier-yaml --- src/app/tests/suites/certification/PICS.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 790ebf793d0d09..bb969229639005 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -2753,8 +2753,7 @@ PICS: AliroExpeditedTransactionSupportedProtocolVersions attribute" id: DRLK.S.A0083 - - label: - "Does the DUT(server) support the AliroGroupResolvingKey attribute" + - label: "Does the DUT(server) support the AliroGroupResolvingKey attribute" id: DRLK.S.A0084 - label: