Skip to content

Conversation

jtrejoespinoza-grid
Copy link
Contributor

@jtrejoespinoza-grid jtrejoespinoza-grid commented Sep 25, 2025

Summary

This PR contains the Proposal for the Software Update Base Class. This class will contain all the methods that are repeated across all the SU Test cases so we can improve the readability.

Related issues

Fixes: project-chip/matter-test-scripts#702

Testing

Integrate these changes into you branch and confirm you can use them. If not please propose new changes.

What should we add.

  • Methods or properties repeated across the test cases.
  • Actions that should be extended.
  • Properties that are can be tracked during the tests.
  • If a method is called similar and require a different behavior just add a condition to evaluate the required scenario.

How to use the SU_BaseClass.

import the class

from TC_SUTestBase import SoftwareUpdateBaseTest

In the class that will execute the test instead of extend from MatterBaseTest extend from SoftwareUpdateBaseTest.

To run the provider we need to provide some arguments to the test for example and start the provider using the method:

self.start_provider(

This method requiere at least to mandatory arguments:

  • provider_app_path
  • ota_image_path

The best way to add the provider app image is as an argument from the test as follow:
--string-arg provider_app_path: <path of the provider app image>

You can also provide the image path as argument in the test:
--string-arg ota_image:<ota_image_path>

In most of our test cases we will use only ota-image:
In the cases you need to use more than one ota image you need to manage them using arguments.
--string-arg: ota_image_step2:<ota_image_path>
--string-arg: ota_image_step3:<ota_image_path>

The same as expected version:
Expected version should be pass as an argument so the version is not attached to the code.
--int-arg: ota_image_step2_expected_version:3
--int-arg: ota_image_step3_expected_version:4

Full command example:

python3 src/python_testing/TC_SU_2_4.py --commissioning-method on-network --passcode 2123 --discriminator 123 --endpoint 0 --nodeId 123  --string-arg ota_image:/Users/jtrejoespinoza/workspace/github/connectedhomeip/chip-ota-requestor-app_v2.min.ota --int-arg ota_image_expected_version:2  --string-arg provider_app_path:/Users/jtrejoespinoza/workspace/github/connectedhomeip/out/debug/chip-ota-provider-app

Copy link

github-actions bot commented Sep 26, 2025

PR #41145: Size comparison from f8ebf92 to eea2150

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section f8ebf92 eea2150 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959776 959776 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755344 755344 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053620 1053620 0 0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102968 102968 0 0.0
FLASH 1777894 1777894 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916452 0 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1667716 0 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587380 0 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.01%. Comparing base (5ca0aad) to head (df18e3d).
⚠️ Report is 54 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #41145      +/-   ##
==========================================
+ Coverage   50.94%   51.01%   +0.07%     
==========================================
  Files        1378     1386       +8     
  Lines      100728   100982     +254     
  Branches    13065    13078      +13     
==========================================
+ Hits        51318    51520     +202     
- Misses      49410    49462      +52     

☔ 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.

@andy31415 andy31415 changed the title Su base class Software Update base class Sep 26, 2025
Copy link

github-actions bot commented Sep 26, 2025

PR #41145: Size comparison from f8ebf92 to 964ea15

Increases above 0.2%:

platform target config section f8ebf92 964ea15 change % change
esp32 all-clusters-app c3devkit FLASH 1777894 1785274 7380 0.4
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section f8ebf92 964ea15 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959776 959768 -8 -0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755344 755400 56 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053620 1053644 24 0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102968 102976 8 0.0
FLASH 1777894 1785274 7380 0.4
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916452 0 0.0
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1667716 0 0.0
RAM 213020 213020 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587380 0 0.0
RAM 210284 210284 0 0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454852 0 0.0
RAM 197008 197008 0 0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487164 0 0.0
RAM 224728 224728 0 0.0
qpg lighting-app qpg6200+debug FLASH 833744 833744 0 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704064 704064 0 0.0
RAM 106712 106712 0 0.0
lighting-app rtl8777g FLASH 755240 755240 0 0.0
RAM 127068 127068 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 107208 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

PR #41145: Size comparison from b00714d to 53be1b2

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section b00714d 53be1b2 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 916452 0 0.0
RAM 153332 153332 0 0.0
realtek light-switch-app rtl8777g FLASH 704072 704072 0 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755248 755248 0 0.0
RAM 127084 127084 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0

Copy link

github-actions bot commented Oct 1, 2025

PR #41145: Size comparison from b00714d to 83efdaa

Increases above 0.2%:

platform target config section b00714d 83efdaa change % change
telink lighting-app-ota-factory-data tlsr9118bdk40d RAM 107208 109464 2256 2.1
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section b00714d 83efdaa change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102968 -8 -0.0
FLASH 1785274 1785786 512 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 917360 908 0.1
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668860 1144 0.1
RAM 213020 213012 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587300 -80 -0.0
RAM 210284 210276 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454772 -80 -0.0
RAM 197008 197000 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487084 -80 -0.0
RAM 224728 224720 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 833744 833808 64 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704072 704072 0 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755248 755248 0 0.0
RAM 127084 127084 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 109464 2256 2.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

Copy link

github-actions bot commented Oct 1, 2025

PR #41145: Size comparison from b00714d to 0cf840f

Full report (22 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, psoc6, qpg, realtek, stm32)
platform target config section b00714d 0cf840f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 917360 908 0.1
RAM 153332 153332 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668860 1144 0.1
RAM 213020 213012 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587300 -80 -0.0
RAM 210284 210276 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454772 -80 -0.0
RAM 197008 197000 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487084 -80 -0.0
RAM 224728 224720 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 833744 833808 64 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704072 704072 0 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755248 755248 0 0.0
RAM 127084 127084 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0

Copy link

github-actions bot commented Oct 1, 2025

PR #41145: Size comparison from b00714d to bae956e

Increases above 0.2%:

platform target config section b00714d bae956e change % change
telink lighting-app-ota-factory-data tlsr9118bdk40d RAM 107208 109464 2256 2.1
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section b00714d bae956e change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1067858 0 0.0
RAM 117093 117093 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898078 0 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768092 0 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779712 0 0.0
RAM 108320 108320 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725708 0 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710176 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585630 0 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959768 0 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755400 0 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053644 -8 -0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102968 -8 -0.0
FLASH 1785274 1785786 512 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 917360 908 0.1
RAM 153332 153332 0 0.0
nxp contact mcxw71+release FLASH 690344 690344 0 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721904 0 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769000 0 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668860 1144 0.1
RAM 213020 213012 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587300 -80 -0.0
RAM 210284 210276 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454772 -80 -0.0
RAM 197008 197000 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487084 -80 -0.0
RAM 224728 224720 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 833744 833808 64 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770788 0 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704072 704072 0 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755248 755248 0 0.0
RAM 127084 127084 0 0.0
stm32 light STM32WB5MM-DK FLASH 467692 467692 0 0.0
RAM 141160 141160 0 0.0
telink bridge-app tl7218x FLASH 709980 709980 0 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797796 0 0.0
RAM 41772 41772 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789010 0 0.0
RAM 94408 94408 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715802 0 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749108 0 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 725948 0 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603222 0 0.0
RAM 107208 109464 2256 2.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821636 4 0.0
RAM 92804 92804 0 0.0

@r-recchia
Copy link
Contributor

Remove TC_SUBase.py from CI

Copy link

github-actions bot commented Oct 2, 2025

PR #41145: Size comparison from b00714d to 7640603

Increases above 0.2%:

platform target config section b00714d 7640603 change % change
telink lighting-app-ota-factory-data tlsr9118bdk40d RAM 107208 109460 2252 2.1
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section b00714d 7640603 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1104336 1104336 0 0.0
RAM 178698 178698 0 0.0
bl702 lighting-app bl702+eth FLASH 658780 658780 0 0.0
RAM 134761 134761 0 0.0
bl702+wifi FLASH 834848 834848 0 0.0
RAM 124245 124245 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067858 1068114 256 0.0
RAM 117093 117077 -16 -0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898078 898334 256 0.0
RAM 105412 105412 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980754 980754 0 0.0
RAM 109572 109572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 768092 768156 64 0.0
RAM 103152 103152 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 779712 779792 80 0.0
RAM 108320 108312 -8 -0.0
pump-app LP_EM_CC1354P10_6 FLASH 725708 725772 64 0.0
RAM 97220 97220 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 710176 710240 64 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 552986 552986 0 0.0
RAM 204928 204928 0 0.0
lock CC3235SF_LAUNCHXL FLASH 585630 585694 64 0.0
RAM 205160 205160 0 0.0
efr32 lock-app BRD4187C FLASH 959768 959864 96 0.0
RAM 126184 126184 0 0.0
BRD4338a FLASH 755400 755440 40 0.0
RAM 255484 255484 0 0.0
window-app BRD4187C FLASH 1053652 1053692 40 0.0
RAM 122344 122344 0 0.0
esp32 all-clusters-app c3devkit DRAM 102976 102968 -8 -0.0
FLASH 1785274 1785856 582 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916452 917432 980 0.1
RAM 153332 153330 -2 -0.0
nxp contact mcxw71+release FLASH 690344 690368 24 0.0
RAM 61392 61392 0 0.0
lighting mcxw71+release FLASH 721904 721928 24 0.0
RAM 68036 68036 0 0.0
lock mcxw71+release FLASH 769000 769024 24 0.0
RAM 61764 61764 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1667716 1668900 1184 0.1
RAM 213020 213004 -16 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1587380 1587324 -56 -0.0
RAM 210284 210268 -16 -0.0
light cy8ckit_062s2_43012 FLASH 1454852 1454788 -64 -0.0
RAM 197008 197000 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1487164 1487100 -64 -0.0
RAM 224728 224720 -8 -0.0
qpg lighting-app qpg6200+debug FLASH 833744 833872 128 0.0
RAM 127548 127548 0 0.0
lock-app qpg6200+debug FLASH 770788 770868 80 0.0
RAM 118516 118516 0 0.0
realtek light-switch-app rtl8777g FLASH 704072 704160 88 0.0
RAM 106720 106720 0 0.0
lighting-app rtl8777g FLASH 755248 755320 72 0.0
RAM 127084 127076 -8 -0.0
stm32 light STM32WB5MM-DK FLASH 467692 467764 72 0.0
RAM 141160 141152 -8 -0.0
telink bridge-app tl7218x FLASH 709980 710048 68 0.0
RAM 91208 91208 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797796 797864 68 0.0
RAM 41772 41768 -4 -0.0
light-app-ota-shell-factory-data tl7218x FLASH 789010 789078 68 0.0
RAM 94408 94404 -4 -0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 715802 715872 70 0.0
RAM 52588 52588 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 749108 749178 70 0.0
RAM 71628 71628 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725948 726018 70 0.0
RAM 35336 35336 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603222 603290 68 0.0
RAM 107208 109460 2252 2.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 821632 821704 72 0.0
RAM 92804 92800 -4 -0.0

Copy link

github-actions bot commented Oct 10, 2025

PR #41145: Size comparison from 9b969f5 to 22f0ed5

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 9b969f5 22f0ed5 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105094 1105404 310 0.0
RAM 178738 178754 16 0.0
bl702 lighting-app bl702+eth FLASH 659594 659894 300 0.0
RAM 134801 134825 24 0.0
bl702+wifi FLASH 835662 835978 316 0.0
RAM 124285 124301 16 0.0
bl706+mfd+rpc+littlefs FLASH 1068806 1069112 306 0.0
RAM 117117 117141 24 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899020 899326 306 0.0
RAM 105460 105476 16 0.0
lighting-app bl702l+mfd+littlefs FLASH 981824 981874 50 0.0
RAM 109612 109628 16 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769224 769432 208 0.0
RAM 103184 103208 24 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 780868 781076 208 0.0
RAM 108344 108360 16 0.0
pump-app LP_EM_CC1354P10_6 FLASH 726856 727072 216 0.0
RAM 97252 97276 24 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711316 711540 224 0.0
RAM 97468 97484 16 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 553942 554154 212 0.0
RAM 204968 204984 16 0.0
lock CC3235SF_LAUNCHXL FLASH 586674 586870 196 0.0
RAM 205200 205208 8 0.0
efr32 lock-app BRD4187C FLASH 960968 961168 200 0.0
RAM 126220 126228 8 0.0
BRD4338a FLASH 757000 755888 -1112 -0.1
RAM 255512 255516 4 0.0
window-app BRD4187C FLASH 1055268 1055508 240 0.0
RAM 122416 122424 8 0.0
esp32 all-clusters-app c3devkit DRAM 103008 103016 8 0.0
FLASH 1789070 1789680 610 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 928944 929620 676 0.1
RAM 160979 160987 8 0.0
nxp contact mcxw71+release FLASH 691552 691800 248 0.0
RAM 61424 61440 16 0.0
lighting mcxw71+release FLASH 723120 723368 248 0.0
RAM 68076 68100 24 0.0
lock mcxw71+release FLASH 770344 770592 248 0.0
RAM 61788 61804 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1670868 1671708 840 0.1
RAM 213044 213060 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589292 1589524 232 0.0
RAM 210316 210340 24 0.0
light cy8ckit_062s2_43012 FLASH 1456124 1456356 232 0.0
RAM 197040 197056 16 0.0
lock cy8ckit_062s2_43012 FLASH 1488452 1488668 216 0.0
RAM 224752 224768 16 0.0
qpg lighting-app qpg6200+debug FLASH 835208 835432 224 0.0
RAM 127592 127604 12 0.0
lock-app qpg6200+debug FLASH 771956 772180 224 0.0
RAM 118552 118580 28 0.0
realtek light-switch-app rtl8777g FLASH 705184 705368 184 0.0
RAM 106756 106784 28 0.0
lighting-app rtl8777g FLASH 756392 756568 176 0.0
RAM 127120 127132 12 0.0
stm32 light STM32WB5MM-DK FLASH 468892 469068 176 0.0
RAM 141192 141208 16 0.0
telink bridge-app tl7218x FLASH 708284 708408 124 0.0
RAM 90340 90356 16 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795816 795940 124 0.0
RAM 40896 40908 12 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787012 787136 124 0.0
RAM 93540 93552 12 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713818 713942 124 0.0
RAM 51712 51724 12 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747122 747246 124 0.0
RAM 70760 70772 12 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723974 724098 124 0.0
RAM 34460 34472 12 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601240 601366 126 0.0
RAM 108588 108600 12 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819632 819760 128 0.0
RAM 91936 91948 12 0.0

Copy link

github-actions bot commented Oct 13, 2025

PR #41145: Size comparison from 5ca0aad to 12cd003

Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5ca0aad 12cd003 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1105406 0 0.0
RAM 178754 178754 0 0.0
bl702 lighting-app bl702+eth FLASH 659894 659894 0 0.0
RAM 134825 134825 0 0.0
bl702+wifi FLASH 835978 835978 0 0.0
RAM 124301 124301 0 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1069114 0 0.0
RAM 117141 117141 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 899328 0 0.0
RAM 105476 105476 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 981876 0 0.0
RAM 109628 109628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 769432 0 0.0
RAM 103208 103208 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 781076 0 0.0
RAM 108360 108360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727072 0 0.0
RAM 97276 97276 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 711540 0 0.0
RAM 97484 97484 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554310 0 0.0
RAM 205544 205544 0 0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587034 0 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 961168 0 0.0
RAM 126228 126228 0 0.0
BRD4338a FLASH 755896 755888 -8 -0.0
RAM 255516 255516 0 0.0
window-app BRD4187C FLASH 1055508 1055508 0 0.0
RAM 122424 122424 0 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103016 0 0.0
FLASH 1793820 1793820 0 0.0
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 931132 931132 0 0.0
RAM 160987 160987 0 0.0
nxp contact mcxw71+release FLASH 691800 691800 0 0.0
RAM 61440 61440 0 0.0
lighting mcxw71+release FLASH 723368 723368 0 0.0
RAM 68100 68100 0 0.0
lock mcxw71+release FLASH 770592 770592 0 0.0
RAM 61804 61804 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673804 1673804 0 0.0
RAM 213620 213620 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1589940 0 0.0
RAM 210900 210900 0 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1456772 0 0.0
RAM 197616 197616 0 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1489084 0 0.0
RAM 225328 225328 0 0.0
qpg lighting-app qpg6200+debug FLASH 835432 835432 0 0.0
RAM 127604 127604 0 0.0
lock-app qpg6200+debug FLASH 772180 772180 0 0.0
RAM 118580 118580 0 0.0
realtek light-switch-app rtl8777g FLASH 705368 705368 0 0.0
RAM 106784 106784 0 0.0
lighting-app rtl8777g FLASH 756568 756568 0 0.0
RAM 127132 127132 0 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469068 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 708408 708408 0 0.0
RAM 90356 90356 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 795940 0 0.0
RAM 40908 40908 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787136 787136 0 0.0
RAM 93552 93552 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 713942 0 0.0
RAM 51724 51724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 747246 0 0.0
RAM 70772 70772 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 724098 0 0.0
RAM 34472 34472 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 601366 0 0.0
RAM 108600 108600 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 819760 4 0.0
RAM 91948 91948 0 0.0

Copy link
Contributor

@r-recchia r-recchia left a comment

Choose a reason for hiding this comment

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

ACLHandler has repeated code

"""

ota_image = ""
if environ.get(f"SU_OTA_REQUESTOR_V{version}") is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

let's take advantage of test arguments instead of environment variables

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted, currently working on that and all env variables with be replaced with arguments.

)


class ACLHandler:
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you need this class? you have the create_acl_entry method already

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed for SU 2.2

Copy link
Contributor

Choose a reason for hiding this comment

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

base class already has that method create_acl_entry, I am not sure that we need to write ACL on the requstor


def create_acl_entry(self, dev_ctrl: ChipDeviceController, provider_node_id: int, requestor_node_id: Optional[int] = None):
"""Create ACL entries to allow OTA requestors to access the provider.
def read_from_logs(self, pattern: str, before: int = 4, after: int = 4) -> list[dict]:
Copy link
Contributor

Choose a reason for hiding this comment

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

why do you need this method? there is existing functionality to match the logs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used at SU 2.5. Need to ensure a line of text was only added once in the logs, after some events passed. So in this case is needed to know if the logs contains an specific line at the moment to read. In the other case we need to create an event an listen when a line appears in the logs but that adds complexity because need to work with the other events im already listening

Copy link
Contributor

Choose a reason for hiding this comment

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

I would say that working with the logs adds more complexity and it is a potential place for test flakiness, I would assume working with events is more reliable than working with logs

… paths. ota-image path and chip-ota-provider path will be provider to the test as an argument, Removed static versions version should be provided in the test as argument.
Copy link

github-actions bot commented Oct 16, 2025

PR #41145: Size comparison from 5ca0aad to eb91ca3

Increases above 0.2%:

platform target config section 5ca0aad eb91ca3 change % change
nxp lock mcxw71+release FLASH 770592 773168 2576 0.3
telink bridge-app tl7218x FLASH 708408 710284 1876 0.3
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5ca0aad eb91ca3 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1106116 710 0.1
RAM 178754 178786 32 0.0
bl702 lighting-app bl702+eth FLASH 659894 660458 564 0.1
RAM 134825 134849 24 0.0
bl702+wifi FLASH 835978 836570 592 0.1
RAM 124301 124325 24 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1069618 504 0.0
RAM 117141 117181 40 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 898442 -886 -0.1
RAM 105476 105444 -32 -0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 982636 760 0.1
RAM 109628 109652 24 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 769988 556 0.1
RAM 103208 103240 32 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 781752 676 0.1
RAM 108360 108392 32 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727940 868 0.1
RAM 97276 97308 32 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 712384 844 0.1
RAM 97484 97508 24 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554066 -244 -0.0
RAM 205544 205504 -40 -0.0
lock CC3235SF_LAUNCHXL FLASH 587034 586942 -92 -0.0
RAM 205768 205752 -16 -0.0
efr32 lock-app BRD4187C FLASH 961168 961832 664 0.1
RAM 126228 126268 40 0.0
BRD4338a FLASH 755896 757152 1256 0.2
RAM 255516 255532 16 0.0
window-app BRD4187C FLASH 1055508 1056900 1392 0.1
RAM 122424 122432 8 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103160 144 0.1
FLASH 1793820 1795908 2088 0.1
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 931132 932836 1704 0.2
RAM 160987 161033 46 0.0
nxp contact mcxw71+release FLASH 691800 691400 -400 -0.1
RAM 61440 61424 -16 -0.0
lighting mcxw71+release FLASH 723368 722896 -472 -0.1
RAM 68100 68084 -16 -0.0
lock mcxw71+release FLASH 770592 773168 2576 0.3
RAM 61804 61868 64 0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673804 1675868 2064 0.1
RAM 213620 213628 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1591924 1984 0.1
RAM 210900 210924 24 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1458740 1968 0.1
RAM 197616 197648 32 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1491148 2064 0.1
RAM 225328 225360 32 0.0
qpg lighting-app qpg6200+debug FLASH 835432 836192 760 0.1
RAM 127604 127644 40 0.0
lock-app qpg6200+debug FLASH 772180 772892 712 0.1
RAM 118580 118612 32 0.0
realtek light-switch-app rtl8777g FLASH 705368 706008 640 0.1
RAM 106784 106792 8 0.0
lighting-app rtl8777g FLASH 756568 757120 552 0.1
RAM 127132 127164 32 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469612 544 0.1
RAM 141208 141248 40 0.0
telink bridge-app tl7218x FLASH 708408 710284 1876 0.3
RAM 90356 90432 76 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 796492 552 0.1
RAM 40908 40928 20 0.0
light-app-ota-shell-factory-data tl7218x FLASH 787136 787692 556 0.1
RAM 93552 93572 20 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 714618 676 0.1
RAM 51724 51732 8 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 747922 676 0.1
RAM 70772 70780 8 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 724770 672 0.1
RAM 34472 34480 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 602010 644 0.1
RAM 108600 108620 20 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 820316 560 0.1
RAM 91948 91968 20 0.0

reason: Clusters.OtaSoftwareUpdateRequestor.Enums.AnnouncementReasonEnum = Clusters.OtaSoftwareUpdateRequestor.Enums.AnnouncementReasonEnum.kUpdateAvailable,
vendor_id: int = 0xFFF1,
endpoint: int = 0):
"""Announce the OTA provider that a software update is requested.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I would emphasize in the docstring that this operation happens on the requestor


if acl_entries is None:
# If there are not ACL entries using proper struct constructors create the default.
acl_entries = [
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: probably it is worth to put it as a constant in the top of the class: DEFAULT_ACL_ENTRIES

Copy link

github-actions bot commented Oct 16, 2025

PR #41145: Size comparison from 5ca0aad to d9262fb

Increases above 0.2%:

platform target config section 5ca0aad d9262fb change % change
efr32 lock-app BRD4338a FLASH 755896 757720 1824 0.2
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
Full report (34 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
platform target config section 5ca0aad d9262fb change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1106366 960 0.1
RAM 178754 178802 48 0.0
bl702 lighting-app bl702+eth FLASH 659894 660956 1062 0.2
RAM 134825 134881 56 0.0
bl702+wifi FLASH 835978 837068 1090 0.1
RAM 124301 124349 48 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1070036 922 0.1
RAM 117141 117189 48 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 898878 -450 -0.1
RAM 105476 105468 -8 -0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 983054 1178 0.1
RAM 109628 109676 48 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 770364 932 0.1
RAM 103208 103240 32 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 782120 1044 0.1
RAM 108360 108400 40 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727940 868 0.1
RAM 97276 97308 32 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 712384 844 0.1
RAM 97484 97508 24 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554066 -244 -0.0
RAM 205544 205504 -40 -0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587318 284 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 962192 1024 0.1
RAM 126228 126268 40 0.0
BRD4338a FLASH 755896 757720 1824 0.2
RAM 255516 255540 24 0.0
window-app BRD4187C FLASH 1055508 1057452 1944 0.2
RAM 122424 122464 40 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103192 176 0.2
FLASH 1793820 1796424 2604 0.1
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 931132 933264 2132 0.2
RAM 160987 161069 82 0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673804 1676484 2680 0.2
RAM 213620 213660 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1592556 2616 0.2
RAM 210900 210956 56 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1459172 2400 0.2
RAM 197616 197656 40 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1491724 2640 0.2
RAM 225328 225376 48 0.0
qpg lighting-app qpg6200+debug FLASH 835432 836552 1120 0.1
RAM 127604 127644 40 0.0
lock-app qpg6200+debug FLASH 772180 773252 1072 0.1
RAM 118580 118620 40 0.0
realtek light-switch-app rtl8777g FLASH 705368 706224 856 0.1
RAM 106784 106800 16 0.0
lighting-app rtl8777g FLASH 756568 757320 752 0.1
RAM 127132 127164 32 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469812 744 0.2
RAM 141208 141248 40 0.0
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
RAM 90356 90436 80 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 796848 908 0.1
RAM 40908 40936 28 0.1
light-app-ota-shell-factory-data tl7218x FLASH 787136 788048 912 0.1
RAM 93552 93580 28 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 714974 1032 0.1
RAM 51724 51736 12 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 748278 1032 0.1
RAM 70772 70784 12 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 725126 1028 0.1
RAM 34472 34484 12 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 602366 1000 0.2
RAM 108600 108628 28 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 820672 916 0.1
RAM 91948 91976 28 0.0

Copy link

github-actions bot commented Oct 17, 2025

PR #41145: Size comparison from 5ca0aad to 22ad776

Increases above 0.2%:

platform target config section 5ca0aad 22ad776 change % change
nxp lock mcxw71+release FLASH 770592 773168 2576 0.3
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5ca0aad 22ad776 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1106366 960 0.1
RAM 178754 178802 48 0.0
bl702 lighting-app bl702+eth FLASH 659894 660956 1062 0.2
RAM 134825 134881 56 0.0
bl702+wifi FLASH 835978 837068 1090 0.1
RAM 124301 124349 48 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1070036 922 0.1
RAM 117141 117189 48 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 898878 -450 -0.1
RAM 105476 105468 -8 -0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 983054 1178 0.1
RAM 109628 109676 48 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 770364 932 0.1
RAM 103208 103240 32 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 782120 1044 0.1
RAM 108360 108400 40 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727940 868 0.1
RAM 97276 97308 32 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 712384 844 0.1
RAM 97484 97508 24 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554066 -244 -0.0
RAM 205544 205504 -40 -0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587318 284 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 962192 1024 0.1
RAM 126228 126268 40 0.0
BRD4338a FLASH 755896 757720 1824 0.2
RAM 255516 255540 24 0.0
window-app BRD4187C FLASH 1055508 1057452 1944 0.2
RAM 122424 122464 40 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103192 176 0.2
FLASH 1793820 1796424 2604 0.1
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 931132 933264 2132 0.2
RAM 160987 161069 82 0.1
nxp contact mcxw71+release FLASH 691800 691400 -400 -0.1
RAM 61440 61424 -16 -0.0
lighting mcxw71+release FLASH 723368 722896 -472 -0.1
RAM 68100 68084 -16 -0.0
lock mcxw71+release FLASH 770592 773168 2576 0.3
RAM 61804 61868 64 0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673804 1676484 2680 0.2
RAM 213620 213660 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1592556 2616 0.2
RAM 210900 210956 56 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1459172 2400 0.2
RAM 197616 197656 40 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1491724 2640 0.2
RAM 225328 225376 48 0.0
qpg lighting-app qpg6200+debug FLASH 835432 836552 1120 0.1
RAM 127604 127644 40 0.0
lock-app qpg6200+debug FLASH 772180 773252 1072 0.1
RAM 118580 118620 40 0.0
realtek light-switch-app rtl8777g FLASH 705368 706224 856 0.1
RAM 106784 106800 16 0.0
lighting-app rtl8777g FLASH 756568 757320 752 0.1
RAM 127132 127164 32 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469812 744 0.2
RAM 141208 141248 40 0.0
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
RAM 90356 90436 80 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 796848 908 0.1
RAM 40908 40936 28 0.1
light-app-ota-shell-factory-data tl7218x FLASH 787136 788048 912 0.1
RAM 93552 93580 28 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 714974 1032 0.1
RAM 51724 51736 12 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 748278 1032 0.1
RAM 70772 70784 12 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 725126 1028 0.1
RAM 34472 34484 12 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 602366 1000 0.2
RAM 108600 108628 28 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 820672 916 0.1
RAM 91948 91976 28 0.0

Copy link

github-actions bot commented Oct 17, 2025

PR #41145: Size comparison from 5ca0aad to df18e3d

Increases above 0.2%:

platform target config section 5ca0aad df18e3d change % change
nxp lock mcxw71+release FLASH 770592 773168 2576 0.3
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 5ca0aad df18e3d change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1105406 1106366 960 0.1
RAM 178754 178802 48 0.0
bl702 lighting-app bl702+eth FLASH 659894 660956 1062 0.2
RAM 134825 134881 56 0.0
bl702+wifi FLASH 835978 837068 1090 0.1
RAM 124301 124349 48 0.0
bl706+mfd+rpc+littlefs FLASH 1069114 1070036 922 0.1
RAM 117141 117189 48 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 899328 898878 -450 -0.1
RAM 105476 105468 -8 -0.0
lighting-app bl702l+mfd+littlefs FLASH 981876 983054 1178 0.1
RAM 109628 109676 48 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 769432 770364 932 0.1
RAM 103208 103240 32 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 781076 782120 1044 0.1
RAM 108360 108400 40 0.0
pump-app LP_EM_CC1354P10_6 FLASH 727072 727940 868 0.1
RAM 97276 97308 32 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 711540 712384 844 0.1
RAM 97484 97508 24 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 554310 554066 -244 -0.0
RAM 205544 205504 -40 -0.0
lock CC3235SF_LAUNCHXL FLASH 587034 587318 284 0.0
RAM 205768 205768 0 0.0
efr32 lock-app BRD4187C FLASH 961168 962192 1024 0.1
RAM 126228 126268 40 0.0
BRD4338a FLASH 755896 757720 1824 0.2
RAM 255516 255540 24 0.0
window-app BRD4187C FLASH 1055508 1057452 1944 0.2
RAM 122424 122464 40 0.0
esp32 all-clusters-app c3devkit DRAM 103016 103192 176 0.2
FLASH 1793820 1795888 2068 0.1
IRAM 83862 83862 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 931132 932816 1684 0.2
RAM 160987 161069 82 0.1
nxp contact mcxw71+release FLASH 691800 691400 -400 -0.1
RAM 61440 61424 -16 -0.0
lighting mcxw71+release FLASH 723368 722896 -472 -0.1
RAM 68100 68084 -16 -0.0
lock mcxw71+release FLASH 770592 773168 2576 0.3
RAM 61804 61868 64 0.1
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1673804 1675948 2144 0.1
RAM 213620 213660 40 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1589940 1592556 2616 0.2
RAM 210900 210956 56 0.0
light cy8ckit_062s2_43012 FLASH 1456772 1459172 2400 0.2
RAM 197616 197656 40 0.0
lock cy8ckit_062s2_43012 FLASH 1489084 1491724 2640 0.2
RAM 225328 225376 48 0.0
qpg lighting-app qpg6200+debug FLASH 835432 836552 1120 0.1
RAM 127604 127644 40 0.0
lock-app qpg6200+debug FLASH 772180 773252 1072 0.1
RAM 118580 118620 40 0.0
realtek light-switch-app rtl8777g FLASH 705368 706224 856 0.1
RAM 106784 106800 16 0.0
lighting-app rtl8777g FLASH 756568 757320 752 0.1
RAM 127132 127164 32 0.0
stm32 light STM32WB5MM-DK FLASH 469068 469812 744 0.2
RAM 141208 141248 40 0.0
telink bridge-app tl7218x FLASH 708408 710462 2054 0.3
RAM 90356 90436 80 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 795940 796848 908 0.1
RAM 40908 40936 28 0.1
light-app-ota-shell-factory-data tl7218x FLASH 787136 788048 912 0.1
RAM 93552 93580 28 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 713942 714974 1032 0.1
RAM 51724 51736 12 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 747246 748278 1032 0.1
RAM 70772 70784 12 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 724098 725126 1028 0.1
RAM 34472 34484 12 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 601366 602366 1000 0.2
RAM 108600 108628 28 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 819756 820672 916 0.1
RAM 91948 91976 28 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create SoftwareUpdate BaseTest Class for Su Tests and OtaWrapper updates

5 participants