Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for TC_CC_2.1 #37328

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

Conversation

jtrejoespinoza-grid
Copy link

@jtrejoespinoza-grid jtrejoespinoza-grid commented Jan 30, 2025

Testing

Removed pics
Verified attributes using attribute_guard

Proposal for Test case for Color Control 2.2 ( TC_CC_2.1)

The following test evaluates the attributes to the conformance.

How to to run:

Run all clusters.

./out/linux-x64-all-clusters/chip-all-clusters-app

Run the test case:
python3 src/python_testing/TC_CC_2_1.py --commissioning-method on-network --qr-code MT:-24J0AFN00KA0648G00 --PICS src/app/tests/suites/certification/ci-pics-values

All attributes must be present.

There is a conversation right now about the attribute NumberOfPrimaries where the value should not be 0. Currently the change is not implemented. Until the change is implemented this test case will need to be updated.

https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/9103

Copy link

semanticdiff-com bot commented Jan 30, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  src/python_testing/TC_CC_2_1.py  0% smaller

@github-actions github-actions bot added the tests label Jan 30, 2025
Copy link

PR #37328: Size comparison from 3044eeb to 7803220

Full report (1 build for stm32)
platform target config section 3044eeb 7803220 change % change
stm32 light STM32WB5MM-DK FLASH 482600 482624 24 0.0
RAM 144672 144672 0 0.0

Copy link

github-actions bot commented Jan 31, 2025

PR #37328: Size comparison from 3044eeb to 36b94e4

Increases above 0.2%:

platform target config section 3044eeb 36b94e4 change % change
telink light-app-ota-shell-factory-data tl7218x FLASH 774590 778816 4226 0.5
Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 3044eeb 36b94e4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093546 1093546 0 0.0
RAM 103298 103298 0 0.0
bl702 lighting-app bl702+eth FLASH 650158 650158 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828066 828066 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056626 1056626 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888060 888060 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971046 971046 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838000 838032 32 0.0
RAM 123464 123464 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823420 823436 16 0.0
RAM 125344 125344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770644 770676 32 0.0
RAM 113804 113804 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754888 754920 32 0.0
RAM 114012 114012 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538445 538461 16 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572309 572325 16 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679409 679433 24 0.0
RAM 78532 78532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699261 699285 24 0.0
RAM 81172 81172 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699261 699285 24 0.0
RAM 81172 81172 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656189 656213 24 0.0
RAM 73600 73600 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615793 615817 24 0.0
RAM 71516 71516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635421 635445 24 0.0
RAM 74060 74060 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635421 635445 24 0.0
RAM 74060 74060 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635273 635289 16 0.0
RAM 74524 74524 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 654981 654997 16 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 654981 654997 16 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611709 611725 16 0.0
RAM 68612 68612 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631569 631585 16 0.0
RAM 71252 71252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631569 631585 16 0.0
RAM 71252 71252 0 0.0
efr32 lock-app BRD4187C FLASH 936232 936232 0 0.0
RAM 159904 159872 -32 -0.0
BRD4338a FLASH 729900 729876 -24 -0.0
RAM 234764 234700 -64 -0.0
window-app BRD4187C FLASH 1029256 1029248 -8 -0.0
RAM 128040 127976 -64 -0.0
esp32 all-clusters-app c3devkit DRAM 97296 97296 0 0.0
FLASH 1577036 1577062 26 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116092 116092 0 0.0
FLASH 1544978 1544978 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2708921 2708945 24 0.0
RAM 132816 132816 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5974944 5974968 24 0.0
RAM 531632 531632 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5323630 5323654 24 0.0
RAM 242744 242744 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4681818 4681842 24 0.0
RAM 221480 221480 0 0.0
chip-tool debug unknown 6120 6120 0 0.0
FLASH 13096130 13096156 26 0.0
RAM 596770 596770 0 0.0
chip-tool-ipv6only arm64 unknown 21848 21848 0 0.0
FLASH 1116208 11162176 96 0.0
RAM 648496 648496 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11388177 11388203 26 0.0
RAM 596554 596554 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4506416 4506440 24 0.0
RAM 208664 208664 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5612789 5612821 32 0.0
RAM 483536 483536 0 0.0
lighting-app debug+rpc+ui unknown 6144 6144 0 0.0
FLASH 5624577 5624593 16 0.0
RAM 231760 231760 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4730932 4730956 24 0.0
RAM 207728 207728 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4359476 4359500 24 0.0
RAM 201368 201368 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4496948 4496972 24 0.0
RAM 205952 205952 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3004845 3004877 32 0.0
RAM 160504 160504 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4098704 4098768 64 0.0
RAM 246144 246144 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5952389 5952421 32 0.0
RAM 606936 606936 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11269741 11269757 16 0.0
RAM 710896 710896 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 906972 906992 20 0.0
RAM 142395 142395 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901532 901532 0 0.0
RAM 124739 124739 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845696 845716 20 0.0
RAM 141323 141323 0 0.0
nxp contact k32w0+release FLASH 584288 584304 16 0.0
RAM 70860 70860 0 0.0
mcxw71+release FLASH 599632 599664 32 0.0
RAM 63080 63080 0 0.0
light k32w0+release FLASH 610732 610748 16 0.0
RAM 70252 70252 0 0.0
k32w1+release FLASH 685192 685208 16 0.0
RAM 48664 48664 0 0.0
lock mcxw71+release FLASH 748664 748680 16 0.0
RAM 67476 67476 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646372 1646356 -16 -0.0
RAM 211560 211560 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553148 1553148 0 0.0
RAM 208376 208376 0 0.0
light cy8ckit_062s2_43012 FLASH 1468828 1468828 0 0.0
RAM 200352 200352 0 0.0
lock cy8ckit_062s2_43012 FLASH 1466860 1466860 0 0.0
RAM 224688 224688 0 0.0
qpg lighting-app qpg6105+debug FLASH 661984 662016 32 0.0
RAM 105204 105204 0 0.0
lock-app qpg6105+debug FLASH 619788 619804 16 0.0
RAM 99648 99648 0 0.0
stm32 light STM32WB5MM-DK FLASH 482600 482624 24 0.0
RAM 144672 144672 0 0.0
telink contact-sensor-app tlsr9528a_retention FLASH 621322 621532 210 0.0
RAM 31484 31484 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 774590 778816 4226 0.5
RAM 99648 98688 -960 -1.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 708494 708704 210 0.0
RAM 73376 73384 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625592 625618 26 0.0
RAM 142016 142016 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 812972 813000 28 0.0
RAM 99560 99560 0 0.0
tizen all-clusters-app arm unknown 5116 5116 0 0.0
FLASH 1751892 1751916 24 0.0
RAM 93524 93524 0 0.0
chip-tool-ubsan arm unknown 11408 11408 0 0.0
FLASH 18696094 18696214 120 0.0
RAM 8183744 8183840 96 0.0

@jtrejoespinoza-grid jtrejoespinoza-grid marked this pull request as ready for review February 5, 2025 16:40
Copy link

github-actions bot commented Feb 5, 2025

PR #37328: Size comparison from f7226c1 to a835fd4

Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f7226c1 a835fd4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1094066 1094066 0 0.0
RAM 103314 103314 0 0.0
bl702 lighting-app bl702+eth FLASH 650580 650580 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828544 828544 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057104 1057104 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888482 888482 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971524 971524 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838240 838240 0 0.0
RAM 123480 123480 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823636 823636 0 0.0
RAM 125360 125360 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770844 770844 0 0.0
RAM 113820 113820 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755104 755104 0 0.0
RAM 114028 114028 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538653 538653 0 0.0
RAM 205208 205208 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572517 572517 0 0.0
RAM 205360 205360 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679625 679625 0 0.0
RAM 78548 78548 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699477 699477 0 0.0
RAM 81188 81188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699477 699477 0 0.0
RAM 81188 81188 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656413 656413 0 0.0
RAM 73616 73616 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615969 615969 0 0.0
RAM 71532 71532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635605 635605 0 0.0
RAM 74076 74076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635605 635605 0 0.0
RAM 74076 74076 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635481 635481 0 0.0
RAM 74540 74540 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655197 655197 0 0.0
RAM 77084 77084 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655197 655197 0 0.0
RAM 77084 77084 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611925 611925 0 0.0
RAM 68628 68628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631785 631785 0 0.0
RAM 71268 71268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631785 631785 0 0.0
RAM 71268 71268 0 0.0
efr32 lock-app BRD4187C FLASH 936408 936408 0 0.0
RAM 159872 159872 0 0.0
BRD4338a FLASH 730532 730524 -8 -0.0
RAM 234716 234716 0 0.0
window-app BRD4187C FLASH 1029840 1029840 0 0.0
RAM 128008 128008 0 0.0
esp32 all-clusters-app c3devkit DRAM 97312 97312 0 0.0
FLASH 1577628 1577628 0 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116108 116108 0 0.0
FLASH 1545262 1545262 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2710467 2710467 0 0.0
RAM 132912 132912 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5976878 5976878 0 0.0
RAM 531728 531728 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5325244 5325244 0 0.0
RAM 242840 242840 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4683822 4683822 0 0.0
RAM 221576 221576 0 0.0
chip-tool debug unknown 6120 6120 0 0.0
FLASH 13100014 13100014 0 0.0
RAM 596770 596770 0 0.0
chip-tool-ipv6only arm64 unknown 21848 21848 0 0.0
FLASH 11163632 11163632 0 0.0
RAM 648448 648448 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11389487 11389487 0 0.0
RAM 596554 596554 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4509144 4509144 0 0.0
RAM 208760 208760 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5615317 5615317 0 0.0
RAM 483632 483632 0 0.0
lighting-app debug+rpc+ui unknown 6144 6144 0 0.0
FLASH 5626513 5626513 0 0.0
RAM 231856 231856 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4732482 4732482 0 0.0
RAM 207824 207824 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4361462 4361462 0 0.0
RAM 201464 201464 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4498936 4498936 0 0.0
RAM 206048 206048 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3006829 3006829 0 0.0
RAM 160600 160600 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4098544 4098544 0 0.0
RAM 246152 246152 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5954261 5954261 0 0.0
RAM 607032 607032 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11274253 11274253 0 0.0
RAM 711024 711024 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 907320 907320 0 0.0
RAM 142411 142411 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901960 901960 0 0.0
RAM 124755 124755 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845904 845904 0 0.0
RAM 141339 141339 0 0.0
nxp contact k32w0+release FLASH 584560 584560 0 0.0
RAM 70876 70876 0 0.0
mcxw71+release FLASH 599848 599848 0 0.0
RAM 63096 63096 0 0.0
light k32w0+release FLASH 610924 610924 0 0.0
RAM 70268 70268 0 0.0
k32w1+release FLASH 685344 685344 0 0.0
RAM 48680 48680 0 0.0
lock mcxw71+release FLASH 748840 748840 0 0.0
RAM 67492 67492 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646956 1646956 0 0.0
RAM 211576 211576 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553788 1553788 0 0.0
RAM 208392 208392 0 0.0
light cy8ckit_062s2_43012 FLASH 1469516 1469516 0 0.0
RAM 200368 200368 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467468 1467468 0 0.0
RAM 224704 224704 0 0.0
qpg lighting-app qpg6105+debug FLASH 662224 662224 0 0.0
RAM 105220 105220 0 0.0
lock-app qpg6105+debug FLASH 620012 620012 0 0.0
RAM 99664 99664 0 0.0
stm32 light STM32WB5MM-DK FLASH 482888 482888 0 0.0
RAM 144688 144688 0 0.0
telink bridge-app tl7218x FLASH 665276 665276 0 0.0
RAM 90828 90828 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622038 622038 0 0.0
RAM 31500 31500 0 0.0
light-app-ota-shell-factory-data tl3218x FLASH 770822 770822 0 0.0
RAM 43568 43568 0 0.0
tl7218x FLASH 779324 779324 0 0.0
RAM 98704 98704 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 680636 680636 0 0.0
RAM 52192 52192 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 709190 709190 0 0.0
RAM 73400 73400 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 626126 626126 0 0.0
RAM 142032 142032 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813508 813508 0 0.0
RAM 99576 99576 0 0.0
tizen all-clusters-app arm unknown 5116 5116 0 0.0
FLASH 1753432 1753432 0 0.0
RAM 93572 93572 0 0.0
chip-tool-ubsan arm unknown 11408 11408 0 0.0
FLASH 18699790 18699790 0 0.0
RAM 8184648 8184648 0 0.0

src/python_testing/TC_CC_2_1.py Outdated Show resolved Hide resolved
src/python_testing/TC_CC_2_1.py Outdated Show resolved Hide resolved
src/python_testing/TC_CC_2_1.py Outdated Show resolved Hide resolved
src/python_testing/TC_CC_2_1.py Outdated Show resolved Hide resolved
@juandediosg
Copy link
Contributor

Changes approved

@juandediosg juandediosg self-requested a review February 14, 2025 18:23
Copy link
Contributor

@juandediosg juandediosg left a comment

Choose a reason for hiding this comment

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

Changes has been made, PR approved

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.

3 participants