-
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
[TC-IDM-1.2]-SDK support required for test step 4 and 5 in Invoke Response Action from DUT to TH test case. #16569
Comments
Same issue facing [TC-IDM-2.2] Report Data Action from DUT to TH test case. As per Test-Plan The test-step 21 is expecting "TH sends the Read Request Message to |
@mrjerryjohns Can you provide what is the device configuration that should be used for such test cases ? It is unclear to me that this is an issue requesting code changes instead of the steps missing informations. |
Per my understanding of the step a simple trick once #17280 and #17309 have landed is to use the Those would override either the nodeid or the fabricid used when a message is sent, which should prevent access to the target resources because there is no ACL rules for them. For example: |
@vivien-apple This command is not working, I am getting Steps to reproduce:- ./chip-tool basic read-event start-up 0x12344321 0 --commissioner-fabricid 332211 |
It is unclear to me that the test case is correct. (CC'ing @mrjerryjohns / @bzbarsky-apple) Do we have support for "Fabric Scoped" attribute ? My understanding is that we have support for "Fabric Scoped" attribute fields, not for the whole attribute. |
There are "Fabric scoped" attributes, but there is no concept of "associated fabric" for a whole attribute; that's attached to individual structs in the list. The test plan language around "TH sends the Read Request Message to the DUT to read an As for "read an attribute in the path that requires a privilege that is not granted for the cluster in the path" that should be doable in YAML:
|
Yes, Boris' comment (3 days ago) is correct. Only administrators can change ACLs, and they can completely change ACLs. They can make it such that they lose their own access completely, if they wish. So if TH wants to test access denied, it can:
This all works now in the SDK. To be clear, you don't need to have TH pretend to be different node ID (subjects), as described by Vivien, to test access denied (although you can, if that's preferred). TH can limit its own access, as I described above. |
Test Case ID
[TC-IDM-1.2] Invoke Response Action from DUT to TH
Problem
As per Test-Plan, test step 4 is expecting to "Setup the TH such that it should not have the privilege for the cluster"
in the path , and test step 5 is expecting to "Setup the TH such that there is no accessing fabric "
was out of scope for TE-8 and doesn't had the verification steps. Do we have the SDK developed to support these steps?
If it is, please share the verification steps for the same.
Test-Plan reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-1-2-invoke-response-action-from-dut-to-th
Spec Reference:-
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/data_model/Interaction-Model.adoc#invoke-response-action
The text was updated successfully, but these errors were encountered: