Skip to content

Python test for TC-SMOKECO_2.7#42828

Merged
mergify[bot] merged 10 commits intoproject-chip:masterfrom
CKnoerzer:tc-somkeco-2_7
Feb 19, 2026
Merged

Python test for TC-SMOKECO_2.7#42828
mergify[bot] merged 10 commits intoproject-chip:masterfrom
CKnoerzer:tc-somkeco-2_7

Conversation

@CKnoerzer
Copy link
Copy Markdown
Contributor

@CKnoerzer CKnoerzer commented Jan 27, 2026

Summary

This is a python test script for TC-SMOKECO-2.7

It is about to add an unmounted attribute to the SmokeCo Alarm cluster

Target is Matter 1.6

It is related to this approved TCR: https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/12537
The Spec changed got already merged: https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/12544
The test plan PR: https://github.com/CHIP-Specifications/chip-test-plans/pull/5821

Testing

DUT and CI

CI will work once #43043 is merged.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 27, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added the tests label Jan 27, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request introduces a new Python test script, TC_SMOKECO_2_7.py, designed to verify the Unmounted attribute functionality within the SmokeCo Alarm cluster for Matter 1.6. The test correctly utilizes the MatterBaseTest framework, including attribute reading, subscription handling, and conditional execution for CI environments versus manual user input. The overall structure and intent of the test are clear and align with the stated objective. A critical syntax error related to an empty 'else' block needs to be addressed.

Comment thread src/python_testing/TC_SMOKECO_2_7.py
@github-actions
Copy link
Copy Markdown

PR #42828: Size comparison from 7df724a to 3315846

Full report (6 builds for cc32xx, nrfconnect, realtek, stm32)
platform target config section 7df724a 3315846 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 555340 555340 0 0.0
RAM 205496 205496 0 0.0
lock CC3235SF_LAUNCHXL FLASH 589224 589224 0 0.0
RAM 205752 205752 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 934732 934732 0 0.0
RAM 161904 161904 0 0.0
realtek light-switch-app rtl8777g FLASH 701992 701992 0 0.0
RAM 113548 113548 0 0.0
lighting-app rtl8777g FLASH 743872 743872 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 470804 470804 0 0.0
RAM 141408 141408 0 0.0

@github-actions
Copy link
Copy Markdown

PR #42828: Size comparison from 7df724a to c520497

Full report (1 build for stm32)
platform target config section 7df724a c520497 change % change
stm32 light STM32WB5MM-DK FLASH 470804 470804 0 0.0
RAM 141408 141408 0 0.0

@CKnoerzer CKnoerzer marked this pull request as ready for review January 28, 2026 23:11
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 29, 2026

PR #42828: Size comparison from 7df724a to 6ac759d

Increases above 0.2%:

platform target config section 7df724a 6ac759d change % change
efr32 lock-app BRD4187C RAM 123656 125704 2048 1.7
BRD4338a RAM 236936 237968 1032 0.4
window-app BRD4187C RAM 124780 126828 2048 1.6
Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7df724a 6ac759d change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1106440 1106440 0 0.0
RAM 178978 178978 0 0.0
bl702 lighting-app bl702+eth FLASH 661210 661210 0 0.0
RAM 135049 135049 0 0.0
bl702+wifi FLASH 837050 837050 0 0.0
RAM 124517 124517 0 0.0
bl706+mfd+rpc+littlefs FLASH 1070974 1070974 0 0.0
RAM 117389 117389 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 903548 903548 0 0.0
RAM 105964 105964 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 983620 983620 0 0.0
RAM 109884 109884 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 771284 771284 0 0.0
RAM 103408 103408 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 784320 784320 0 0.0
RAM 108736 108736 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 729456 729456 0 0.0
RAM 97484 97484 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 714032 714032 0 0.0
RAM 97692 97692 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 555340 555340 0 0.0
RAM 205496 205496 0 0.0
lock CC3235SF_LAUNCHXL FLASH 589224 589224 0 0.0
RAM 205752 205752 0 0.0
efr32 lock-app BRD4187C FLASH 967040 967496 456 0.0
RAM 123656 125704 2048 1.7
BRD4338a FLASH 760916 761332 416 0.1
RAM 236936 237968 1032 0.4
window-app BRD4187C FLASH 1063256 1063840 584 0.1
RAM 124780 126828 2048 1.6
esp32 all-clusters-app c3devkit DRAM 98124 98204 80 0.1
FLASH 1583502 1584468 966 0.1
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 934732 935932 1200 0.1
RAM 161904 161974 70 0.0
nxp contact mcxw71+release FLASH 744632 744632 0 0.0
RAM 67152 67152 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1694676 1696244 1568 0.1
RAM 214404 214484 80 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1597300 1597300 0 0.0
RAM 211476 211476 0 0.0
light cy8ckit_062s2_43012 FLASH 1460940 1460940 0 0.0
RAM 197808 197808 0 0.0
lock cy8ckit_062s2_43012 FLASH 1495044 1495044 0 0.0
RAM 225688 225688 0 0.0
qpg lighting-app qpg6200+debug FLASH 838716 838716 0 0.0
RAM 128032 128032 0 0.0
lock-app qpg6200+debug FLASH 777164 777164 0 0.0
RAM 118972 118972 0 0.0
realtek light-switch-app rtl8777g FLASH 701992 701992 0 0.0
RAM 113548 113548 0 0.0
lighting-app rtl8777g FLASH 743872 743872 0 0.0
RAM 114768 114768 0 0.0
stm32 light STM32WB5MM-DK FLASH 470804 470804 0 0.0
RAM 141408 141408 0 0.0
telink bridge-app tl7218x FLASH 711642 711642 0 0.0
RAM 93088 93088 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 797432 797432 0 0.0
RAM 41272 41272 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 788762 788762 0 0.0
RAM 96172 96172 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 717432 717432 0 0.0
RAM 54264 54264 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 753242 753242 0 0.0
RAM 73288 73288 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 721814 721814 0 0.0
RAM 34992 34992 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 609728 609728 0 0.0
RAM 117960 117960 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 822266 822270 4 0.0
RAM 94560 94560 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 12, 2026

PR #42828: Size comparison from 429a4d7 to a8dbe08

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 429a4d7 a8dbe08 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1107424 1107424 0 0.0
RAM 178650 178650 0 0.0
bl702 lighting-app bl702+eth FLASH 662428 662428 0 0.0
RAM 134665 134665 0 0.0
bl702+wifi FLASH 838144 838144 0 0.0
RAM 124189 124189 0 0.0
bl706+mfd+rpc+littlefs FLASH 1072492 1072492 0 0.0
RAM 117117 117117 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 905046 905046 0 0.0
RAM 105724 105724 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 985496 985496 0 0.0
RAM 109604 109604 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 772440 772440 0 0.0
RAM 103200 103200 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 785248 785248 0 0.0
RAM 108480 108480 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 730336 730336 0 0.0
RAM 97236 97236 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 714856 714856 0 0.0
RAM 97436 97436 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 555776 555776 0 0.0
RAM 204432 204432 0 0.0
lock CC3235SF_LAUNCHXL FLASH 589964 589964 0 0.0
RAM 204720 204720 0 0.0
efr32 lock-app BRD4187C FLASH 968408 968400 -8 -0.0
RAM 125444 125444 0 0.0
BRD4338a FLASH 756900 756900 0 0.0
RAM 237696 237696 0 0.0
window-app BRD4187C FLASH 1066048 1066048 0 0.0
RAM 126668 126668 0 0.0
esp32 all-clusters-app c3devkit DRAM 98108 98108 0 0.0
FLASH 1587774 1587774 0 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 954168 954168 0 0.0
RAM 161925 161925 0 0.0
nxp contact mcxw71+release FLASH 745792 745792 0 0.0
RAM 66896 66896 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1699580 1699580 0 0.0
RAM 213684 213684 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1600844 1600844 0 0.0
RAM 210660 210660 0 0.0
light cy8ckit_062s2_43012 FLASH 1462524 1462524 0 0.0
RAM 196864 196864 0 0.0
lock cy8ckit_062s2_43012 FLASH 1495916 1495916 0 0.0
RAM 224696 224696 0 0.0
qpg lighting-app qpg6200+debug FLASH 839580 839580 0 0.0
RAM 127740 127740 0 0.0
lock-app qpg6200+debug FLASH 778224 778224 0 0.0
RAM 118688 118688 0 0.0
realtek light-switch-app rtl8777g FLASH 703440 703440 0 0.0
RAM 113356 113356 0 0.0
lighting-app rtl8777g FLASH 745336 745336 0 0.0
RAM 114564 114564 0 0.0
stm32 light STM32WB5MM-DK FLASH 472220 472220 0 0.0
RAM 141208 141208 0 0.0
telink bridge-app tl7218x FLASH 713400 713400 0 0.0
RAM 93512 93512 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 799260 799260 0 0.0
RAM 42112 42112 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 790508 790508 0 0.0
RAM 96632 96632 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 719096 719096 0 0.0
RAM 54724 54724 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 754906 754906 0 0.0
RAM 73756 73756 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 723524 723524 0 0.0
RAM 33136 33136 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 611452 611452 0 0.0
RAM 118120 118120 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 823914 823918 4 0.0
RAM 95020 95020 0 0.0

@CKnoerzer
Copy link
Copy Markdown
Contributor Author

CKnoerzer commented Feb 12, 2026

CI will work once the changes in the SDK are merged (#43043).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 18, 2026

PR #42828: Size comparison from 6921ad7 to c4d2081

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 6921ad7 c4d2081 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1108150 1108150 0 0.0
RAM 178674 178674 0 0.0
bl702 lighting-app bl702+eth FLASH 663226 663226 0 0.0
RAM 134689 134689 0 0.0
bl702+wifi FLASH 838932 838932 0 0.0
RAM 124229 124229 0 0.0
bl706+mfd+rpc+littlefs FLASH 1073160 1073160 0 0.0
RAM 117157 117157 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 905774 905774 0 0.0
RAM 105748 105748 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 986226 986226 0 0.0
RAM 109644 109644 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 777652 777652 0 0.0
RAM 103288 103288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 786000 786000 0 0.0
RAM 108504 108504 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 731076 731076 0 0.0
RAM 97268 97268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 715596 715596 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 556508 556508 0 0.0
RAM 204456 204456 0 0.0
lock CC3235SF_LAUNCHXL FLASH 590704 590704 0 0.0
RAM 204744 204744 0 0.0
efr32 lock-app BRD4187C FLASH 969152 969144 -8 -0.0
RAM 125476 125476 0 0.0
BRD4338a FLASH 757724 757716 -8 -0.0
RAM 237712 237712 0 0.0
window-app BRD4187C FLASH 1066872 1066864 -8 -0.0
RAM 126700 126700 0 0.0
esp32 all-clusters-app c3devkit DRAM 98268 98268 0 0.0
FLASH 1590246 1590246 0 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 956056 956056 0 0.0
RAM 162085 162085 0 0.0
nxp contact mcxw71+release FLASH 746448 746448 0 0.0
RAM 66912 66912 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1701916 1701916 0 0.0
RAM 213860 213860 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1602924 1602924 0 0.0
RAM 210748 210748 0 0.0
light cy8ckit_062s2_43012 FLASH 1468764 1468764 0 0.0
RAM 196944 196944 0 0.0
lock cy8ckit_062s2_43012 FLASH 1496804 1496804 0 0.0
RAM 224720 224720 0 0.0
qpg lighting-app qpg6200+debug FLASH 840308 840308 0 0.0
RAM 127772 127772 0 0.0
lock-app qpg6200+debug FLASH 778904 778904 0 0.0
RAM 118720 118720 0 0.0
realtek light-switch-app rtl8777g FLASH 704952 704952 0 0.0
RAM 113440 113440 0 0.0
lighting-app rtl8777g FLASH 750848 750848 0 0.0
RAM 114648 114648 0 0.0
stm32 light STM32WB5MM-DK FLASH 477456 477456 0 0.0
RAM 141280 141280 0 0.0
telink bridge-app tl7218x FLASH 726494 726494 0 0.0
RAM 95712 95712 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851370 851370 0 0.0
RAM 44152 44152 0 0.0
tl7218x FLASH 842770 842770 0 0.0
RAM 99536 99536 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725070 725070 0 0.0
RAM 55732 55732 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 787696 787696 0 0.0
RAM 74916 74916 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725070 725070 0 0.0
RAM 33216 33216 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613970 613970 0 0.0
RAM 118200 118200 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 841620 841624 4 0.0
RAM 97244 97244 0 0.0

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 19, 2026

PR #42828: Size comparison from 6921ad7 to 90b8087

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 6921ad7 90b8087 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1108150 1108150 0 0.0
RAM 178674 178674 0 0.0
bl702 lighting-app bl702+eth FLASH 663226 663226 0 0.0
RAM 134689 134689 0 0.0
bl702+wifi FLASH 838932 838932 0 0.0
RAM 124229 124229 0 0.0
bl706+mfd+rpc+littlefs FLASH 1073160 1073160 0 0.0
RAM 117157 117157 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 905774 905774 0 0.0
RAM 105748 105748 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 986226 986226 0 0.0
RAM 109644 109644 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 777652 777652 0 0.0
RAM 103288 103288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 786000 786000 0 0.0
RAM 108504 108504 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 731076 731076 0 0.0
RAM 97268 97268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 715596 715596 0 0.0
RAM 97468 97468 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 556508 556508 0 0.0
RAM 204456 204456 0 0.0
lock CC3235SF_LAUNCHXL FLASH 590704 590704 0 0.0
RAM 204744 204744 0 0.0
efr32 lock-app BRD4187C FLASH 969152 969144 -8 -0.0
RAM 125476 125476 0 0.0
BRD4338a FLASH 757724 757716 -8 -0.0
RAM 237712 237712 0 0.0
window-app BRD4187C FLASH 1066872 1066864 -8 -0.0
RAM 126700 126700 0 0.0
esp32 all-clusters-app c3devkit DRAM 98268 98268 0 0.0
FLASH 1590246 1590246 0 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 956056 956056 0 0.0
RAM 162085 162085 0 0.0
nxp contact mcxw71+release FLASH 746448 746448 0 0.0
RAM 66912 66912 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1701916 1701916 0 0.0
RAM 213860 213860 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1602924 1602924 0 0.0
RAM 210748 210748 0 0.0
light cy8ckit_062s2_43012 FLASH 1468764 1468764 0 0.0
RAM 196944 196944 0 0.0
lock cy8ckit_062s2_43012 FLASH 1496804 1496804 0 0.0
RAM 224720 224720 0 0.0
qpg lighting-app qpg6200+debug FLASH 840308 840308 0 0.0
RAM 127772 127772 0 0.0
lock-app qpg6200+debug FLASH 778904 778904 0 0.0
RAM 118720 118720 0 0.0
realtek light-switch-app rtl8777g FLASH 704952 704952 0 0.0
RAM 113440 113440 0 0.0
lighting-app rtl8777g FLASH 750848 750848 0 0.0
RAM 114648 114648 0 0.0
stm32 light STM32WB5MM-DK FLASH 477456 477456 0 0.0
RAM 141280 141280 0 0.0
telink bridge-app tl7218x FLASH 726494 726494 0 0.0
RAM 95712 95712 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 851370 851370 0 0.0
RAM 44152 44152 0 0.0
tl7218x FLASH 842770 842770 0 0.0
RAM 99536 99536 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725070 725070 0 0.0
RAM 55732 55732 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 787696 787696 0 0.0
RAM 74916 74916 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725070 725070 0 0.0
RAM 33216 33216 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 613970 613970 0 0.0
RAM 118200 118200 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 841620 841624 4 0.0
RAM 97244 97244 0 0.0

@mergify mergify Bot merged commit 62c2074 into project-chip:master Feb 19, 2026
76 of 77 checks passed
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.

5 participants