8000 Updates TC-SC-5.2 and TC-SC-6.1 as per Test Plan Changes by raul-marquez-csa · Pull Request #39338 · project-chip/connectedhomeip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updates TC-SC-5.2 and TC-SC-6.1 as per Test Plan Changes #39338

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

raul-marquez-csa
Copy link
Contributor

Testing

Updates TC-SC-5.2 and TC-SC-6.1 as per Test Plan Changes

Addresses:
[TC-SC-5.2, 6.1] Script has to be updated as per Test Plan #17214

Copy link
Contributor
@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates two YAML-based test scripts, Test_TC_SC_5_2.yaml and Test_TC_SC_6_1.yaml, to reflect changes in the test plan.

In Test_TC_SC_5_2.yaml, new steps have been added to test group removal and verification, and existing steps have been renumbered. These changes appear correct and well-integrated.

In Test_TC_SC_6_1.yaml, steps 7 and 8 have been significantly modified: the DUT now sends commands (KeySetRemove and KeySetReadAllIndices) instead of reading attributes. The PICS codes, chip-tool commands, and sample verification logs have been updated accordingly. The content of these changes seems correct.

A key point for clarification is whether these updated steps in Test_TC_SC_6_1.yaml should now be enabled, as they are currently marked disabled: true.

Summary of Findings

  • Test Steps Disabled: In Test_TC_SC_6_1.yaml, the updated Steps 7 and 8 remain disabled: true. It's important to clarify if the test plan changes require these steps to be active. If so, they should be enabled for the test to be effective.

Merge Readiness

The changes in Test_TC_SC_5_2.yaml are good. The content updates in Test_TC_SC_6_1.yaml for steps 7 and 8 also seem correct based on their descriptions. However, there's a significant question regarding whether these updated steps in Test_TC_SC_6_1.yaml should be enabled (they are currently disabled: true).

I recommend that this point be clarified and, if necessary, addressed before merging to ensure the test script accurately reflects the current test plan's execution requirements. As an AI, I am not authorized to approve pull requests, and I recommend that others review and approve this code before merging, as well. Based on this review, I would request changes to address the disabled: true status clarification.

Copy link
github-actions bot commented Jun 2, 2025

PR #39338: Size comparison from 49594a5 to 044d8d7

Full report (3 builds for cc32xx, stm32)
platform target config section 49594a5 044d8d7 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548158 548158 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581606 581606 0 0.0
RAM 205384 205384 0 0.0
stm32 light STM32WB5MM-DK FLASH 464956 464956 0 0.0
RAM 141424 141424 0 0.0

Copy link
github-actions bot commented Jun 2, 2025

PR #39338: Size comparison from 49594a5 to 2897dfe

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 49594a5 2897dfe change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102196 1102196 0 0.0
RAM 179058 179058 0 0.0
bl702 lighting-app bl702+eth FLASH 655302 655302 0 0.0
RAM 135009 135009 0 0.0
bl702+wifi FLASH 832792 832792 0 0.0
RAM 124573 124573 0 0.0
bl706+mfd+rpc+littlefs FLASH 1065480 1065480 0 0.0
RAM 117405 117405 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895026 895026 0 0.0
RAM 105708 105708 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978750 978750 0 0.0
RAM 109892 109892 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820516 820516 0 0.0
RAM 120224 120224 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 832120 832120 0 0.0
RAM 125376 125376 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 777640 777640 0 0.0
RAM 113780 113780 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 761956 761956 0 0.0
RAM 113988 113988 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548158 548158 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581606 581606 0 0.0
RAM 205384 205384 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 662621 662621 0 0.0
RAM 77504 77504 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 682465 682465 0 0.0
RAM 80144 80144 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 682465 682465 0 0.0
RAM 80144 80144 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 639405 639405 0 0.0
RAM 72572 72572 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623989 623989 0 0.0
RAM 73816 73816 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643625 643625 0 0.0
RAM 76368 76368 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643625 643625 0 0.0
RAM 76368 76368 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 644909 644909 0 0.0
RAM 76816 76816 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 664625 664625 0 0.0
RAM 79368 79368 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 664625 664625 0 0.0
RAM 79368 79368 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619577 619577 0 0.0
RAM 70928 70928 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639429 639429 0 0.0
RAM 73560 73560 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639429 639429 0 0.0
RAM 73560 73560 0 0.0
efr32 lock-app BRD4187C FLASH 946796 946796 0 0.0
RAM 132036 132036 0 0.0
BRD4338a FLASH 776008 776008 0 0.0
RAM 173256 173256 0 0.0
window-app BRD4187C FLASH 1039656 1039648 -8 -0.0
RAM 128164 128164 0 0.0
esp32 all-clusters-app c3devkit DRAM 103544 103544 0 0.0
FLASH 1809908 1809908 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 122412 122412 0 0.0
FLASH 1774554 1774554 0 0.0
IRAM 117071 117071 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2786574 2786574 0 0.0
RAM 117016 117016 0 0.0
all-clusters-app debug unknown 5664 5664 0 0.0
FLASH 6385368 6385368 0 0.0
RAM 537568 537568 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5468430 5468430 0 0.0
RAM 227976 227976 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4800908 4800908 0 0.0
RAM 207632 207632 0 0.0
camera-app debug unknown 8864 8864 0 0.0
FLASH 6910331 6910331 0 0.0
RAM 228888 228888 0 0.0
camera-controller debug unknown 9168 9168 0 0.0
FLASH 14264875 14264875 0 0.0
RAM 657256 657256 0 0.0
chip-tool debug unknown 6248 6248 0 0.0
FLASH 14638053 14638053 0 0.0
RAM 650736 650736 0 0.0
chip-tool-ipv6only arm64 unknown 40440 40440 0 0.0
FLASH 12609844 12609844 0 0.0
RAM 697080 697080 0 0.0
fabric-admin debug unknown 5928 5928 0 0.0
FLASH 12709621 12709621 0 0.0
RAM 650136 650136 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4586812 4586812 0 0.0
RAM 193344 193344 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5733733 5733733 0 0.0
RAM 490016 490016 0 0.0
lighting-app debug+rpc+ui unknown 6272 6272 0 0.0
FLASH 5650209 5650209 0 0.0
RAM 209864 209864 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4835210 4835210 0 0.0
RAM 197096 197096 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4438712 4438712 0 0.0
RAM 185968 185968 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4508184 4508184 0 0.0
RAM 188600 188600 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3082892 3082892 0 0.0
RAM 151080 151080 0 0.0
thermostat-no-ble arm64 unknown 9784 9784 0 0.0
FLASH 4232860 4232860 0 0.0
RAM 233416 233416 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6098629 6098629 0 0.0
RAM 614248 614248 0 0.0
tv-casting-app debug unknown 5336 5336 0 0.0
FLASH 12786941 12786941 0 0.0
RAM 767120 767120 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 921836 921836 0 0.0
RAM 167468 167468 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 913072 913072 0 0.0
RAM 145712 145712 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 859012 859012 0 0.0
RAM 141095 141095 0 0.0
nxp contact k32w0+release FLASH 592248 592248 0 0.0
RAM 72864 72864 0 0.0
mcxw71+release FLASH 624976 624976 0 0.0
RAM 63196 63196 0 0.0
light k32w0+release FLASH 618340 618340 0 0.0
RAM 72160 72160 0 0.0
k32w1+release FLASH 709512 709512 0 0.0
RAM 72052 72052 0 0.0
lock mcxw71+release FLASH 776144 776144 0 0.0
RAM 67612 67612 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1671524 1671524 0 0.0
RAM 212464 212464 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1575876 1575876 0 0.0
RAM 208512 208512 0 0.0
light cy8ckit_062s2_43012 FLASH 1448308 1448308 0 0.0
RAM 197240 197240 0 0.0
lock cy8ckit_062s2_43012 FLASH 1480588 1480588 0 0.0
RAM 224952 224952 0 0.0
qpg lighting-app qpg6105+debug FLASH 667212 667212 0 0.0
RAM 105196 105196 0 0.0
lock-app qpg6105+debug FLASH 627280 627280 0 0.0
RAM 99816 99816 0 0.0
stm32 light STM32WB5MM-DK FLASH 464956 464956 0 0.0
RAM 141424 141424 0 0.0
telink bridge-app tl7218x FLASH 677444 677444 0 0.0
694200 694200 0 0.0
RAM 90960 90960 0 0.0
102100 102100 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 766638 766638 0 0.0
RAM 50252 50252 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767668 767668 0 0.0
RAM 40544 40544 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 756126 756126 0 0.0
773746 773746 0 0.0
RAM 97672 97672 0 0.0
109424 109424 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 687208 687208 0 0.0
703106 703106 0 0.0
RAM 51780 51780 0 0.0
62812 62812 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 715658 715658 0 0.0
741060 741060 0 0.0
RAM 73592 73592 0 0.0
85984 85984 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712986 712986 0 0.0
RAM 37228 37228 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604478 604478 0 0.0
600610 600610 0 0.0
RAM 106920 106920 0 0.0
120196 120196 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 791192 791196 4 0.0
809084 809088 4 0.0
RAM 96520 96520 0 0.0
107692 107692 0 0.0
tizen all-clusters-app arm unknown 5300 5300 0 0.0
FLASH 1819708 1819708 0 0.0
RAM 97160 97160 0 0.0
chip-tool-ubsan arm unknown 20644 20644 0 0.0
FLASH 20907966 20907966 0 0.0
RAM 9100368 9100368 0 0.0

@soares-sergio
Copy link
Contributor

Please add more context to the description of this PR:

  • What exactly has changed in the Test Plan?
  • Link to the new spec/test plan
  • Testing: how did you test? What command can I run to check this works? Does it run in CI?

Thanks!

@raul-marquez-csa
Copy link
Contributor Author

Please add more context to the description of this PR:

  • What exactly has changed in the Test Plan?
  • Link to the new spec/test plan
  • Testing: how did you test? What command can I run to check this works? Does it run in CI?

Thanks!

Description:

TC-SC-5.2
Test Step 9 TH sends a RemoveGroup Command to the Groups cluster with the GroupID field set to 0x0101. The command is sent as a group command using GroupID 0x0103 is newly added to the Test plan for verifying the RemoveGroup command functionality with Group cast method. So this step has to be added in Script.

Same for Step 10.

TC-SC-6.1
Test step 7, 8 has been newly added to the Test Plan for verifying the KeySetRemove and KeySetReadAllIndices commands. So script has to be updated accordingly.

Steps to reproduce:

  • TC-SC-5.2 - Steps 9, 10
  • TC-SC-6.1 - Steps 7, 8

Test Plan References:
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/group_communication.adoc#434-tc-sc-52-receiving-a-group-message---th-to-dut
Yaml References:
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_SC_5_2.yaml

Script is passing in the CI

"Step 9: TH sends a RemoveGroup Command to the Groups cluster with the
GroupID field set to 0x0101. The command is sent as a group command
using GroupID 0x0103"
PICS: G.S.C03.Rsp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PICS: G.S.C03.Rsp

command is mandatory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this was intended to stop this test step from running on a device that doesn't have a groups cluster, that's not going to work either because it targets EP0 and the groups clusters are not on that endpoint. The PICS are per endpoint, so this test step will basically not ever run unless you have a groups cluster on EP0, which no one should have.

@@ -220,7 +220,37 @@ tests:
value: ""

- label:
"Step 9: TH removes the Group key set that was added by sending a
"Step 9: TH sends a RemoveGroup Command to the Groups cluster with the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this test presupposes a groups cluster, but is run against all commissionees.

Can you check with Gibran? He is supposed to be looking at the groups tests and the PICS markings to understand if they are correct and I can guarantee you that this one is not.

verification: |
./chip-tool groupkeymanagement read group-key-map 1 0
./chip-tool groupkeymanagement key-set-remove 42 1 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this ever going to be automatable in yaml? If no, there's no point in fiddling further with this file as it will need to be re-written anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app review - pending tests yaml Missing features or bugs in the YAML test harness
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0