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

TC-TCTL-2.3 python test #36703

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

Conversation

asirko-soft
Copy link

@asirko-soft asirko-soft commented Dec 3, 2024

Category:
Functional

Description:
Verifies that the DUT can respond to Temperature Control Cluster attribute read commands. This test case is required only if the TL feature is supported (TCTL.S.F01(TL)). Some check examples:

  • Verify that for SelectedTemperatureLevel attribute DUT response contains value between 0 and 31 inclusive
  • Verify that for SupportedTemperatureLevel attribute DUT response contains a list of up to 32 strings, with each string length not exceeding 16 characters

Test plan for more details: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/temperaturecontrol.adoc#tc-tctl-2-3-optional-temperature-level-attributes-with-dut_server

Copy link

semanticdiff-com bot commented Dec 3, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/tests.yaml Unsupported file format
  src/python_testing/TC_TCTL_2_3.py  0% smaller

@CLAassistant
Copy link

CLAassistant commented Dec 3, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added github workflows tests matter-1.4-te2-script-change Script changes before end of Matter 1.4 TE2 labels Dec 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

PR #36703: Size comparison from 2bc3251 to 71708d1

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 2bc3251 71708d1 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1352942 1352942 0 0.0
RAM 104104 104104 0 0.0
bl702 lighting-app bl702+eth FLASH 651536 651536 0 0.0
RAM 25345 25345 0 0.0
bl702+wifi FLASH 829120 829120 0 0.0
RAM 14085 14085 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057314 1057314 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978688 978688 0 0.0
RAM 16572 16572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839576 839576 0 0.0
RAM 123656 123656 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825116 825116 0 0.0
RAM 125536 125536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 771864 771864 0 0.0
RAM 114004 114004 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756052 756052 0 0.0
RAM 114220 114220 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 630686 630686 0 0.0
RAM 205808 205808 0 0.0
lock CC3235SF_LAUNCHXL FLASH 669298 669298 0 0.0
RAM 205952 205952 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681249 681249 0 0.0
RAM 78716 78716 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701101 701101 0 0.0
RAM 81348 81348 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701101 701101 0 0.0
RAM 81348 81348 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658037 658037 0 0.0
RAM 73784 73784 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 617809 617809 0 0.0
RAM 71692 71692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637437 637437 0 0.0
RAM 74244 74244 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637437 637437 0 0.0
RAM 74244 74244 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637201 637201 0 0.0
RAM 74708 74708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 656917 656917 0 0.0
RAM 77260 77260 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 656917 656917 0 0.0
RAM 77260 77260 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613669 613669 0 0.0
RAM 68796 68796 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633521 633521 0 0.0
RAM 71436 71436 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633521 633521 0 0.0
RAM 71436 71436 0 0.0
efr32 lock-app BRD4187C FLASH 932116 932116 0 0.0
RAM 160180 160180 0 0.0
BRD4338a FLASH 745920 745912 -8 -0.0
RAM 233312 233312 0 0.0
window-app BRD4187C FLASH 1024480 1024480 0 0.0
RAM 128284 128284 0 0.0
esp32 all-clusters-app c3devkit DRAM 95344 95344 0 0.0
FLASH 1543258 1543258 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116296 116296 0 0.0
FLASH 1550002 1550002 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2713581 2713581 0 0.0
RAM 129768 129768 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6005600 6005600 0 0.0
RAM 523512 523512 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5343408 5343408 0 0.0
RAM 242568 242568 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4682894 4682894 0 0.0
RAM 218368 218368 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12845682 12845682 0 0.0
RAM 582314 582314 0 0.0
chip-tool-ipv6only arm64 unknown 21312 21312 0 0.0
FLASH 10979696 10979696 0 0.0
RAM 633232 633232 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11249747 11249747 0 0.0
RAM 582690 582690 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4507150 4507150 0 0.0
RAM 205504 205504 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5603797 5603797 0 0.0
RAM 472488 472488 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5619729 5619729 0 0.0
RAM 228760 228760 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4732248 4732248 0 0.0
RAM 204744 204744 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4358002 4358002 0 0.0
RAM 198416 198416 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4497042 4497042 0 0.0
RAM 203000 203000 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3028477 3028477 0 0.0
RAM 160456 160456 0 0.0
thermostat-no-ble arm64 unknown 9520 9520 0 0.0
FLASH 4102480 4102480 0 0.0
RAM 243040 243040 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5956293 5956293 0 0.0
RAM 596000 596000 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11052605 11052605 0 0.0
RAM 692120 692120 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917380 917380 0 0.0
RAM 143292 143292 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 889868 889868 0 0.0
RAM 141479 141479 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851548 851548 0 0.0
RAM 142200 142200 0 0.0
nxp contact k32w0+release FLASH 585264 585264 0 0.0
RAM 71072 71072 0 0.0
mcxw71+release FLASH 599800 599800 0 0.0
RAM 63168 63168 0 0.0
light k32w0+release FLASH 612204 612204 0 0.0
RAM 70464 70464 0 0.0
k32w1+release FLASH 686344 686344 0 0.0
RAM 48792 48792 0 0.0
lock mcxw71+release FLASH 762688 762688 0 0.0
RAM 70828 70828 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646068 1646068 0 0.0
RAM 212088 212088 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553836 1553836 0 0.0
RAM 208888 208888 0 0.0
light cy8ckit_062s2_43012 FLASH 1469108 1469108 0 0.0
RAM 200872 200872 0 0.0
lock cy8ckit_062s2_43012 FLASH 1466836 1466836 0 0.0
RAM 225232 225232 0 0.0
qpg lighting-app qpg6105+debug FLASH 663736 663736 0 0.0
RAM 105400 105400 0 0.0
lock-app qpg6105+debug FLASH 621572 621572 0 0.0
RAM 99860 99860 0 0.0
stm32 light STM32WB5MM-DK FLASH 484492 484492 0 0.0
RAM 144864 144864 0 0.0
telink bridge-app tlsr9258a FLASH 682594 682594 0 0.0
RAM 91200 91200 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623004 623004 0 0.0
RAM 31432 31432 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 764510 764510 0 0.0
RAM 50212 50212 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710424 710424 0 0.0
RAM 73496 73496 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627530 627530 0 0.0
RAM 142132 142132 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813458 813458 0 0.0
RAM 99676 99676 0 0.0
tizen all-clusters-app arm unknown 4980 4980 0 0.0
FLASH 1731836 1731836 0 0.0
RAM 90724 90724 0 0.0
chip-tool-ubsan arm unknown 10792 10792 0 0.0
FLASH 1796559 1796559 0 0.0
RAM 7838600 7838600 0 0.0

@asirko-soft asirko-soft marked this pull request as draft December 3, 2024 13:50
]
return steps

@async_test_body
Copy link
Contributor

Choose a reason for hiding this comment

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

This is correct as of today, but it's something we want to change. The ability to change this is going to be dependent on this PR landing #36727. So nothing to do right now, but either a follow up or something that can be addressed in this PR if the other PR lands before you can undraft.

Right now, the purpose of the pics_ function above is to allow the test harness to select the tests used for certification. This is not used at all in CI, and the CI works because we know the all-clusters-app happens to have this feature enabled.

The PICS come from an external file (actually set of files) that describe what's on the device at a certain endpoint. The PICS in this test say that there is a temperature control server on the endpoint (TCTL.S) and the temperature control server supports feature 1 (TCTL.S.F01). Both of these are things that we can read directly from the device - we don't need to be going out to an external file for this information, and it's preferable not to since that's more error prone (file might be incorrect, incorrect file might have been loaded, maybe no file was supplied etc.)

We recently started testing with self-selecting test. We have a set of decorators that will only run the test if certain conditions hold. However, as noted in this PR description (#36727), we still need to keep this top level pics_ method for the test harness because even just starting tests from the test harness is slow.

So, once that PR lands, I'm going to suggest changing @async_test_body to
@run_if_endpoint_matches(has_feature(Clusters.TemperatureControl, Clusters.TemperatureControl.Bitmaps.Feature.kTemperatureLevel))

That will allow the automation that GD is writing to automatically select this test based on the device composition.

TL;DR - nothing to do now, if that PR lands before this goes in, let's update

Copy link
Author

Choose a reason for hiding this comment

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

Dependency is merged so I have decorated with @run_if_endpoint_matches


# Step 2: Read SelectedTemperatureLevel attribute
self.step(2)
if self.check_pics("TCTL.S.A0004"): # SelectedTemperatureLevel attribute
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to above, this PICS just indicates whether a attribute 4 is supported on this cluster / endpoint and that information is available from the device. Getting this information directly from the device rather than from the PICS file is less error prone.

I've asked one of the CSA folks working on test automation to add in a guard function to just read this from the device. In other tests, we've done this by reading the attribute list directly in the test, but since we do this a lot it makes sense to centralize this. The PR to add that is here: #34290.

As above, if that PR happens to land before this gets undrafted and goes for review, it makes sense to switch over to use that, otherwise it can be done as a followup.

the change here would be something like
if attribute_guard(Clusters.TemperatureControl.Attributes.SelectedTemperatureLevel):

also below.

Copy link
Author

Choose a reason for hiding this comment

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

Dependency is merged so I'm using attribute_guard here

src/python_testing/TC_TCTL_2_3.py Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Dec 5, 2024

PR #36703: Size comparison from 2bc3251 to cb1fdfc

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 2bc3251 cb1fdfc change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1352942 1352942 0 0.0
RAM 104104 104104 0 0.0
bl702 lighting-app bl702+eth FLASH 651536 651536 0 0.0
RAM 25345 25345 0 0.0
bl702+wifi FLASH 829120 829120 0 0.0
RAM 14085 14085 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057314 1057314 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978688 978688 0 0.0
RAM 16572 16572 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839576 839576 0 0.0
RAM 123656 123656 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825116 825116 0 0.0
RAM 125536 125536 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 771864 771864 0 0.0
RAM 114004 114004 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756052 756052 0 0.0
RAM 114220 114220 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 630686 630686 0 0.0
RAM 205808 205808 0 0.0
lock CC3235SF_LAUNCHXL FLASH 669298 669298 0 0.0
RAM 205952 205952 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681249 681249 0 0.0
RAM 78716 78716 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701101 701101 0 0.0
RAM 81348 81348 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701101 701101 0 0.0
RAM 81348 81348 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658037 658037 0 0.0
RAM 73784 73784 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 617809 617809 0 0.0
RAM 71692 71692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637437 637437 0 0.0
RAM 74244 74244 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637437 637437 0 0.0
RAM 74244 74244 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637201 637201 0 0.0
RAM 74708 74708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 656917 656917 0 0.0
RAM 77260 77260 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 656917 656917 0 0.0
RAM 77260 77260 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613669 613669 0 0.0
RAM 68796 68796 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633521 633521 0 0.0
RAM 71436 71436 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633521 633521 0 0.0
RAM 71436 71436 0 0.0
efr32 lock-app BRD4187C FLASH 932116 932116 0 0.0
RAM 160180 160180 0 0.0
BRD4338a FLASH 745920 745816 -104 -0.0
RAM 233312 233312 0 0.0
window-app BRD4187C FLASH 1024480 1024480 0 0.0
RAM 128284 128284 0 0.0
esp32 all-clusters-app c3devkit DRAM 95344 95344 0 0.0
FLASH 1543258 1543262 4 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116296 116296 0 0.0
FLASH 1550002 1550006 4 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2713581 2713581 0 0.0
RAM 129768 129768 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6005600 6005600 0 0.0
RAM 523512 523512 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5343408 5343408 0 0.0
RAM 242568 242568 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4682894 4682894 0 0.0
RAM 218368 218368 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12845682 12845682 0 0.0
RAM 582314 582314 0 0.0
chip-tool-ipv6only arm64 unknown 21312 21312 0 0.0
FLASH 10979696 10979696 0 0.0
RAM 633232 633232 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11249747 11249747 0 0.0
RAM 582690 582690 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4507150 4508584 1434 0.0
RAM 205504 205536 32 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5603797 5605301 1504 0.0
RAM 472488 472536 48 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5619729 5619729 0 0.0
RAM 228760 228760 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4732248 4732248 0 0.0
RAM 204744 204744 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4358002 4358002 0 0.0
RAM 198416 198416 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4497042 4497042 0 0.0
RAM 203000 203000 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3028477 3028477 0 0.0
RAM 160456 160456 0 0.0
thermostat-no-ble arm64 unknown 9520 9520 0 0.0
FLASH 4102480 4102480 0 0.0
RAM 243040 243040 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5956293 5956293 0 0.0
RAM 596000 596000 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11052605 11052605 0 0.0
RAM 692120 692120 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917380 917380 0 0.0
RAM 143292 143292 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 889868 889868 0 0.0
RAM 141479 141479 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851548 851548 0 0.0
RAM 142200 142200 0 0.0
nxp contact k32w0+release FLASH 585264 585264 0 0.0
RAM 71072 71072 0 0.0
mcxw71+release FLASH 599800 599800 0 0.0
RAM 63168 63168 0 0.0
light k32w0+release FLASH 612204 612204 0 0.0
RAM 70464 70464 0 0.0
k32w1+release FLASH 686344 686344 0 0.0
RAM 48792 48792 0 0.0
lock mcxw71+release FLASH 762688 762688 0 0.0
RAM 70828 70828 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646068 1646068 0 0.0
RAM 212088 212088 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553836 1553836 0 0.0
RAM 208888 208888 0 0.0
light cy8ckit_062s2_43012 FLASH 1469108 1469108 0 0.0
RAM 200872 200872 0 0.0
lock cy8ckit_062s2_43012 FLASH 1466836 1466836 0 0.0
RAM 225232 225232 0 0.0
qpg lighting-app qpg6105+debug FLASH 663736 663736 0 0.0
RAM 105400 105400 0 0.0
lock-app qpg6105+debug FLASH 621572 621572 0 0.0
RAM 99860 99860 0 0.0
stm32 light STM32WB5MM-DK FLASH 484492 484492 0 0.0
RAM 144864 144864 0 0.0
telink bridge-app tlsr9258a FLASH 682594 682594 0 0.0
RAM 91200 91200 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623004 623004 0 0.0
RAM 31432 31432 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 764510 764510 0 0.0
RAM 50212 50212 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710424 710424 0 0.0
RAM 73496 73496 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627530 627530 0 0.0
RAM 142132 142132 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813458 813458 0 0.0
RAM 99676 99676 0 0.0
tizen all-clusters-app arm unknown 4980 4980 0 0.0
FLASH 1731836 1731836 0 0.0
RAM 90724 90724 0 0.0
chip-tool-ubsan arm unknown 10792 10792 0 0.0
FLASH 1796559 1796559 0 0.0
RAM 7838600 7838600 0 0.0

@asirko-soft asirko-soft requested a review from cecille December 6, 2024 11:11
@asirko-soft asirko-soft marked this pull request as ready for review December 6, 2024 11:11
@asirko-soft asirko-soft marked this pull request as draft December 6, 2024 13:39
Copy link

github-actions bot commented Dec 9, 2024

PR #36703: Size comparison from af8d173 to 5777abd

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 af8d173 5777abd change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353308 1353308 0 0.0
RAM 104112 104112 0 0.0
bl702 lighting-app bl702+eth FLASH 651816 651816 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829144 829144 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1057594 1057594 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 978968 978968 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839736 839736 0 0.0
RAM 123664 123664 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825276 825276 0 0.0
RAM 125552 125552 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772064 772064 0 0.0
RAM 114020 114020 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756260 756260 0 0.0
RAM 114228 114228 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 631026 631026 0 0.0
RAM 205824 205824 0 0.0
lock CC3235SF_LAUNCHXL FLASH 669622 669622 0 0.0
RAM 205968 205968 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681473 681473 0 0.0
RAM 78724 78724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701325 701325 0 0.0
RAM 81364 81364 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701325 701325 0 0.0
RAM 81364 81364 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658261 658261 0 0.0
RAM 73792 73792 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618033 618033 0 0.0
RAM 71708 71708 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637661 637661 0 0.0
RAM 74252 74252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637661 637661 0 0.0
RAM 74252 74252 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637433 637433 0 0.0
RAM 74724 74724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657149 657149 0 0.0
RAM 77268 77268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657149 657149 0 0.0
RAM 77268 77268 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613901 613901 0 0.0
RAM 68812 68812 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633753 633753 0 0.0
RAM 71444 71444 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633753 633753 0 0.0
RAM 71444 71444 0 0.0
efr32 lock-app BRD4187C FLASH 932308 932308 0 0.0
RAM 160192 160192 0 0.0
BRD4338a FLASH 746112 746104 -8 -0.0
RAM 233320 233320 0 0.0
window-app BRD4187C FLASH 1024752 1024752 0 0.0
RAM 128296 128296 0 0.0
esp32 all-clusters-app c3devkit DRAM 95360 95360 0 0.0
FLASH 1543466 1543466 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116312 116312 0 0.0
FLASH 1550118 1550118 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2715045 2715045 0 0.0
RAM 129800 129800 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6007046 6007046 0 0.0
RAM 523544 523544 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5344818 5344818 0 0.0
RAM 242600 242600 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4684354 4684354 0 0.0
RAM 218416 218416 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12847594 12847594 0 0.0
RAM 582474 582474 0 0.0
chip-tool-ipv6only arm64 unknown 21344 21344 0 0.0
FLASH 10982320 10982320 0 0.0
RAM 633384 633384 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11254395 11254395 0 0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4509930 4509930 0 0.0
RAM 205600 205600 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5607797 5607797 0 0.0
RAM 472584 472584 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5621057 5621057 0 0.0
RAM 228792 228792 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4733594 4733594 0 0.0
RAM 204776 204776 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4359332 4359332 0 0.0
RAM 198448 198448 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4498356 4498356 0 0.0
RAM 203032 203032 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3030061 3030061 0 0.0
RAM 160424 160424 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4103472 4103472 0 0.0
RAM 243040 243040 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5958757 5958757 0 0.0
RAM 596016 596016 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11054349 11054349 0 0.0
RAM 692152 692152 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 917588 917588 0 0.0
RAM 143292 143292 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890096 890096 0 0.0
RAM 141487 141487 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 851732 851732 0 0.0
RAM 142200 142200 0 0.0
nxp contact k32w0+release FLASH 585408 585408 0 0.0
RAM 71080 71080 0 0.0
mcxw71+release FLASH 600016 600016 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 612364 612364 0 0.0
RAM 70472 70472 0 0.0
k32w1+release FLASH 686552 686552 0 0.0
RAM 48808 48808 0 0.0
lock mcxw71+release FLASH 762896 762896 0 0.0
RAM 70844 70844 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646348 1646348 0 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554092 1554092 0 0.0
RAM 208904 208904 0 0.0
light cy8ckit_062s2_43012 FLASH 1469404 1469404 0 0.0
RAM 200880 200880 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467148 1467148 0 0.0
RAM 225240 225240 0 0.0
qpg lighting-app qpg6105+debug FLASH 663976 663976 0 0.0
RAM 105424 105424 0 0.0
lock-app qpg6105+debug FLASH 621772 621772 0 0.0
RAM 99868 99868 0 0.0
stm32 light STM32WB5MM-DK FLASH 484696 484696 0 0.0
RAM 144880 144880 0 0.0
telink bridge-app tlsr9258a FLASH 682826 682826 0 0.0
RAM 91208 91208 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623252 623252 0 0.0
RAM 31440 31440 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 764750 764750 0 0.0
RAM 50220 50220 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710678 710678 0 0.0
RAM 73504 73504 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 627784 627784 0 0.0
RAM 142140 142140 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813712 813712 0 0.0
RAM 99684 99684 0 0.0
tizen all-clusters-app arm unknown 4988 4988 0 0.0
FLASH 1732480 1732480 0 0.0
RAM 90744 90744 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17969454 17969454 0 0.0
RAM 7840748 7840748 0 0.0

@asirko-soft asirko-soft marked this pull request as ready for review December 9, 2024 15:49
Copy link

github-actions bot commented Dec 18, 2024

PR #36703: Size comparison from b0d0614 to 7fa71d7

Full report (19 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, tizen)
platform target config section b0d0614 7fa71d7 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1353786 0 0.0
RAM 104136 104136 0 0.0
bl702 lighting-app bl702+eth FLASH 651960 651960 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829548 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058020 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979394 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839984 839984 0 0.0
RAM 123672 123672 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825508 825508 0 0.0
RAM 125560 125560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772372 0 0.0
RAM 114036 114036 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756560 0 0.0
RAM 114236 114236 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 539853 0 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574165 574165 0 0.0
RAM 205920 205920 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918120 918120 0 0.0
RAM 143308 143308 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890264 890264 0 0.0
RAM 141495 141495 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852004 852004 0 0.0
RAM 142220 142220 0 0.0
qpg lighting-app qpg6105+debug FLASH 664304 664304 0 0.0
RAM 105432 105432 0 0.0
lock-app qpg6105+debug FLASH 622108 622108 0 0.0
RAM 99884 99884 0 0.0
stm32 light STM32WB5MM-DK FLASH 485012 485012 0 0.0
RAM 144888 144888 0 0.0
tizen all-clusters-app arm unknown 4996 4996 0 0.0
FLASH 1735008 1735008 0 0.0
RAM 90788 90788 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17973686 17973686 0 0.0
RAM 7842724 7842724 0 0.0

Copy link

github-actions bot commented Dec 18, 2024

PR #36703: Size comparison from b0d0614 to 1a8d6b2

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 b0d0614 1a8d6b2 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1353786 0 0.0
RAM 104136 104136 0 0.0
bl702 lighting-app bl702+eth FLASH 651960 651960 0 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829548 0 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058020 0 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979394 0 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839984 839984 0 0.0
RAM 123672 123672 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825508 825508 0 0.0
RAM 125560 125560 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772372 0 0.0
RAM 114036 114036 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756560 0 0.0
RAM 114236 114236 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 539853 0 0.0
RAM 205776 205776 0 0.0
lock CC3235SF_LAUNCHXL FLASH 574165 574165 0 0.0
RAM 205920 205920 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681745 0 0.0
RAM 78732 78732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81372 81372 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701597 0 0.0
RAM 81372 81372 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658525 0 0.0
RAM 73800 73800 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618361 618361 0 0.0
RAM 71724 71724 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637989 637989 0 0.0
RAM 74268 74268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637989 637989 0 0.0
RAM 74268 74268 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637761 637761 0 0.0
RAM 74732 74732 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657469 657469 0 0.0
RAM 77276 77276 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657469 657469 0 0.0
RAM 77276 77276 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614213 614213 0 0.0
RAM 68820 68820 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634073 634073 0 0.0
RAM 71452 71452 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634073 634073 0 0.0
RAM 71452 71452 0 0.0
efr32 lock-app BRD4187C FLASH 932620 932620 0 0.0
RAM 160204 160204 0 0.0
BRD4338a FLASH 746584 746584 0 0.0
RAM 233332 233332 0 0.0
window-app BRD4187C FLASH 1025264 1025256 -8 -0.0
RAM 128308 128308 0 0.0
esp32 all-clusters-app c3devkit DRAM 95376 95376 0 0.0
FLASH 1543600 1543600 0 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116320 116320 0 0.0
FLASH 1550198 1550198 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2716225 2716225 0 0.0
RAM 129928 129928 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6009676 6009676 0 0.0
RAM 523640 523640 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5346184 5346184 0 0.0
RAM 242728 242728 0 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4685720 4685720 0 0.0
RAM 218528 218528 0 0.0
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12849428 12849428 0 0.0
RAM 582506 582506 0 0.0
chip-tool-ipv6only arm64 unknown 21352 21352 0 0.0
FLASH 10984032 10984032 0 0.0
RAM 633432 633432 0 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255977 11255977 0 0.0
RAM 582850 582850 0 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4511112 4511112 0 0.0
RAM 205696 205696 0 0.0
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5611173 5611173 0 0.0
RAM 472696 472696 0 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5622449 5622449 0 0.0
RAM 228888 228888 0 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4734992 4734992 0 0.0
RAM 204872 204872 0 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4360698 4360698 0 0.0
RAM 198560 198560 0 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4499722 4499722 0 0.0
RAM 203144 203144 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3033613 3033613 0 0.0
RAM 160552 160552 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4104928 4104928 0 0.0
RAM 243168 243168 0 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5960293 5960293 0 0.0
RAM 596128 596128 0 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11055821 11055821 0 0.0
RAM 692328 692328 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918120 918120 0 0.0
RAM 143308 143308 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890264 890264 0 0.0
RAM 141495 141495 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852004 852004 0 0.0
RAM 142220 142220 0 0.0
nxp contact k32w0+release FLASH 585624 585624 0 0.0
RAM 71088 71088 0 0.0
mcxw71+release FLASH 600320 600320 0 0.0
RAM 63184 63184 0 0.0
light k32w0+release FLASH 612548 612548 0 0.0
RAM 70480 70480 0 0.0
k32w1+release FLASH 686808 686808 0 0.0
RAM 48816 48816 0 0.0
lock mcxw71+release FLASH 763216 763216 0 0.0
RAM 70852 70852 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647148 1647148 0 0.0
RAM 212104 212104 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554580 1554580 0 0.0
RAM 208920 208920 0 0.0
light cy8ckit_062s2_43012 FLASH 1469884 1469884 0 0.0
RAM 200888 200888 0 0.0
lock cy8ckit_062s2_43012 FLASH 1467620 1467620 0 0.0
RAM 225248 225248 0 0.0
qpg lighting-app qpg6105+debug FLASH 664304 664304 0 0.0
RAM 105432 105432 0 0.0
lock-app qpg6105+debug FLASH 622108 622108 0 0.0
RAM 99884 99884 0 0.0
stm32 light STM32WB5MM-DK FLASH 485012 485012 0 0.0
RAM 144888 144888 0 0.0
telink bridge-app tlsr9258a FLASH 683216 683216 0 0.0
RAM 91224 91224 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 623630 623630 0 0.0
RAM 31456 31456 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772448 772448 0 0.0
RAM 49316 49316 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711070 711070 0 0.0
RAM 73520 73520 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628086 628086 0 0.0
RAM 142156 142156 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814104 814104 0 0.0
RAM 99700 99700 0 0.0
tizen all-clusters-app arm unknown 4996 4996 0 0.0
FLASH 1735008 1735008 0 0.0
RAM 90788 90788 0 0.0
chip-tool-ubsan arm unknown 10804 10804 0 0.0
FLASH 17973686 17973686 0 0.0
RAM 7842724 7842724 0 0.0

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.

Left two suggestions. That second one is totally my fault - should have realized that earlier. My apologies.

With those changes, this PR looks good, so just ping me once those changes are done and I can checkmark this.

The other thing that will need to happen here is an update to the test plan to remove the PICS markings. Once you add the expected outcome strings, we have a script that can dump the test plan table, so it's just a copy-paste, open PR thing.

The test plan generation script is here: https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/test_plan_table_generator.py

You just give the file name, class name and test name. So that would be

python src/python_testing/test_plan_table_generator.py TC_TCTL_2_3.py TC_TCTL_2_3  test_TC_TCTL_2_3

A bit redundant, but oh well.

The test plan is here: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/temperaturecontrol.adoc#tc-tctl-2-3-optional-temperature-level-attributes-with-dut_server

You would just replace the table in the "Test Procedure" section with the one that's generated, and open a PR saying that you're removing the PICS markers because those attributes are mandatory when the TL feature is supported.

steps = [
TestStep(1, "Commissioning, already done", is_commissioning=True),
TestStep(2, "TH reads from the DUT the SelectedTemperatureLevel attribute"),
TestStep(3, "TH reads from the DUT the SupportedTemperatureLevels attribute and verifies string lengths"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind adding in the expected outcome strings here too? It's not a huge deal, but it makes it much easier to update the test plan.

Copy link
Author

Choose a reason for hiding this comment

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

Sure, added


# Step 2: Read SelectedTemperatureLevel attribute
self.step(2)
if self.attribute_guard(endpoint=self.endpoint, attribute=attributes.SelectedTemperatureLevel):
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sorry - I know I commented earlier that these should be changed to attribute_guard (and this is totally correct, btw - thank you). But I also just realized that these attributes are mandatory when this feature is enabled. In other words, I believe the test plan is incorrect here and you've accidentally uncovered a test bug. You can just assume these two attributes are there. In other words, just remove this attribute guard, those attributes are there, and if they're not, then the test will throw an exception, and that exception is correct and expected because it means the device configuration is incorrect.

Copy link
Author

Choose a reason for hiding this comment

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

Got it, really useful input for understanding this functionality. I've removed attribute guard.

Copy link

github-actions bot commented Dec 19, 2024

PR #36703: Size comparison from b0d0614 to 0daf2a1

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 b0d0614 0daf2a19 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1353786 1354296 510 0.0
RAM 104136 104144 8 0.0
bl702 lighting-app bl702+eth FLASH 651960 652076 116 0.0
RAM 25353 25353 0 0.0
bl702+wifi FLASH 829548 829680 132 0.0
RAM 14093 14093 0 0.0
bl706+mfd+rpc+littlefs FLASH 1058020 1058152 132 0.0
RAM 23933 23933 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 979394 979526 132 0.0
RAM 16596 16596 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 839984 840080 96 0.0
RAM 123672 123680 8 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 825508 825612 104 0.0
RAM 125560 125568 8 0.0
pump-app LP_EM_CC1354P10_6 FLASH 772372 772488 116 0.0
RAM 114036 114044 8 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 756560 756668 108 0.0
RAM 114236 114244 8 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 539853 540017 164 0.0
RAM 205776 205784 8 0.0
lock CC3235SF_LAUNCHXL FLASH 574165 574329 164 0.0
RAM 205920 205928 8 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 681745 681865 120 0.0
RAM 78732 78740 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 701597 701717 120 0.0
RAM 81372 81380 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 701597 701717 120 0.0
RAM 81372 81380 8 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 658525 658645 120 0.0
RAM 73800 73808 8 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618361 618489 128 0.0
RAM 71724 71732 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 637989 638117 128 0.0
RAM 74268 74276 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 637989 638117 128 0.0
RAM 74268 74276 8 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 637761 637889 128 0.0
RAM 74732 74740 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 657469 657597 128 0.0
RAM 77276 77284 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 657469 657597 128 0.0
RAM 77276 77284 8 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614213 614341 128 0.0
RAM 68820 68828 8 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634073 634193 120 0.0
RAM 71452 71460 8 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634073 634193 120 0.0
RAM 71452 71460 8 0.0
efr32 lock-app BRD4187C FLASH 932620 932708 88 0.0
RAM 160204 160212 8 0.0
BRD4338a FLASH 746584 746704 120 0.0
RAM 233332 233340 8 0.0
window-app BRD4187C FLASH 1025264 1025368 104 0.0
RAM 128308 128316 8 0.0
esp32 all-clusters-app c3devkit DRAM 95376 95336 -40 -0.0
FLASH 1543600 1541870 -1730 -0.1
IRAM 82542 82552 10 0.0
m5stack DRAM 116320 116316 -4 -0.0
FLASH 1550198 1548250 -1948 -0.1
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4720 4720 0 0.0
FLASH 2716225 2716723 498 0.0
RAM 129928 130024 96 0.1
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 6009676 6010172 496 0.0
RAM 523640 523720 80 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5346184 5346680 496 0.0
RAM 242728 242808 80 0.0
bridge-app debug unknown 5440 5440 0 0.0
FLASH 4685720 4686216 496 0.0
RAM 218528 218656 128 0.1
chip-tool debug unknown 5992 5992 0 0.0
FLASH 12849428 12849868 440 0.0
RAM 582506 582594 88 0.0
chip-tool-ipv6only arm64 unknown 21352 21360 8 0.0
FLASH 10984032 10984432 400 0.0
RAM 633432 633536 104 0.0
fabric-admin debug unknown 5816 5816 0 0.0
FLASH 11255977 11256417 440 0.0
RAM 582850 582946 96 0.0
fabric-bridge-app debug unknown 4696 4696 0 0.0
FLASH 4511112 4511608 496 0.0
RAM 205696 205824 128 0.1
fabric-sync debug unknown 4936 4936 0 0.0
FLASH 5611173 5611669 496 0.0
RAM 472696 472792 96 0.0
lighting-app debug+rpc+ui unknown 6104 6104 0 0.0
FLASH 5622449 5622945 496 0.0
RAM 228888 228984 96 0.0
lock-app debug unknown 5376 5376 0 0.0
FLASH 4734992 4735488 496 0.0
RAM 204872 204968 96 0.0
ota-provider-app debug unknown 4752 4752 0 0.0
FLASH 4360698 4361194 496 0.0
RAM 198560 198656 96 0.0
ota-requestor-app debug unknown 4688 4688 0 0.0
FLASH 4499722 4500218 496 0.0
RAM 203144 203240 96 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3033613 3034109 496 0.0
RAM 160552 160640 88 0.1
thermostat-no-ble arm64 unknown 9552 9560 8 0.1
FLASH 4104928 4105424 496 0.0
RAM 243168 243288 120 0.0
tv-app debug unknown 5704 5704 0 0.0
FLASH 5960293 5960789 496 0.0
RAM 596128 596208 80 0.0
tv-casting-app debug unknown 5288 5288 0 0.0
FLASH 11055821 11056349 528 0.0
RAM 692328 692472 144 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 918120 918208 88 0.0
RAM 143308 143316 8 0.0
nrf7002dk_nrf5340_cpuapp FLASH 890264 890368 104 0.0
RAM 141495 141503 8 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852004 852092 88 0.0
RAM 142220 142228 8 0.0
nxp contact k32w0+release FLASH 585624 585712 88 0.0
RAM 71088 71096 8 0.0
mcxw71+release FLASH 600320 600416 96 0.0
RAM 63184 63192 8 0.0
light k32w0+release FLASH 612548 612620 72 0.0
RAM 70480 70488 8 0.0
k32w1+release FLASH 686808 686904 96 0.0
RAM 48816 48824 8 0.0
lock mcxw71+release FLASH 763216 763312 96 0.0
RAM 70852 70860 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647148 1647268 120 0.0
RAM 212104 212112 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554580 1554708 128 0.0
RAM 208920 208928 8 0.0
light cy8ckit_062s2_43012 FLASH 1469884 1470028 144 0.0
RAM 200888 200896 8 0.0
lock cy8ckit_062s2_43012 FLASH 1467620 1467748 128 0.0
RAM 225248 225256 8 0.0
qpg lighting-app qpg6105+debug FLASH 664304 664400 96 0.0
RAM 105432 105440 8 0.0
lock-app qpg6105+debug FLASH 622108 622212 104 0.0
RAM 99884 99892 8 0.0
stm32 light STM32WB5MM-DK FLASH 485012 485112 100 0.0
RAM 144888 144896 8 0.0
telink bridge-app tlsr9258a FLASH 683216 683318 102 0.0
RAM 91224 91232 8 0.0
contact-sensor-app tlsr9528a_retention FLASH 623630 623738 108 0.0
RAM 31456 31472 16 0.1
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 772448 772556 108 0.0
RAM 49316 49332 16 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711070 711178 108 0.0
RAM 73520 73528 8 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628086 628188 102 0.0
RAM 142156 142164 8 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814104 814206 102 0.0
RAM 99700 99708 8 0.0
tizen all-clusters-app arm unknown 4996 5000 4 0.1
FLASH 1735008 1735372 364 0.0
RAM 90788 90840 52 0.1
chip-tool-ubsan arm unknown 10804 10808 4 0.0
FLASH 17973686 17975430 1744 0.0
RAM 7842724 7843464 740 0.0

@asirko-soft
Copy link
Author

Left two suggestions. That second one is totally my fault - should have realized that earlier. My apologies.

With those changes, this PR looks good, so just ping me once those changes are done and I can checkmark this.

The other thing that will need to happen here is an update to the test plan to remove the PICS markings. Once you add the expected outcome strings, we have a script that can dump the test plan table, so it's just a copy-paste, open PR thing.

The test plan generation script is here: https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/test_plan_table_generator.py

You just give the file name, class name and test name. So that would be

python src/python_testing/test_plan_table_generator.py TC_TCTL_2_3.py TC_TCTL_2_3  test_TC_TCTL_2_3

A bit redundant, but oh well.

The test plan is here: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/temperaturecontrol.adoc#tc-tctl-2-3-optional-temperature-level-attributes-with-dut_server

You would just replace the table in the "Test Procedure" section with the one that's generated, and open a PR saying that you're removing the PICS markers because those attributes are mandatory when the TL feature is supported.

I've made a requested changes and asked Juan to raise a PR to a test plan repo https://github.com/CHIP-Specifications/chip-test-plans/pull/4834 as I still have to get access to CHIP-Specifications organization

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