Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[DRLK] User Database, Holiday Schedule, Weekday Schedule tests required and fail even when not supported #449

Open
Supereg opened this issue Nov 21, 2024 · 0 comments

Comments

@Supereg
Copy link

Supereg commented Nov 21, 2024

Summary Title:

User Database, Holiday Schedule, Weekday Schedule test cases are required and fail even when a door lock doesn't support them and doesn't declare support in the PICS file.

Description:

A simple door lock that does not implement the user database feature, the holiday and weekday access schedule is still required to pass the [TC-DRLK-2.5] (Set Week Day Schedule), [TC-DRLK-2.6] (Set Holiday Schedule), [TC-DRLK-2.7] (Set Year Schedule), [TC-DRLK-2.8] (User Database) and [TC-DRLK-2.9] (Set Credential) test cases. Both the PICS Tool (v 2.1.19) and the the Test Harness will select these test cases as required. These test cases will fail with an error specifying that the commands are not implemented.

Steps to reproduce:

  1. Create a minimal Door Lock Cluster PICS file (attached).
  2. Validate the PICS file in PICS tool.
  3. PICS tool will show the require set of test cases at the top (PDF attached).
  4. Test Plans specify the condition for these Test cases is simply [DRLK.S] (which is not correct).
  5. Test Harness and test cases will ultimately fail.

Logs:

Full test log is attached, relevant log line:

WARNING    | 2024-11-06 12:01:31.359578 | Test Failure: The test expects no error but the "UNSUPPORTED_COMMAND" error occured.

Additional Info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant