Skip to content

[Test Update] ACL_2_8 test module changes for testing ACL override List method #40238

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

Merged
merged 12 commits into from
Aug 15, 2025

Conversation

j-ororke
Copy link
Contributor

@j-ororke j-ororke commented Jul 22, 2025

Summary

Updating TC_ACL_2_8 python3 test module:

  • Added legacy mode rerun loop to verify that the test will work for both the new and legacy list write methods.
  • Added test step 11 to show that the test will be rerun after the new list method has completed.
  • Added resetting the fabrics inbetween the loops of running the new and legacy write list test runs.
  • This is for easier review of modified ACL_2_8 test module for override PR here:
  • Test Plan PR Link: 5381

Related issues

  • This stemmed from the create override PR from Amine here: 38693

Testing

  • Automated

…mits

Adding support for flag forceLegacyListEncoding, useful when writing Attributes with Legacy Write Request

Combining prior commits into one im order to merge latest changes

WIP: Example of forcing old Write Encoding

fixing typehint

Update TC_ACL_2_3.py

- Added force_legacy_encoding parameter to TC_ACL_2_3 test

- Added support for controlling the forceLegacyListEncoding parameter in the TC_ACL_2_3 test through the existing --bool-arg CLI infrastructure. The parameter defaults to True if not specified and can be set via: --bool-arg force_legacy_encoding:false

- This allows testing both legacy and non-legacy list encoding behaviors through the test runner.

Update TC_ACL_2_3.py

Changed expected result for test step 18, as the result should be D_OK_EMPTY if forced legacy encoding, otherwise it should be D_OK_FULL if using the new encoding

restyle

Updated TC_ACL_2_3 test module:
- Changing to establishing a new local function to contain test code
- Running the new local function from the main test function, changing the bool value for the force_legacy_encoding var between iterations

Restyled by autopep8

clang-tidy fixes: use make_unique to create unique_ptrs

making forceLegacyListEncoding default to False

Updating TC_ACL_2_8 python3 test module:
- Added legacy mode rerun loop to verify that the test will work for both the new and legacy list write methods.
- Added test step 11 to show that the test will be rerun after the new list method has completed.
- Added resetting the fabrics inbetween the loops of running the new and legacy write list test runs.
- This is for easier review of modified ACL_2_6 test module for override PR here: [38693](project-chip#38693)
- Test Plan PR Link: *To be added*

Restoring minor changes noticed during rebase
@j-ororke j-ororke requested a review from Alami-Amine July 22, 2025 05:55
@github-actions github-actions bot added the tests label Jul 22, 2025
@j-ororke j-ororke self-assigned this Jul 22, 2025
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

This pull request updates the TC_ACL_2_8 test to support both legacy and new list write methods by running the test twice with different encoding options. The changes include refactoring the test into an internal function, adding logic to handle different event sequences for legacy vs. new encoding, and cleaning up controller states between test runs.

My review focuses on improving code quality and maintainability. I've identified several areas with duplicated code that could be refactored into helper methods to make the test cleaner and easier to maintain. I've also pointed out a couple of minor style issues, such as an unused import and trailing whitespace, that should be addressed.

Referenced style guide elements: Avoid repetition, match prevailing style, remove unused imports.

Copy link

github-actions bot commented Jul 22, 2025

PR #40238: Size comparison from ccf4d20 to 464c821

Full report (4 builds for cc32xx, nrfconnect, stm32)
platform target config section ccf4d20d 464c821 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549794 549794 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582242 582242 0 0.0
RAM 205304 205304 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 908916 908916 0 0.0
RAM 152819 152819 0 0.0
stm32 light STM32WB5MM-DK FLASH 465716 465716 0 0.0
RAM 141336 141336 0 0.0

j-ororke added 3 commits July 21, 2025 23:46
… and improve maintainability:

- Unified event extraction and verification logic for both legacy and new encoding modes
- Always verify the initial 'added' event outside the encoding-specific logic
- Consolidated fabricIndex checks into a single loop for all relevant events
- Improved readability and maintainability by reducing duplicated code in steps 9 (TH1) and 10 (TH2)
Copy link

PR #40238: Size comparison from ccf4d20 to 4a3c98a

Full report (1 build for stm32)
platform target config section ccf4d20d 4a3c98a change % change
stm32 light STM32WB5MM-DK FLASH 465716 465716 0 0.0
RAM 141336 141336 0 0.0

Copy link

PR #40238: Size comparison from ccf4d20 to 1e5f42f

Full report (1 build for stm32)
platform target config section ccf4d20d 1e5f42f change % change
stm32 light STM32WB5MM-DK FLASH 465716 465716 0 0.0
RAM 141336 141336 0 0.0

Copy link

github-actions bot commented Jul 22, 2025

PR #40238: Size comparison from ccf4d20 to 1bf790f

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section ccf4d20d 1bf790f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1103482 1103482 0 0.0
RAM 178970 178970 0 0.0
bl702 lighting-app bl702+eth FLASH 656400 656400 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 834004 834004 0 0.0
RAM 124469 124469 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066026 1066026 0 0.0
RAM 117341 117341 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 895252 895252 0 0.0
RAM 105628 105628 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 978966 978966 0 0.0
RAM 109820 109820 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 765488 765488 0 0.0
RAM 103336 103336 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 777052 777052 0 0.0
RAM 108504 108504 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 723328 723328 0 0.0
RAM 96908 96908 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 707620 707620 0 0.0
RAM 97116 97116 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549794 549794 0 0.0
RAM 205104 205104 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582242 582242 0 0.0
RAM 205304 205304 0 0.0
efr32 lock-app BRD4187C FLASH 957304 957304 0 0.0
RAM 126532 126532 0 0.0
BRD4338a FLASH 751700 751700 0 0.0
RAM 251880 251880 0 0.0
window-app BRD4187C FLASH 1050000 1050000 0 0.0
RAM 122728 122728 0 0.0
esp32 all-clusters-app c3devkit DRAM 102320 102320 0 0.0
FLASH 1749620 1749620 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121204 121204 0 0.0
FLASH 1698206 1698206 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2608608 2608608 0 0.0
RAM 117128 117128 0 0.0
all-clusters-app debug unknown 5696 5696 0 0.0
FLASH 6002176 6002176 0 0.0
RAM 534232 534232 0 0.0
all-clusters-minimal-app debug unknown 5544 5544 0 0.0
FLASH 5224536 5224536 0 0.0
RAM 227896 227896 0 0.0
bridge-app debug unknown 5576 5576 0 0.0
FLASH 4608688 4608688 0 0.0
RAM 207408 207408 0 0.0
camera-app debug unknown 8984 8984 0 0.0
FLASH 6715931 6715931 0 0.0
RAM 230496 230496 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13671115 13671115 0 0.0
RAM 662520 662520 0 0.0
chip-tool debug unknown 6272 6272 0 0.0
FLASH 13739237 13739237 0 0.0
RAM 656032 656032 0 0.0
chip-tool-ipv6only arm64 unknown 40744 40744 0 0.0
FLASH 12775463 12775463 0 0.0
RAM 698352 698352 0 0.0
closure-app debug unknown 5544 5544 0 0.0
FLASH 4591550 4591550 0 0.0
RAM 200280 200280 0 0.0
fabric-admin debug unknown 5952 5952 0 0.0
FLASH 12077848 12077848 0 0.0
RAM 655064 655064 0 0.0
fabric-bridge-app debug unknown 4824 4824 0 0.0
FLASH 4406196 4406196 0 0.0
RAM 193104 193104 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5493997 5493997 0 0.0
RAM 492496 492496 0 0.0
lighting-app debug+rpc+ui unknown 6288 6288 0 0.0
FLASH 5492721 5492721 0 0.0
RAM 209624 209624 0 0.0
lock-app debug unknown 5504 5504 0 0.0
FLASH 4636432 4636432 0 0.0
RAM 196872 196872 0 0.0
ota-provider-app debug unknown 4864 4864 0 0.0
FLASH 4267208 4267208 0 0.0
RAM 185840 185840 0 0.0
ota-requestor-app debug unknown 4744 4744 0 0.0
FLASH 4330470 4330470 0 0.0
RAM 188712 188712 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2952340 2952340 0 0.0
RAM 148440 148440 0 0.0
thermostat-no-ble arm64 unknown 9840 9840 0 0.0
FLASH 4236255 4236255 0 0.0
RAM 231016 231016 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5825997 5825997 0 0.0
RAM 616856 616856 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11874093 11874093 0 0.0
RAM 772512 772512 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 908916 908916 0 0.0
RAM 152819 152819 0 0.0
nxp contact mcxw71+release FLASH 626600 626600 0 0.0
RAM 64020 64020 0 0.0
lock mcxw71+release FLASH 778144 778144 0 0.0
RAM 68676 68676 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1656804 1656804 0 0.0
RAM 211160 211160 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1578076 1578076 0 0.0
RAM 208432 208432 0 0.0
light cy8ckit_062s2_43012 FLASH 1449916 1449916 0 0.0
RAM 197152 197152 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482220 1482220 0 0.0
RAM 224872 224872 0 0.0
qpg lighting-app qpg6200+debug FLASH 769184 769184 0 0.0
RAM 121768 121768 0 0.0
lock-app qpg6200+debug FLASH 755564 755564 0 0.0
RAM 118552 118552 0 0.0
stm32 light STM32WB5MM-DK FLASH 465716 465716 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 702756 702756 0 0.0
RAM 93564 93564 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 794660 794660 0 0.0
RAM 43980 43980 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783066 783066 0 0.0
RAM 100876 100876 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 710182 710182 0 0.0
RAM 54204 54204 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 746776 746776 0 0.0
RAM 77368 77368 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723502 723502 0 0.0
RAM 36960 36960 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603932 603932 0 0.0
RAM 112532 112532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 818670 818674 4 0.0
RAM 99128 99128 0 0.0
tizen all-clusters-app arm unknown 5136 5136 0 0.0
FLASH 1758604 1758604 0 0.0
RAM 92188 92188 0 0.0
chip-tool-ubsan arm unknown 20804 20804 0 0.0
FLASH 21101026 21101026 0 0.0
RAM 9177840 9177840 0 0.0

@j-ororke j-ororke marked this pull request as ready for review July 22, 2025 16:46
@j-ororke j-ororke changed the title [Test Update] Override PR for ACL_2_8 test module changes [Test Update] ACL_2_8 test module changes for testing Legacy and current Override List Methods Jul 22, 2025
@j-ororke j-ororke changed the title [Test Update] ACL_2_8 test module changes for testing Legacy and current Override List Methods [Test Update] ACL_2_8 test module changes for testing ACL override List method Jul 23, 2025
Copy link

github-actions bot commented Aug 7, 2025

PR #40238: Size comparison from 17b6939 to bedb31f

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 17b6939 bedb31f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104638 1104638 0 0.0
RAM 179066 179066 0 0.0
bl702 lighting-app bl702+eth FLASH 657270 657270 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 835062 835062 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066978 1066978 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896160 896160 0 0.0
RAM 105652 105652 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979874 979874 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766632 766632 0 0.0
RAM 103328 103328 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778228 778228 0 0.0
RAM 108496 108496 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 723832 723832 0 0.0
RAM 96892 96892 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708188 708188 0 0.0
RAM 97100 97100 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550586 550586 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582942 582942 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 957920 957920 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752336 752336 0 0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050220 1050220 0 0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750406 1750406 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698870 1698870 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2588242 2588242 0 0.0
RAM 116664 116664 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5977460 5977460 0 0.0
RAM 534696 534696 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5203746 5203746 0 0.0
RAM 227944 227944 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4590144 4590144 0 0.0
RAM 208304 208304 0 0.0
camera-app debug unknown 8992 8992 0 0.0
FLASH 6790331 6790331 0 0.0
RAM 231872 231872 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13644715 13644715 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13694091 13694091 0 0.0
RAM 655880 655880 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690840 690840 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4571918 4571918 0 0.0
RAM 200216 200216 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038864 12038864 0 0.0
RAM 654888 654888 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4389056 4389056 0 0.0
RAM 193968 193968 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5474917 5474917 0 0.0
RAM 493760 493760 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5476193 5476193 0 0.0
RAM 209616 209616 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4618858 4618858 0 0.0
RAM 196760 196760 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4247732 4247732 0 0.0
RAM 185424 185424 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4310944 4310944 0 0.0
RAM 188248 188248 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2932179 2932179 0 0.0
RAM 148504 148504 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4226495 4226495 0 0.0
RAM 226464 226464 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803237 5803237 0 0.0
RAM 618104 618104 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11831541 11831541 0 0.0
RAM 772432 772432 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909772 909772 0 0.0
RAM 152832 152832 0 0.0
nxp contact mcxw71+release FLASH 630440 630440 0 0.0
RAM 64084 64084 0 0.0
lock mcxw71+release FLASH 740632 740632 0 0.0
RAM 65168 65168 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657828 1657828 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579428 1579428 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450532 1450532 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482868 1482868 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819296 819296 0 0.0
RAM 127608 127608 0 0.0
lock-app qpg6200+debug FLASH 756628 756628 0 0.0
RAM 118560 118560 0 0.0
stm32 light STM32WB5MM-DK FLASH 466276 466276 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 703758 703758 0 0.0
RAM 93552 93552 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795550 795550 0 0.0
RAM 43968 43968 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783956 783956 0 0.0
RAM 100856 100856 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711550 711550 0 0.0
RAM 54188 54188 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748144 748144 0 0.0
RAM 77344 77344 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724870 724870 0 0.0
RAM 36944 36944 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604898 604898 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819560 819564 4 0.0
RAM 99108 99108 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767192 1767192 0 0.0
RAM 92108 92108 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21106682 21106682 0 0.0
RAM 9181152 9181152 0 0.0

Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.89%. Comparing base (b07cc9d) to head (f5f40a1).
⚠️ Report is 63 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #40238   +/-   ##
=======================================
  Coverage   50.89%   50.89%           
=======================================
  Files        1341     1341           
  Lines       98435    98435           
  Branches    12724    12724           
=======================================
  Hits        50094    50094           
  Misses      48341    48341           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Aug 8, 2025

PR #40238: Size comparison from b07cc9d to f5f40a1

Full report (57 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section b07cc9d f5f40a1 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104636 1104636 0 0.0
RAM 179066 179066 0 0.0
bl702 lighting-app bl702+eth FLASH 657270 657270 0 0.0
RAM 134929 134929 0 0.0
bl702+wifi FLASH 835062 835062 0 0.0
RAM 124541 124541 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066976 1066976 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896158 896158 0 0.0
RAM 105652 105652 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979872 979872 0 0.0
RAM 109828 109828 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 766632 766632 0 0.0
RAM 103328 103328 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 778228 778228 0 0.0
RAM 108496 108496 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 723832 723832 0 0.0
RAM 96892 96892 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 708188 708188 0 0.0
RAM 97100 97100 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 550586 550586 0 0.0
RAM 205080 205080 0 0.0
lock CC3235SF_LAUNCHXL FLASH 582942 582942 0 0.0
RAM 205296 205296 0 0.0
efr32 lock-app BRD4187C FLASH 957920 957920 0 0.0
RAM 126512 126512 0 0.0
BRD4338a FLASH 752336 752336 0 0.0
RAM 251856 251856 0 0.0
window-app BRD4187C FLASH 1050220 1050220 0 0.0
RAM 122708 122708 0 0.0
esp32 all-clusters-app c3devkit DRAM 102288 102288 0 0.0
FLASH 1750406 1750406 0 0.0
IRAM 83862 83862 0 0.0
m5stack DRAM 121156 121156 0 0.0
FLASH 1698870 1698870 0 0.0
IRAM 117051 117051 0 0.0
linux air-purifier-app debug unknown 4864 4864 0 0.0
FLASH 2588242 2588242 0 0.0
RAM 116664 116664 0 0.0
all-clusters-app debug unknown 5688 5688 0 0.0
FLASH 5977460 5977460 0 0.0
RAM 534696 534696 0 0.0
all-clusters-minimal-app debug unknown 5536 5536 0 0.0
FLASH 5203746 5203746 0 0.0
RAM 227944 227944 0 0.0
bridge-app debug unknown 5568 5568 0 0.0
FLASH 4590144 4590144 0 0.0
RAM 208304 208304 0 0.0
camera-app debug unknown 8992 8992 0 0.0
FLASH 6791979 6791979 0 0.0
RAM 231872 231872 0 0.0
camera-controller debug unknown 9216 9216 0 0.0
FLASH 13644715 13644715 0 0.0
RAM 668960 668960 0 0.0
chip-tool debug unknown 6264 6264 0 0.0
FLASH 13694091 13694091 0 0.0
RAM 655880 655880 0 0.0
chip-tool-ipv6only arm64 unknown 40736 40736 0 0.0
FLASH 12721239 12721239 0 0.0
RAM 690840 690840 0 0.0
closure-app debug unknown 5536 5536 0 0.0
FLASH 4571918 4571918 0 0.0
RAM 200216 200216 0 0.0
fabric-admin debug unknown 5944 5944 0 0.0
FLASH 12038864 12038864 0 0.0
RAM 654888 654888 0 0.0
fabric-bridge-app debug unknown 4816 4816 0 0.0
FLASH 4389056 4389056 0 0.0
RAM 193968 193968 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5474917 5474917 0 0.0
RAM 493760 493760 0 0.0
lighting-app debug+rpc+ui unknown 6280 6280 0 0.0
FLASH 5476193 5476193 0 0.0
RAM 209616 209616 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4618858 4618858 0 0.0
RAM 196760 196760 0 0.0
ota-provider-app debug unknown 4856 4856 0 0.0
FLASH 4247732 4247732 0 0.0
RAM 185424 185424 0 0.0
ota-requestor-app debug unknown 4736 4736 0 0.0
FLASH 4310944 4310944 0 0.0
RAM 188248 188248 0 0.0
shell debug unknown 4312 4312 0 0.0
FLASH 2932179 2932179 0 0.0
RAM 148504 148504 0 0.0
thermostat-no-ble arm64 unknown 9976 9976 0 0.0
FLASH 4226495 4226495 0 0.0
RAM 226464 226464 0 0.0
tv-app debug unknown 5824 5824 0 0.0
FLASH 5803237 5803237 0 0.0
RAM 618104 618104 0 0.0
tv-casting-app debug unknown 5352 5352 0 0.0
FLASH 11831541 11831541 0 0.0
RAM 772432 772432 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909772 909772 0 0.0
RAM 152832 152832 0 0.0
nxp contact mcxw71+release FLASH 630440 630440 0 0.0
RAM 64084 64084 0 0.0
lock mcxw71+release FLASH 740632 740632 0 0.0
RAM 65168 65168 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1657828 1657828 0 0.0
RAM 211144 211144 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1579428 1579428 0 0.0
RAM 208416 208416 0 0.0
light cy8ckit_062s2_43012 FLASH 1450532 1450532 0 0.0
RAM 197144 197144 0 0.0
lock cy8ckit_062s2_43012 FLASH 1482868 1482868 0 0.0
RAM 224856 224856 0 0.0
qpg lighting-app qpg6200+debug FLASH 819296 819296 0 0.0
RAM 127608 127608 0 0.0
lock-app qpg6200+debug FLASH 756628 756628 0 0.0
RAM 118560 118560 0 0.0
stm32 light STM32WB5MM-DK FLASH 466276 466276 0 0.0
RAM 141336 141336 0 0.0
telink bridge-app tl7218x FLASH 703758 703758 0 0.0
RAM 93552 93552 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795550 795550 0 0.0
RAM 43968 43968 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783956 783956 0 0.0
RAM 100856 100856 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 711550 711550 0 0.0
RAM 54188 54188 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 748144 748144 0 0.0
RAM 77344 77344 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724870 724870 0 0.0
RAM 36944 36944 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604898 604898 0 0.0
RAM 112512 112512 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819560 819564 4 0.0
RAM 99108 99108 0 0.0
tizen all-clusters-app arm unknown 5184 5184 0 0.0
FLASH 1767192 1767192 0 0.0
RAM 92108 92108 0 0.0
chip-tool-ubsan arm unknown 20772 20772 0 0.0
FLASH 21106682 21106682 0 0.0
RAM 9181152 9181152 0 0.0

@cecille cecille added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Aug 15, 2025
@mergify mergify bot merged commit 2eb5206 into project-chip:master Aug 15, 2025
83 of 86 checks passed
dsavitsky-dsr pushed a commit to dsavitsky-dsr/connectedhomeip that referenced this pull request Aug 19, 2025
…st method (project-chip#40238)

* Rebasing changes from master into TC_ACL_2_8_Update and squashing commits

Adding support for flag forceLegacyListEncoding, useful when writing Attributes with Legacy Write Request

Combining prior commits into one im order to merge latest changes

WIP: Example of forcing old Write Encoding

fixing typehint

Update TC_ACL_2_3.py

- Added force_legacy_encoding parameter to TC_ACL_2_3 test

- Added support for controlling the forceLegacyListEncoding parameter in the TC_ACL_2_3 test through the existing --bool-arg CLI infrastructure. The parameter defaults to True if not specified and can be set via: --bool-arg force_legacy_encoding:false

- This allows testing both legacy and non-legacy list encoding behaviors through the test runner.

Update TC_ACL_2_3.py

Changed expected result for test step 18, as the result should be D_OK_EMPTY if forced legacy encoding, otherwise it should be D_OK_FULL if using the new encoding

restyle

Updated TC_ACL_2_3 test module:
- Changing to establishing a new local function to contain test code
- Running the new local function from the main test function, changing the bool value for the force_legacy_encoding var between iterations

Restyled by autopep8

clang-tidy fixes: use make_unique to create unique_ptrs

making forceLegacyListEncoding default to False

Updating TC_ACL_2_8 python3 test module:
- Added legacy mode rerun loop to verify that the test will work for both the new and legacy list write methods.
- Added test step 11 to show that the test will be rerun after the new list method has completed.
- Added resetting the fabrics inbetween the loops of running the new and legacy write list test runs.
- This is for easier review of modified ACL_2_6 test module for override PR here: [38693](project-chip#38693)
- Test Plan PR Link: *To be added*

Restoring minor changes noticed during rebase

* Update TC_ACL_2_3.py

* Update TC_ACL_2_3.py

* Stylizer fixes applied

* Resolving linting error

* Combining teardown th logic between tests into an async function as suggested by Gemini AI

* Refactor test steps 9 and 10 in TC_ACL_2_8 to remove code duplication and improve maintainability:

- Unified event extraction and verification logic for both legacy and new encoding modes
- Always verify the initial 'added' event outside the encoding-specific logic
- Consolidated fabricIndex checks into a single loop for all relevant events
- Improved readability and maintainability by reducing duplicated code in steps 9 (TH1) and 10 (TH2)

* Re-adding test step 11

* Restyled by autopep8

* Updating verbiage for expected results for test steps 9 and 10

---------

Co-authored-by: Alami-Amine <aalami90@gmail.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants