-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix RR_1_1 to match spec and bring all-clusters app inline with minimums requirements #25789
Fix RR_1_1 to match spec and bring all-clusters app inline with minimums requirements #25789
Conversation
PR #25789: Size comparison from 2ea6746 to 5d40ed1 Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
PR #25789: Size comparison from 2ea6746 to c2eb315 Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
PR #25789: Size comparison from 2ea6746 to c243280 Full report (1 build for cc32xx)
|
PR #25789: Size comparison from 2ea6746 to 6894824 Increases (1 build for linux)
Full report (5 builds for cc32xx, linux, qpg)
|
PR #25789: Size comparison from 2ea6746 to a69e428 Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
PR #25789: Size comparison from 2ea6746 to a1f802b Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
examples/all-clusters-app/cc13x2x7_26x2x7/main/include/CHIPProjectConfig.h
Show resolved
Hide resolved
# Step 10: Count all group cluster instances | ||
# Step 10: Reconfig ACL to allow test runner access to Groups clusters on all endpoints. | ||
logging.info("Step 10: Reconfiguring ACL to allow access to Groups Clusters") | ||
self.send_acl(test_step=10, client_by_name=client_by_name, enable_access_to_group_cluster=False, fabric_table=fabric_table) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enable_access_to_group_cluster shall be True?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ops... that is correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've created separate PR to fix that: #25845
admin_targets = [ | ||
Clusters.AccessControl.Structs.Target(endpoint=0), | ||
Clusters.AccessControl.Structs.Target(cluster=0xFFF1_FC00, deviceType=0xFFF1_BC30), | ||
admin_target_field_2, | ||
Clusters.AccessControl.Structs.Target(cluster=0xFFF1_FC01, deviceType=0xFFF1_BC31) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we wanna be precise regarding Master test plan the Targets shall be
Clusters.AccessControl.Structs.Target(cluster=0xFFF1_FC00, deviceType=0xFFF1_FC31)
@@ -747,9 +759,13 @@ def build_acl(self): | |||
# Administer ACL entry | |||
admin_subjects = [0xFFFF_FFFD_0001_0001, 0x2000_0000_0000_0001, 0x2000_0000_0000_0002, 0x2000_0000_0000_0003] | |||
|
|||
admin_target_field_2 = Clusters.AccessControl.Structs.Target(cluster=0xFFF1_FC00, deviceType=0xFFF1_BC30) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on Master test plan RR-1.1 definition it should be Clusters.AccessControl.Structs.Target(cluster=0xFFF1_FC00, deviceType=0xFFF1_FC30)
Fixes: #25532
Changes to RR_1.1:
This bring code in line to what is actually written in the RR_1.1 spec. There was a bug in add_all_groups that wrote all wrote all the groups to each of the endpoints instead, leading to writing more then the maximum of supported groups per fabric. This also incorporates test spec changes from https://github.com/CHIP-Specifications/chip-test-plans/pull/2503
Changes outside of RR_1.1: