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

[TC-ACL-2.4]: Test case ,Step 36: Expected output is constraint error , But the actual result is success #20797

Closed
aswathygrl opened this issue Jul 15, 2022 · 4 comments · Fixed by #20736

Comments

@aswathygrl
Copy link

Test Case ID
TC-ACL-2.4
Describe Issue:
Step 36 :expected outcome is constraint error but result is Success.
Command to Verify: ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null}, {"fabricIndex": 1, "privilege": 3, "authMode": 2, "subjects": [42949672930000000], "targets": null}]' 1 0
Test Plan Reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/AccessControl.adoc#tc-acl-2-4-acl-attribute

@andy31415
Copy link
Contributor

@aswathygrl - what is 42949672930000000

Test case says 0xFFFFFFFD_BAD_NONE0000000 (looks like a typo? is it?) and 42949672930000000 in hex looks like 98967ffe363c80

@andy31415
Copy link
Contributor

@aswathygrl I think 42949672930000000 is not ok.

I think this should be either deleted or use 0xFFFF_FFFD_0000_0000 (i.e. 18446744060824649728)

@andy31415
Copy link
Contributor

In my fix PR, I marked that this is fixed, but assuming test value is 0xFFFF_FFFD_0000_0000

@aswathygrl
Copy link
Author

@andy31415 I have provided this value (0xFFFF_FFFD_0000_0000 (i.e. 18446744060824649728) but still I am getting failure in the below commitid.

commitid aa9457e

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