Skip to content

Conversation

Alami-Amine
Copy link
Contributor

@Alami-Amine Alami-Amine commented Apr 4, 2025

Modifying how ACL (and Extensions) Attribute is written: making it use a non-empty initial ReplaceAll list.

Cause of Issue

  • Basically, The issue is related to how Clients Encode Attribute Lists (not only ACLs) into WriteRequests.
  • ReplaceAll List Operation: Currently, an Empty List is always Encoded first, This triggers a clearing of all Entries on the server side.
  • AppendItem List Operation Followed by all the Items that are meant to be written; Those Items are Appended one by one on the Server's side.
  • If an ACL Entry is malformed, we would have already cleared out all ACL entries, before Validating that ACL is malformed, and thus staying with incomplete or no ACLs.

The Fix

  1. Modify how the WriteClient Encodes an ACL List
  2. Instead of Encoding and sending an Empty Initial List (the ReplaceAll list that used to clear all List Entries), and then following it up with Items sent seperately.
  3. We will now encode the maximum number of items possible into the initial ReplaceAll List, and will only chunk if needed.
  4. Added a Check in ACL Cluster Server that all List Entries in that initial ReplaceAll list are valid, before starting to Update or Delete any Entries.

Scope of Fix

  • The main two methods impacted are:
    1. WriteClient::EncodeAttribute(): used by Linux-based WriteClients
    2. WriteClient::PutPreencodedAttribute(): used by Python and Android WriteClients

Testing

  • Modified ACL-based YAML Tests
  • Tested Manually against All-Clusters and TV-App from Matter 1.0.2
  • Added Unit Test Cases related to this Exception (TestWriteChunking)
    • Added TestCases to the integration test AccessControlCluster.yaml

Copy link

github-actions bot commented Apr 4, 2025

PR #38263: Size comparison from 2a9cb23 to 6eb1bb6

Increases above 0.2%:

platform target config section 2a9cb23 6eb1bb6 change % change
linux camera-controller debug FLASH 13679227 13836731 157504 1.2
chip-tool debug FLASH 14067609 14224951 157342 1.1
chip-tool-ipv6only arm64 FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug FLASH 12213111 12370451 157340 1.3
tv-casting-app debug FLASH 12226525 12384253 157728 1.3
tizen chip-tool-ubsan arm FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9
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 2a9cb23 6eb1bb6 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098436 1098434 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653106 653360 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830362 830360 -2 -0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063120 1063118 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893922 893920 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976542 976796 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818364 818436 72 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827244 827316 72 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774176 774264 88 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758468 758540 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541878 541966 88 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575898 575986 88 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 659909 659997 88 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636701 636789 88 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620157 620237 80 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639629 639717 88 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615993 616081 88 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 940864 940928 64 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 734872 734936 64 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033224 1033288 64 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785130 1785216 86 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1751762 1751862 100 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720323 2720809 486 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6190426 6190912 486 0.0
RAM 530312 530312 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376074 5376560 486 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689134 4689620 486 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 8720 8720 0 0.0
FLASH 6533035 6533515 480 0.0
RAM 222104 222104 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13679227 13836731 157504 1.2
RAM 644040 644040 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14067609 14224951 157342 1.1
RAM 634096 634096 0 0.0
chip-tool-ipv6only arm64 unknown 22816 22816 0 0.0
FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12213111 12370451 157340 1.3
RAM 633456 633456 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4520944 4521430 486 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5659381 5659861 480 0.0
RAM 485320 485320 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584641 5585137 496 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4756786 4757272 486 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4378974 4379460 486 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509290 4509776 486 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005340 3005820 480 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197732 4198068 336 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5996261 5999861 3600 0.1
RAM 608736 608736 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12226525 12384253 157728 1.3
RAM 752048 752048 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916036 916108 72 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909028 909104 76 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852544 852616 72 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588480 588560 80 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 606944 607024 80 0.0
RAM 63152 63152 0 0.0
light k32w0+release FLASH 614300 614380 80 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691104 691184 80 0.0
RAM 72000 72000 0 0.0
lock mcxw71+release FLASH 756160 756240 80 0.0
RAM 67564 67564 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661236 1661316 80 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565380 1565460 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442348 1442428 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471204 1471284 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 664988 665060 72 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623400 623480 80 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461024 461112 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 665912 666008 96 0.0
689038 689134 96 0.0
RAM 90704 90704 0 0.0
101852 101852 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777040 777136 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767302 767398 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755762 755858 96 0.0
783676 783772 96 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 682778 682874 96 0.0
704890 704986 96 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711228 711324 96 0.0
741072 741168 96 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 708774 708870 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603322 603418 96 0.0
602896 602992 96 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790752 790852 100 0.0
818282 818382 100 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784244 1784452 208 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11836 11836 0 0.0
FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9

Copy link
Contributor

@cecille cecille left a comment

Choose a reason for hiding this comment

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

I looked mostly through the test portion and only skimmed the write interaction. Tests look correct with a minor comment re: disabling test steps. @andreilitvin - I think you're familiar with the write client. If you are OK with that, we could call this a google tag-team and checkmark it.

Copy link

github-actions bot commented Apr 6, 2025

PR #38263: Size comparison from f20194e to 055af80

Increases above 0.2%:

platform target config section f20194e 055af80 change % change
linux camera-controller debug FLASH 13679227 13836731 157504 1.2
chip-tool debug FLASH 14067609 14224951 157342 1.1
chip-tool-ipv6only arm64 FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug FLASH 12213111 12370451 157340 1.3
tv-casting-app debug FLASH 12226525 12384253 157728 1.3
tizen chip-tool-ubsan arm FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9
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 f20194e 055af80 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098438 1098436 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653106 653360 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830362 830360 -2 -0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063122 1063120 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893924 893922 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976544 976798 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818364 818436 72 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827244 827316 72 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774176 774264 88 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758468 758540 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541878 541966 88 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575898 575986 88 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 659909 659997 88 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636701 636789 88 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620157 620237 80 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639629 639717 88 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615993 616081 88 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 940864 940928 64 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 734872 734936 64 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033224 1033288 64 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785130 1785216 86 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1751762 1751862 100 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720323 2720809 486 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6190426 6190912 486 0.0
RAM 530312 530312 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376074 5376560 486 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689134 4689620 486 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 8720 8720 0 0.0
FLASH 6533035 6533515 480 0.0
RAM 222104 222104 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13679227 13836731 157504 1.2
RAM 644040 644040 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14067609 14224951 157342 1.1
RAM 634096 634096 0 0.0
chip-tool-ipv6only arm64 unknown 22816 22816 0 0.0
FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12213111 12370451 157340 1.3
RAM 633456 633456 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4520944 4521430 486 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5659381 5659861 480 0.0
RAM 485320 485320 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584641 5585137 496 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4756786 4757272 486 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4378974 4379460 486 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509290 4509776 486 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005340 3005820 480 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197732 4198068 336 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5996261 5999861 3600 0.1
RAM 608736 608736 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12226525 12384253 157728 1.3
RAM 752048 752048 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916036 916108 72 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909028 909104 76 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852544 852616 72 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588480 588560 80 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 606944 607024 80 0.0
RAM 63152 63152 0 0.0
light k32w0+release FLASH 614300 614380 80 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691104 691184 80 0.0
RAM 72000 72000 0 0.0
lock mcxw71+release FLASH 756160 756240 80 0.0
RAM 67564 67564 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661236 1661316 80 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565380 1565460 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442348 1442428 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471204 1471284 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 664988 665060 72 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623400 623480 80 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461024 461112 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 689038 689134 96 0.0
RAM 101852 101852 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777040 777136 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767302 767398 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783676 755858 -27818 -3.5
RAM 109308 97540 -11768 -10.8
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 704890 682874 -22016 -3.1
RAM 62620 51588 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 741072 711324 -29748 -4.0
RAM 85808 73408 -12400 -14.5
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 708774 708870 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602896 602992 96 0.0
RAM 148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 818282 818382 100 0.0
RAM 107568 107568 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784244 1784452 208 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11836 11836 0 0.0
FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9

Copy link

github-actions bot commented Apr 6, 2025

PR #38263: Size comparison from f20194e to c5d6fa2

Increases above 0.2%:

platform target config section f20194e c5d6fa2 change % change
linux camera-controller debug FLASH 13679227 13836731 157504 1.2
chip-tool debug FLASH 14067609 14224951 157342 1.1
chip-tool-ipv6only arm64 FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug FLASH 12213111 12370451 157340 1.3
tv-casting-app debug FLASH 12226525 12384253 157728 1.3
tizen chip-tool-ubsan arm FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9
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 f20194e c5d6fa2 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098438 1098436 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653106 653360 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830362 830360 -2 -0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063122 1063120 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893924 893922 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976544 976798 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818364 818436 72 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827244 827316 72 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774176 774264 88 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758468 758540 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541878 541966 88 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575898 575986 88 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 659909 659997 88 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 679769 679849 80 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636701 636789 88 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620157 620237 80 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639801 639881 80 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639629 639717 88 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659353 659433 80 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615993 616081 88 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635853 635933 80 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 940864 940928 64 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 734872 734936 64 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033224 1033288 64 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785130 1785216 86 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1751762 1751862 100 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720323 2720809 486 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6190426 6190912 486 0.0
RAM 530312 530312 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376074 5376560 486 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689134 4689620 486 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 8720 8720 0 0.0
FLASH 6533035 6533515 480 0.0
RAM 222104 222104 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13679227 13836731 157504 1.2
RAM 644040 644040 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14067609 14224951 157342 1.1
RAM 634096 634096 0 0.0
chip-tool-ipv6only arm64 unknown 22816 22816 0 0.0
FLASH 12155176 12283624 128448 1.1
RAM 686728 689056 2328 0.3
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12213111 12370451 157340 1.3
RAM 633456 633456 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4520944 4521430 486 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5659381 5659861 480 0.0
RAM 485320 485320 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584641 5585137 496 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4756786 4757272 486 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4378974 4379460 486 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509290 4509776 486 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005340 3005820 480 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197732 4198068 336 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5996261 5999861 3600 0.1
RAM 608736 608736 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12226525 12384253 157728 1.3
RAM 752048 752048 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916036 916108 72 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909028 909104 76 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852544 852616 72 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588480 588560 80 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 606944 607024 80 0.0
RAM 63152 63152 0 0.0
light k32w0+release FLASH 614300 614380 80 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691104 691184 80 0.0
RAM 72000 72000 0 0.0
lock mcxw71+release FLASH 756160 756240 80 0.0
RAM 67564 67564 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661236 1661316 80 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565380 1565460 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442348 1442428 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471204 1471284 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 664988 665060 72 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623400 623480 80 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461024 461112 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 665912 666008 96 0.0
689038 689134 96 0.0
RAM 90704 90704 0 0.0
101852 101852 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777040 777136 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767302 767398 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755762 755858 96 0.0
783676 783772 96 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 682778 682874 96 0.0
704890 704986 96 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711228 711324 96 0.0
741072 741168 96 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 708774 708870 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603322 603418 96 0.0
602896 602992 96 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790752 790852 100 0.0
818282 818382 100 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784244 1784452 208 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11836 11836 0 0.0
FLASH 20054942 20251094 196152 1.0
RAM 8791428 8866444 75016 0.9

@Alami-Amine Alami-Amine added the Alternate SDK Impact This is a change that likely significantly impacts all Matter stacks, including non-reference impl. label Apr 7, 2025
Copy link

github-actions bot commented Apr 17, 2025

PR #38263: Size comparison from c0a7934 to 9feb584

Increases above 0.2%:

platform target config section c0a7934 9feb584 change % change
tizen chip-tool-ubsan arm FLASH 20198334 20380758 182424 0.9
RAM 8809700 8882508 72808 0.8
Full report (46 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, nrfconnect, psoc6, qpg, stm32, telink, tizen)
platform target config section c0a7934 9feb584 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098926 1098924 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653586 653840 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830838 831092 254 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063618 1063616 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894506 894504 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 977038 977292 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818708 818796 88 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827668 827756 88 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774728 774800 72 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 759028 759100 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 542378 542474 96 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576366 576438 72 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660693 660773 80 0.0
RAM 77260 77260 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637477 637557 80 0.0
RAM 72328 72328 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620773 620853 80 0.0
RAM 73508 73508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 640213 640301 88 0.0
RAM 76508 76508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616617 616697 80 0.0
RAM 70596 70596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917244 917312 68 0.0
RAM 167469 167469 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909720 909780 60 0.0
RAM 145713 145713 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 853768 853840 72 0.0
RAM 141223 141223 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1662060 1662140 80 0.0
RAM 212352 212352 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1566316 1566396 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442612 1442692 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471388 1471468 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665740 665820 80 0.0
RAM 105188 105188 0 0.0
lock-app qpg6105+debug FLASH 624024 624104 80 0.0
RAM 99816 99816 0 0.0
stm32 light STM32WB5MM-DK FLASH 461424 461512 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 672932 673028 96 0.0
696050 696146 96 0.0
RAM 90712 90712 0 0.0
101860 101860 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777866 777962 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 768128 768224 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 756588 756684 96 0.0
784502 784598 96 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 683618 683714 96 0.0
705728 705824 96 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 712068 712164 96 0.0
741910 742006 96 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 709614 709710 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604092 604188 96 0.0
603630 603726 96 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 791586 791686 100 0.0
819116 819216 100 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5164 5164 0 0.0
FLASH 1801132 1801340 208 0.0
RAM 94528 94528 0 0.0
chip-tool-ubsan arm unknown 20272 20272 0 0.0
FLASH 20198334 20380758 182424 0.9
RAM 8809700 8882508 72808 0.8

Copy link

github-actions bot commented Apr 17, 2025

PR #38263: Size comparison from c0a7934 to ddf5138

Increases above 0.2%:

platform target config section c0a7934 ddf5138 change % change
linux camera-controller debug FLASH 13751131 13889451 138320 1.0
chip-tool debug FLASH 14178353 14316511 138158 1.0
chip-tool-ipv6only arm64 FLASH 12240128 12349232 109104 0.9
RAM 680368 682720 2352 0.3
fabric-admin debug FLASH 12277135 12415293 138158 1.1
tv-casting-app debug FLASH 12343709 12482285 138576 1.1
tizen chip-tool-ubsan arm FLASH 20198334 20380614 182280 0.9
RAM 8809700 8882444 72744 0.8
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 c0a7934 ddf5138 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098926 1098924 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653586 653840 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830838 831092 254 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063618 1063616 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894506 894504 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 977038 977292 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818708 818796 88 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827668 827756 88 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774728 774800 72 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 759028 759100 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 542378 542474 96 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576366 576438 72 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660693 660773 80 0.0
RAM 77260 77260 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637477 637557 80 0.0
RAM 72328 72328 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620773 620853 80 0.0
RAM 73508 73508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 640213 640301 88 0.0
RAM 76508 76508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616617 616697 80 0.0
RAM 70596 70596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
efr32 lock-app BRD4187C FLASH 941280 941376 96 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 735128 735200 72 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033568 1033632 64 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103408 103408 0 0.0
FLASH 1799326 1799412 86 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121980 121980 0 0.0
FLASH 1764966 1765030 64 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2749157 2749643 486 0.0
RAM 114264 114264 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6290122 6290608 486 0.0
RAM 532400 532400 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5419310 5419796 486 0.0
RAM 224528 224528 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4719150 4719636 486 0.0
RAM 202880 202880 0 0.0
camera-app debug unknown 8832 8832 0 0.0
FLASH 6787147 6787627 480 0.0
RAM 225200 225200 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13751131 13889451 138320 1.0
RAM 646352 646352 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14178353 14316511 138158 1.0
RAM 636544 636544 0 0.0
chip-tool-ipv6only arm64 unknown 39696 39696 0 0.0
FLASH 12240128 12349232 109104 0.9
RAM 680368 682720 2352 0.3
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12277135 12415293 138158 1.1
RAM 635904 635904 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4549914 4550400 486 0.0
RAM 190160 190160 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5689541 5690021 480 0.0
RAM 486664 486664 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5616465 5616945 480 0.0
RAM 207144 207144 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4787710 4788196 486 0.0
RAM 194272 194272 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4407364 4407850 486 0.0
RAM 182992 182992 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4539704 4540190 486 0.0
RAM 187464 187464 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3054796 3055292 496 0.0
RAM 147824 147824 0 0.0
thermostat-no-ble arm64 unknown 9560 9560 0 0.0
FLASH 4206168 4206504 336 0.0
RAM 230856 230856 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6033749 6036613 2864 0.0
RAM 610080 610080 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12343709 12482285 138576 1.1
RAM 754464 754464 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917244 917312 68 0.0
RAM 167469 167469 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909720 909780 60 0.0
RAM 145713 145713 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 853768 853840 72 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 589176 589256 80 0.0
RAM 72836 72836 0 0.0
mcxw71+release FLASH 607480 607568 88 0.0
RAM 63152 63152 0 0.0
light k32w0+release FLASH 614948 615028 80 0.0
RAM 72132 72132 0 0.0
k32w1+release FLASH 691584 691656 72 0.0
RAM 72000 72000 0 0.0
lock mcxw71+release FLASH 756592 756680 88 0.0
RAM 67564 67564 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1662060 1662140 80 0.0
RAM 212352 212352 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1566316 1566396 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442612 1442692 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471388 1471468 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665740 665820 80 0.0
RAM 105188 105188 0 0.0
lock-app qpg6105+debug FLASH 624024 624104 80 0.0
RAM 99816 99816 0 0.0
stm32 light STM32WB5MM-DK FLASH 461424 461512 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 696050 673028 -23022 -3.3
RAM 101860 90712 -11148 -10.9
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777866 777962 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 768128 768224 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 784502 756684 -27818 -3.5
RAM 109308 97540 -11768 -10.8
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 705728 683714 -22014 -3.1
RAM 62620 51588 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 741910 712164 -29746 -4.0
RAM 85808 73408 -12400 -14.5
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 709614 709710 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603630 603726 96 0.0
RAM 148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819116 791686 -27430 -3.3
RAM 107568 96396 -11172 -10.4
tizen all-clusters-app arm unknown 5164 5164 0 0.0
FLASH 1801132 1801340 208 0.0
RAM 94528 94528 0 0.0
chip-tool-ubsan arm unknown 20272 20272 0 0.0
FLASH 20198334 20380614 182280 0.9
RAM 8809700 8882444 72744 0.8

Copy link

github-actions bot commented Apr 17, 2025

PR #38263: Size comparison from c0a7934 to 5d7908f

Increases above 0.2%:

platform target config section c0a7934 5d7908f change % change
linux camera-controller debug FLASH 13751131 13889963 138832 1.0
chip-tool debug FLASH 14178353 14317033 138680 1.0
chip-tool-ipv6only arm64 FLASH 12240128 12349568 109440 0.9
RAM 680368 682720 2352 0.3
fabric-admin debug FLASH 12277135 12415815 138680 1.1
tv-casting-app debug FLASH 12343709 12482813 139104 1.1
tizen chip-tool-ubsan arm FLASH 20198334 20381086 182752 0.9
RAM 8809700 8882592 72892 0.8
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 c0a7934 5d7908f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098926 1098924 -2 -0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653586 653840 254 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830838 831092 254 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063618 1063616 -2 -0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 894506 894504 -2 -0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 977038 977292 254 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818708 818796 88 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827668 827756 88 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774728 774800 72 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 759028 759100 72 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 542378 542474 96 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576366 576438 72 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660693 660773 80 0.0
RAM 77260 77260 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680545 680633 88 0.0
RAM 79900 79900 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637477 637557 80 0.0
RAM 72328 72328 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620773 620853 80 0.0
RAM 73508 73508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640409 640489 80 0.0
RAM 76052 76052 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 640213 640301 88 0.0
RAM 76508 76508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659937 660017 80 0.0
RAM 79052 79052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616617 616697 80 0.0
RAM 70596 70596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636469 636557 88 0.0
RAM 73236 73236 0 0.0
efr32 lock-app BRD4187C FLASH 941280 942008 728 0.1
RAM 159944 132008 -27936 -17.5
BRD4338a FLASH 735128 735864 736 0.1
RAM 234852 206916 -27936 -11.9
window-app BRD4187C FLASH 1033568 1033632 64 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103408 103408 0 0.0
FLASH 1799326 1799412 86 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121980 121980 0 0.0
FLASH 1764966 1765030 64 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2749157 2749643 486 0.0
RAM 114264 114264 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6290122 6290608 486 0.0
RAM 532400 532400 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5419310 5419796 486 0.0
RAM 224528 224528 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4719150 4719636 486 0.0
RAM 202880 202880 0 0.0
camera-app debug unknown 8832 8832 0 0.0
FLASH 6787147 6787627 480 0.0
RAM 225200 225200 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13751131 13889963 138832 1.0
RAM 646352 646352 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14178353 14317033 138680 1.0
RAM 636544 636544 0 0.0
chip-tool-ipv6only arm64 unknown 39696 39696 0 0.0
FLASH 12240128 12349568 109440 0.9
RAM 680368 682720 2352 0.3
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12277135 12415815 138680 1.1
RAM 635904 635904 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4549914 4550400 486 0.0
RAM 190160 190160 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5689541 5690021 480 0.0
RAM 486664 486664 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5616465 5616945 480 0.0
RAM 207144 207144 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4787710 4788196 486 0.0
RAM 194272 194272 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4407364 4407850 486 0.0
RAM 182992 182992 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4539704 4540190 486 0.0
RAM 187464 187464 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3054796 3055292 496 0.0
RAM 147824 147824 0 0.0
thermostat-no-ble arm64 unknown 9560 9560 0 0.0
FLASH 4206168 4206504 336 0.0
RAM 230856 230856 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6033749 6037125 3376 0.1
RAM 610080 610080 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12343709 12482813 139104 1.1
RAM 754464 754464 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917244 917312 68 0.0
RAM 167469 167469 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909720 909780 60 0.0
RAM 145713 145713 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 853768 853840 72 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 589176 589256 80 0.0
RAM 72836 72836 0 0.0
mcxw71+release FLASH 607480 607568 88 0.0
RAM 63152 63152 0 0.0
light k32w0+release FLASH 614948 615028 80 0.0
RAM 72132 72132 0 0.0
k32w1+release FLASH 691584 691656 72 0.0
RAM 72000 72000 0 0.0
lock mcxw71+release FLASH 756592 756680 88 0.0
RAM 67564 67564 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1662060 1662140 80 0.0
RAM 212352 212352 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1566316 1566396 80 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442612 1442692 80 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471388 1471468 80 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665740 665820 80 0.0
RAM 105188 105188 0 0.0
lock-app qpg6105+debug FLASH 624024 624104 80 0.0
RAM 99816 99816 0 0.0
stm32 light STM32WB5MM-DK FLASH 461424 461512 88 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 672932 673028 96 0.0
696050 696146 96 0.0
RAM 90712 90712 0 0.0
101860 101860 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777866 777962 96 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 768128 768224 96 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 756588 756684 96 0.0
784502 784598 96 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 683618 683714 96 0.0
705728 705824 96 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 712068 712164 96 0.0
741910 742006 96 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 709614 709710 96 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 604092 604188 96 0.0
603630 603726 96 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 791586 791686 100 0.0
819116 819216 100 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5164 5164 0 0.0
FLASH 1801132 1801340 208 0.0
RAM 94528 94528 0 0.0
chip-tool-ubsan arm unknown 20272 20272 0 0.0
FLASH 20198334 20381086 182752 0.9
RAM 8809700 8882592 72892 0.8

@mergify mergify bot merged commit 1b3fdec into project-chip:master Apr 17, 2025
73 checks passed
j-ororke added a commit to j-ororke/connectedhomeip that referenced this pull request Apr 17, 2025
- Following test steps mentioned in test plan PR #[5061](CHIP-Specifications/chip-test-plans#5061) from Amine
- Using base branch of PR #[38263](project-chip#38263)
Apollon77 added a commit to matter-js/matter.js that referenced this pull request Apr 18, 2025
... until we adjust for test excluded till we adjusted for project-chip/connectedhomeip#38263

(which is Matter 1.5 anyway)
mergify bot pushed a commit to matter-js/matter.js that referenced this pull request Apr 18, 2025
* Patch/Exclude some ACL tests

... until we adjust for test excluded till we adjusted for project-chip/connectedhomeip#38263

(which is Matter 1.5 anyway)

* ok needs more excludes

* ok needs more excludes

* ok needs more excludes

* ok needs more excludes

* ok needs more excludes

* ok needs more excludes

* ok adjustment to one OPSTATE test
j-ororke added a commit to j-ororke/connectedhomeip that referenced this pull request Apr 18, 2025
- Following test steps mentioned in test plan PR #[5061](CHIP-Specifications/chip-test-plans#5061) from Amine
- Using base branch of PR #[38263](project-chip#38263)
j-ororke added a commit to j-ororke/connectedhomeip that referenced this pull request Apr 19, 2025
- Adding python3 ACL_2_4 test module
- This uses base branch of Amine's PR project-chip#38263 to create this test module: This is a follow-up PR to that PR from Amine, once Amine's PR is merged this one can come out of WIP state.
j-ororke added a commit to j-ororke/connectedhomeip that referenced this pull request Apr 20, 2025
- Added TC_ACL_2_3 python3 test module
- This is a follow up PR to Amine's PR: project-chip#38263
- Removed Test_TC_ACL_2_3.yaml script
dsavitsky-dsr pushed a commit to popovdg/connectedhomeip that referenced this pull request Apr 22, 2025
…ssControl Cluster (project-chip#38263)

* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Clarifying AttributeDataIB Checkpoint

* adding Valid CAT values

* Integrating comments

* Add comments clarifying AttributeDataIB rollback

* Integrating comments again

* change method order

* integrating new comments

* revert change to IM Error Code return from AccessControl cluster

* changing constants use to reserveBuffer for TLV writing

* Integrating more Boris Comments

* removing state related to IsWriteRequestChunked

* Create TryToStartList that dynamically starts message in case of NO Memory
mergify bot pushed a commit that referenced this pull request Apr 24, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Testing removing one of the template functions

* WriteClient: Encoding as many items as possible into a single list as part of ReplaceAll item operation

* fixing failures

* Fix to Error Handling in User-Label Cluster: return RESOURCE_EXHAUSTED when the number of items in list exceeds kMaxUserLabelListLength

* chip-repl: support for preencoded attributes

* Fixing ACL 2.3 and 2.5

* Validating ACLs Upfront: This is done to make sure we reject the whole list if any of the entries within it are non conforming

* more yaml test changes

* Restyled by prettier-yaml

* Fix Unit Testing Cluster (Test Cluster Server) to process ReplaceAll operations

* fix PutPreencodedAttribute

* Cleaning code

* More Code Clean Up

* Unit Test Cleanup

* more cleanup

* Adding testcases to TestAccessControlCluster

* Fixing comments

* Making IsValid method in AccessControl Static

* Adding comments

* Make IsValid a member function of AccessControl::Entry

* Adding WriteClient class member mIsWriteRequestChunked

* making TestWriteChunkig more Robust

* Adding ACL_2_4 python3 test module:
- Adding python3 ACL_2_4 test module
- This uses base branch of Amine's PR #38263 to create this test module: This is a follow-up PR to that PR from Amine, once Amine's PR is merged this one can come out of WIP state.

* Restyled by autopep8

* Updating TC_ACL_2_4 python3 test module:
- Changing expect clause for test step 29

* Updating TC_ACL_2_4:
- Resolving linting errors

* Apply commit suggestions from code review from Amine

Updating to include commit suggestions to test steps and comments from @Alami-Amine. These suggestions made the code cleaner and more readable, thank you!

Co-authored-by: Amine Alami <[email protected]>

* Updating TC_ACL_2_4 python3 test module to resolve commits from Amine, making the code cleaner and better:
- Updating to change type of ID from "fabric-scoped node ID" with correct type "invalid Group Node ID"
- Updating test step 4 description to be more detailed.

* Restyled by autopep8

* Update src/python_testing/TC_ACL_2_4.py

Changing hex values for CAT1-CAT4 in test step 21 as suggested by Amine who gathered these from the test spec

Co-authored-by: Amine Alami <[email protected]>

* Updating TC_ACL_2_4 python3 test module:
- Replacing duplicate CAT4 value in test step 21 and replaced it with value from Amine that did not replicate CAT3's value

* Updating TC_ACL_2_4 test module:
- Updating to match test steps in test plan PR: CHIP-Specifications/chip-test-plans#5052

* Pulling in files from upstream master to make sure that everything is in sync

* Updating TC_ACL_2_4 python3 test module:
- Removing try except blocks
- Replacing self.print_step() with logging.info()

* Restyled by autopep8

* Updated TC_ACL_2_4 python3 test module:
- Added new test step method to step 29
- Updated test steps after test step 29 include the test step ordering
- Updated test 29 and 30 to include the correct verbiage for the definitions and expected results

* Updated TC_ACL_2_4 test module:
- Actually updated TC_ACL_2_4 python3 test module to correct expected results verbiage for test steps 32-44

* Restyled by autopep8

* Update src/python_testing/TC_ACL_2_4.py

Co-authored-by: Amine Alami <[email protected]>

* Removing Test_TC_ACL_2_4.yaml script

* Updating TC_ACL_2_4 python3 test module:
- Replaced enumerate blocks with asserts.assert_in() checks to verify that structs are read correctly throughout the test
- Removed some unneeded comments in the test module

* Restyled by autopep8

* Updating TC_ACL_2_4 python3 test module:
- Added in validation of admin entry only to end of test steps 32-44
- Removed duplicate validation of admin entry only in test step 31

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
mergify bot pushed a commit that referenced this pull request Apr 24, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Clarifying AttributeDataIB Checkpoint

* adding Valid CAT values

* Integrating comments

* Add comments clarifying AttributeDataIB rollback

* Integrating comments again

* change method order

* Creating ACL_2_6 python3 test module:
- Following test steps mentioned in test plan PR #[5061](CHIP-Specifications/chip-test-plans#5061) from Amine
- Using base branch of PR #[38263](#38263)

* Restyled by autopep8

* Restyled by isort

* Updating TC_ACL_2_6 python3 test module:
- Resolving linting errors
- Added additional checks for test step 3 and 5 to include struct validation

* Updated TC_ACL_2_6 python test module:
- Rebased branch with upstream master
- Changed to checking for 2 new elements during test step 5
- Changed print_step() to logging.info()

* Restyled by autopep8

* Updating to the upstream master branch version of WriteClient.cpp, WriteClient.h, Test_TC_ACL_2_5.yaml, and TestWriteChunking.cpp, to remove changes included in commit on this branch

* Update src/python_testing/TC_ACL_2_6.py

Co-authored-by: Amine Alami <[email protected]>

* Removing Test_TC_ACL_2_6 yaml script

* Updating TC_ACL_2_6 python3 test module:
- Updating endpoint to 0 for REPL Linux CI checks to pass as AccessControl cluster events are on endpoint 0

* Updating TC_ACL_2_6 python3 test module:
- Updating to using a simple for loop to validate the ReadEvent() response data
- Removed unneeded asyncio.wait() from prior debugging
- Created a short follow-up task PR to add subscription to this test module later

* Update TC_ACL_2_6.py

Resolving linting errros

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
mergify bot pushed a commit that referenced this pull request Apr 24, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Clarifying AttributeDataIB Checkpoint

* adding Valid CAT values

* Integrating comments

* Add comments clarifying AttributeDataIB rollback

* Integrating comments again

* change method order

* Creating ACL_2_3 python3 test module:
- Added TC_ACL_2_3 python3 test module
- This is a follow up PR to Amine's PR: #38263
- Removed Test_TC_ACL_2_3.yaml script

* Actually removing Test_TC_ACL_2_3.yaml script

* Resolving restylzer/autopep8 issue with script manually as provided CI patch failed

* Resolving linting errors

* Apply suggestions from Amine's code review

Co-authored-by: Amine Alami <[email protected]>

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
dsavitsky-dsr pushed a commit to popovdg/connectedhomeip that referenced this pull request Apr 29, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Testing removing one of the template functions

* WriteClient: Encoding as many items as possible into a single list as part of ReplaceAll item operation

* fixing failures

* Fix to Error Handling in User-Label Cluster: return RESOURCE_EXHAUSTED when the number of items in list exceeds kMaxUserLabelListLength

* chip-repl: support for preencoded attributes

* Fixing ACL 2.3 and 2.5

* Validating ACLs Upfront: This is done to make sure we reject the whole list if any of the entries within it are non conforming

* more yaml test changes

* Restyled by prettier-yaml

* Fix Unit Testing Cluster (Test Cluster Server) to process ReplaceAll operations

* fix PutPreencodedAttribute

* Cleaning code

* More Code Clean Up

* Unit Test Cleanup

* more cleanup

* Adding testcases to TestAccessControlCluster

* Fixing comments

* Making IsValid method in AccessControl Static

* Adding comments

* Make IsValid a member function of AccessControl::Entry

* Adding WriteClient class member mIsWriteRequestChunked

* making TestWriteChunkig more Robust

* Adding ACL_2_4 python3 test module:
- Adding python3 ACL_2_4 test module
- This uses base branch of Amine's PR project-chip#38263 to create this test module: This is a follow-up PR to that PR from Amine, once Amine's PR is merged this one can come out of WIP state.

* Restyled by autopep8

* Updating TC_ACL_2_4 python3 test module:
- Changing expect clause for test step 29

* Updating TC_ACL_2_4:
- Resolving linting errors

* Apply commit suggestions from code review from Amine

Updating to include commit suggestions to test steps and comments from @Alami-Amine. These suggestions made the code cleaner and more readable, thank you!

Co-authored-by: Amine Alami <[email protected]>

* Updating TC_ACL_2_4 python3 test module to resolve commits from Amine, making the code cleaner and better:
- Updating to change type of ID from "fabric-scoped node ID" with correct type "invalid Group Node ID"
- Updating test step 4 description to be more detailed.

* Restyled by autopep8

* Update src/python_testing/TC_ACL_2_4.py

Changing hex values for CAT1-CAT4 in test step 21 as suggested by Amine who gathered these from the test spec

Co-authored-by: Amine Alami <[email protected]>

* Updating TC_ACL_2_4 python3 test module:
- Replacing duplicate CAT4 value in test step 21 and replaced it with value from Amine that did not replicate CAT3's value

* Updating TC_ACL_2_4 test module:
- Updating to match test steps in test plan PR: https://github.com/CHIP-Specifications/chip-test-plans/pull/5052

* Pulling in files from upstream master to make sure that everything is in sync

* Updating TC_ACL_2_4 python3 test module:
- Removing try except blocks
- Replacing self.print_step() with logging.info()

* Restyled by autopep8

* Updated TC_ACL_2_4 python3 test module:
- Added new test step method to step 29
- Updated test steps after test step 29 include the test step ordering
- Updated test 29 and 30 to include the correct verbiage for the definitions and expected results

* Updated TC_ACL_2_4 test module:
- Actually updated TC_ACL_2_4 python3 test module to correct expected results verbiage for test steps 32-44

* Restyled by autopep8

* Update src/python_testing/TC_ACL_2_4.py

Co-authored-by: Amine Alami <[email protected]>

* Removing Test_TC_ACL_2_4.yaml script

* Updating TC_ACL_2_4 python3 test module:
- Replaced enumerate blocks with asserts.assert_in() checks to verify that structs are read correctly throughout the test
- Removed some unneeded comments in the test module

* Restyled by autopep8

* Updating TC_ACL_2_4 python3 test module:
- Added in validation of admin entry only to end of test steps 32-44
- Removed duplicate validation of admin entry only in test step 31

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
dsavitsky-dsr pushed a commit to popovdg/connectedhomeip that referenced this pull request Apr 29, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Clarifying AttributeDataIB Checkpoint

* adding Valid CAT values

* Integrating comments

* Add comments clarifying AttributeDataIB rollback

* Integrating comments again

* change method order

* Creating ACL_2_6 python3 test module:
- Following test steps mentioned in test plan PR #[5061](https://github.com/CHIP-Specifications/chip-test-plans/pull/5061) from Amine
- Using base branch of PR #[38263](project-chip#38263)

* Restyled by autopep8

* Restyled by isort

* Updating TC_ACL_2_6 python3 test module:
- Resolving linting errors
- Added additional checks for test step 3 and 5 to include struct validation

* Updated TC_ACL_2_6 python test module:
- Rebased branch with upstream master
- Changed to checking for 2 new elements during test step 5
- Changed print_step() to logging.info()

* Restyled by autopep8

* Updating to the upstream master branch version of WriteClient.cpp, WriteClient.h, Test_TC_ACL_2_5.yaml, and TestWriteChunking.cpp, to remove changes included in commit on this branch

* Update src/python_testing/TC_ACL_2_6.py

Co-authored-by: Amine Alami <[email protected]>

* Removing Test_TC_ACL_2_6 yaml script

* Updating TC_ACL_2_6 python3 test module:
- Updating endpoint to 0 for REPL Linux CI checks to pass as AccessControl cluster events are on endpoint 0

* Updating TC_ACL_2_6 python3 test module:
- Updating to using a simple for loop to validate the ReadEvent() response data
- Removed unneeded asyncio.wait() from prior debugging
- Created a short follow-up task PR to add subscription to this test module later

* Update TC_ACL_2_6.py

Resolving linting errros

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
dsavitsky-dsr pushed a commit to popovdg/connectedhomeip that referenced this pull request Apr 29, 2025
* Modifying how ACL Attribute is written: making it use a non-empty initial ReplaceAll list

* removing Test modifications on ACL Extensions

* adding reference to issue in TODO comment

* integrating comments

* integrating comments

* Revert "removing Test modifications on ACL Extensions"

This reverts commit 055af80.

* Clarifying AttributeDataIB Checkpoint

* adding Valid CAT values

* Integrating comments

* Add comments clarifying AttributeDataIB rollback

* Integrating comments again

* change method order

* Creating ACL_2_3 python3 test module:
- Added TC_ACL_2_3 python3 test module
- This is a follow up PR to Amine's PR: project-chip#38263
- Removed Test_TC_ACL_2_3.yaml script

* Actually removing Test_TC_ACL_2_3.yaml script

* Resolving restylzer/autopep8 issue with script manually as provided CI patch failed

* Resolving linting errors

* Apply suggestions from Amine's code review

Co-authored-by: Amine Alami <[email protected]>

---------

Co-authored-by: Alami-Amine <[email protected]>
Co-authored-by: Amine Alami <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Alternate SDK Impact This is a change that likely significantly impacts all Matter stacks, including non-reference impl. app controller review - approved tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants