project-chip / project-chip/matter-test-scripts
[Test Failed] TC-GRPKEY-2.1 step 3 fail
@Rajashreekalmane is already working on this.
Since Jun 13, 2025.
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
Test issue(s)
1.TC-GRPKEY-2.1 step 3
Platform
core (please add to version below) - Matter 1.4 SDK
Anything else?
When the test is run for already commissioned DUT, then current fabricIndex != 1. In step 2 there is write command to fabric 1 performed from different farbic (5 in my case):
Command: groupkeymanagement write group-key-map [{"fabricIndex": 1, "groupId": 259, "groupKeySetID": 419}] 0xf16b268c6956dec3 0
Actual write is done fabricIndex 5, because SDK discards the requested fabricIndex and uses aDecoder.AccessingFabricIndex():
And in step 3 there is:
Command: groupkeymanagement read group-key-map 0xf16b268c6956dec3 0
And fails expected value check:
Test Failure: The test expectation "value ([{'GroupId': 259, 'GroupKeySetID': 419, 'FabricIndex': 3}]) == [{'FabricIndex': 1, 'GroupId': 259, 'GroupKeySetID': 419}]" is false
In my opinion WriteGroupKeyMap() method need to use requested fabricIndex instead of aDecoder.AccessingFabricIndex().
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.