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

Testing fixes for TC_SWTCH from TE2 #34984

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

tcarmelveilleux
Copy link
Contributor

  • all-clusters-app was not generating button position changes in some cases. This was not detected in some situations since the test cases don't always test for this.
  • Prompts are missing endpoint ID which makes it hard when running per-endpoint tests to know where it applies.
  • Some partials could fail on decode errors, causing test errors instead of fails.

This PR:

  • Adds correct generation of positions on press/release.
  • Adds a way to claim endpoint tested in user prompts
  • Fixes failing on decode errors in partials

Testing done:

- all-clusters-app was not generating button position
  changes in some cases. This was not detected in some
  situations since the test cases don't always test for this.
- Prompts are missing endpoint ID which makes it hard when running
  per-endpoint tests to know where it applies.
- Some partials could fail on decode errors, causing test errors
  instead of fails.

This PR:

- Adds correct generation of positions on press/release.
- Adds a way to claim endpoint tested in user prompts
- Fixes failing on decode errors in partials

Testing done:

- TC_SWTCH still passes
- Manually validated button position in multi-press test/simulation
  (update to TC_SWTCH needs test plan changes). Issue is in
  all-clusters-app for CI only. See
  CHIP-Specifications/chip-test-plans#4493
@tcarmelveilleux tcarmelveilleux added the matter-1.4-te2-script-change Script changes before end of Matter 1.4 TE2 label Aug 14, 2024
Copy link

semanticdiff-com bot commented Aug 14, 2024

Review changes with SemanticDiff.

Analyzed 2 of 4 files.

Overall, the semantic diff is 19% smaller than the GitHub diff.

Filename Status
✔️ src/python_testing/TC_SWTCH.py 32.04% smaller
✔️ src/python_testing/matter_testing_support.py 9.83% smaller
scripts/py_matter_yamltests/matter_yamltests/hooks.py Unsupported file format
examples/all-clusters-app/linux/ButtonEventsSimulator.cpp Unsupported file format

Copy link
Contributor

@Apollon77 Apollon77 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

github-actions bot commented Aug 14, 2024

PR #34984: Size comparison from 350b13f to 6c833dc

Full report (84 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 350b13f 6c833dc change % change
bl602 lighting-app bl602 FLASH 1278128 1278128 0 0.0
RAM 95928 95928 0 0.0
bl602+mfd FLASH 1292238 1292238 0 0.0
RAM 96072 96072 0 0.0
bl602+rpc FLASH 1317092 1317092 0 0.0
RAM 104352 104352 0 0.0
bl702 lighting-app bl702 FLASH 943988 943988 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946388 946388 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039044 1039044 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 646706 646706 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894312 894312 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 960392 960392 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963270 963270 0 0.0
RAM 17012 17012 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 803140 803140 0 0.0
RAM 117628 117628 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 818984 818984 0 0.0
RAM 125220 125220 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 811324 811324 0 0.0
RAM 119500 119500 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 763496 763496 0 0.0
RAM 113648 113648 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747996 747996 0 0.0
RAM 113840 113840 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 613106 613106 0 0.0
RAM 205404 205404 0 0.0
lock CC3235SF_LAUNCHXL FLASH 655074 655074 0 0.0
RAM 205620 205620 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672289 672289 0 0.0
RAM 78348 78348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692149 692149 0 0.0
RAM 80980 80980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692149 692149 0 0.0
RAM 80980 80980 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649077 649077 0 0.0
RAM 73416 73416 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610721 610721 0 0.0
RAM 71340 71340 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630349 630349 0 0.0
RAM 73892 73892 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630349 630349 0 0.0
RAM 73892 73892 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 628185 628185 0 0.0
RAM 74356 74356 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 647893 647893 0 0.0
RAM 76908 76908 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 647893 647893 0 0.0
RAM 76908 76908 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 601717 601717 0 0.0
RAM 68388 68388 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 621577 621577 0 0.0
RAM 71020 71020 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 621577 621577 0 0.0
RAM 71020 71020 0 0.0
efr32 lighting-app BRD4187C FLASH 930312 930304 -8 -0.0
RAM 135144 135144 0 0.0
lock-app BRD4338a FLASH 737468 737460 -8 -0.0
RAM 207864 207864 0 0.0
window-app BRD4187C FLASH 1015444 1015436 -8 -0.0
RAM 127084 127084 0 0.0
esp32 all-clusters-app c3devkit DRAM 94176 94176 0 0.0
FLASH 1533510 1533510 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115104 115104 0 0.0
FLASH 1543238 1543238 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2754677 2754677 0 0.0
RAM 128408 128408 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6036734 6036796 62 0.0
RAM 509704 509704 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5375786 5375786 0 0.0
RAM 240072 240072 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4728474 4728474 0 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12488074 12488074 0 0.0
RAM 557202 557202 0 0.0
chip-tool-ipv6only arm64 unknown 20312 20312 0 0.0
FLASH 11163580 11163580 0 0.0
RAM 607272 607272 0 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11199311 11199311 0 0.0
RAM 554706 554706 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4539238 4539238 0 0.0
RAM 203456 203456 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5663041 5663041 0 0.0
RAM 228008 228008 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4783222 4783222 0 0.0
RAM 203736 203736 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4423294 4423294 0 0.0
RAM 197720 197720 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4561912 4561912 0 0.0
RAM 202256 202256 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3076221 3076221 0 0.0
RAM 159200 159200 0 0.0
thermostat-no-ble arm64 unknown 9352 9352 0 0.0
FLASH 4363556 4363556 0 0.0
RAM 242416 242416 0 0.0
tv-app debug unknown 5496 5496 0 0.0
FLASH 6006501 6006501 0 0.0
RAM 582968 582968 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10691981 10691981 0 0.0
RAM 644280 644280 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 909012 909012 0 0.0
RAM 142255 142255 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 880932 880932 0 0.0
RAM 140394 140394 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 840848 840848 0 0.0
RAM 141074 141074 0 0.0
nxp contact k32w0+release FLASH 577372 577372 0 0.0
RAM 70468 70468 0 0.0
k32w1+release FLASH 592680 592680 0 0.0
RAM 74456 74456 0 0.0
light k32w0+release FLASH 612816 612816 0 0.0
RAM 69940 69940 0 0.0
k32w1+release FLASH 677640 677640 0 0.0
RAM 83232 83232 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1639108 1639108 0 0.0
RAM 210952 210952 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1543892 1543892 0 0.0
RAM 207672 207672 0 0.0
light cy8ckit_062s2_43012 FLASH 1463796 1463796 0 0.0
RAM 200776 200776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462460 1462460 0 0.0
RAM 225112 225112 0 0.0
qpg lighting-app qpg6105+debug FLASH 655908 655908 0 0.0
RAM 105152 105152 0 0.0
lock-app qpg6105+debug FLASH 613248 613248 0 0.0
RAM 99636 99636 0 0.0
stm32 light STM32WB5MM-DK FLASH 478304 478304 0 0.0
RAM 144764 144764 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620118 620118 0 0.0
RAM 50940 50940 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 680630 680630 0 0.0
RAM 149592 149592 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 773898 773898 0 0.0
RAM 110752 110752 0 0.0
bridge-app tlsr9258a FLASH 678806 678806 0 0.0
RAM 91636 91636 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621714 621714 0 0.0
RAM 50980 50980 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707596 707596 0 0.0
RAM 74320 74320 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620640 620640 0 0.0
RAM 145580 145580 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806726 806726 0 0.0
RAM 99504 99504 0 0.0
lock-app-dfu tlsr9528a FLASH 654586 654586 0 0.0
RAM 67016 67016 0 0.0
ota-requestor-app tlsr9258a FLASH 696822 696822 0 0.0
RAM 91320 91320 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631102 631102 0 0.0
RAM 55760 55760 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608612 608612 0 0.0
RAM 53004 53004 0 0.0
shell tlsr9518adk80d FLASH 466810 466810 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628502 628502 0 0.0
RAM 52700 52700 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652482 652482 0 0.0
RAM 56640 56640 0 0.0
thermostat tlsr9518adk80d FLASH 633666 633666 0 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522646 522646 0 0.0
RAM 98540 98540 0 0.0
tizen all-clusters-app arm unknown 4808 4808 0 0.0
FLASH 1700832 1700832 0 0.0
RAM 89348 89348 0 0.0
chip-tool-ubsan arm unknown 10236 10236 0 0.0
FLASH 17307046 17307046 0 0.0
RAM 7560508 7560508 0 0.0

Copy link

github-actions bot commented Aug 27, 2024

PR #34984: Size comparison from 6d65c0a to 2d62102

Full report (10 builds for nrfconnect, nxp, qpg, stm32)
platform target config section 6d65c0a 2d62102 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910356 910356 0 0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882308 882308 0 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841408 841408 0 0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577732 577732 0 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590352 590352 0 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613160 613160 0 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 675024 675024 0 0.0
RAM 71472 71472 0 0.0
qpg lighting-app qpg6105+debug FLASH 656220 656220 0 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 614144 614144 0 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478560 478560 0 0.0
RAM 144716 144716 0 0.0

Copy link

github-actions bot commented Aug 27, 2024

PR #34984: Size comparison from d705323 to d56d9e1

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section d705323 d56d9e1 change % change
bl602 lighting-app bl602 FLASH 1278766 1278766 0 0.0
RAM 95880 95880 0 0.0
bl602+mfd FLASH 1292876 1292876 0 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1317730 1317730 0 0.0
RAM 104304 104304 0 0.0
bl702 lighting-app bl702 FLASH 944380 944380 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946780 946780 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039692 1039692 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647452 647452 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894866 894866 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 961040 961040 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963662 963662 0 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672593 672593 0 0.0
RAM 78300 78300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692453 692453 0 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692453 692453 0 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649389 649389 0 0.0
RAM 73368 73368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611113 611113 0 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630749 630749 0 0.0
RAM 73844 73844 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630749 630749 0 0.0
RAM 73844 73844 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629153 629153 0 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648861 648861 0 0.0
RAM 76860 76860 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648861 648861 0 0.0
RAM 76860 76860 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603093 603093 0 0.0
RAM 68348 68348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 622953 622953 0 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 622953 622953 0 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 930684 930676 -8 -0.0
RAM 135096 135096 0 0.0
lock-app BRD4338a FLASH 740732 740724 -8 -0.0
RAM 208492 208492 0 0.0
window-app BRD4187C FLASH 1015808 1015800 -8 -0.0
RAM 127036 127036 0 0.0
esp32 all-clusters-app c3devkit DRAM 94200 94200 0 0.0
FLASH 1534018 1534018 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1544082 1544082 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2760195 2760195 0 0.0
RAM 128520 128520 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6047178 6047240 62 0.0
RAM 510088 510088 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5383068 5383068 0 0.0
RAM 240232 240232 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4730458 4730458 0 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12648900 12648900 0 0.0
RAM 558418 558418 0 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11321036 11321036 0 0.0
RAM 608488 608488 0 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10926947 10926947 0 0.0
RAM 556618 556618 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4552130 4552130 0 0.0
RAM 203728 203728 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5666497 5666497 0 0.0
RAM 228056 228056 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4785804 4785804 0 0.0
RAM 203768 203768 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4425278 4425278 0 0.0
RAM 197752 197752 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4563896 4563896 0 0.0
RAM 202288 202288 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3085453 3085453 0 0.0
RAM 159040 159040 0 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4323356 4323356 0 0.0
RAM 241888 241888 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6010325 6010325 0 0.0
RAM 583256 583256 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10853725 10853725 0 0.0
RAM 645832 645832 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910528 910528 0 0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882504 882504 0 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841572 841572 0 0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577732 577732 0 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590352 590352 0 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613160 613160 0 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 675024 675024 0 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1641356 1641356 0 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1545052 1545052 0 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1464476 1464476 0 0.0
RAM 200728 200728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463524 1463524 0 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 656220 656220 0 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 614144 614144 0 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478560 478560 0 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620414 620414 0 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 682366 682366 0 0.0
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 774602 774602 0 0.0
RAM 110712 110712 0 0.0
bridge-app tlsr9258a FLASH 679144 679144 0 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622006 622006 0 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708016 708016 0 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620846 620846 0 0.0
RAM 145532 145532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806978 806978 0 0.0
RAM 99456 99456 0 0.0
lock-app-dfu tlsr9528a FLASH 654988 654988 0 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697272 697272 0 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631452 631452 0 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608962 608962 0 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466890 466890 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628792 628792 0 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652944 652944 0 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635450 635450 0 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522948 522948 0 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4848 4848 0 0.0
FLASH 1710108 1710108 0 0.0
RAM 89376 89376 0 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17508630 17508630 0 0.0
RAM 7600684 7600684 0 0.0

@mergify mergify bot merged commit 506d973 into project-chip:master Aug 28, 2024
67 checks passed
hasty pushed a commit to hasty/connectedhomeip that referenced this pull request Aug 29, 2024
* Testing fixes for TC_SWTCH from TE2

- all-clusters-app was not generating button position
  changes in some cases. This was not detected in some
  situations since the test cases don't always test for this.
- Prompts are missing endpoint ID which makes it hard when running
  per-endpoint tests to know where it applies.
- Some partials could fail on decode errors, causing test errors
  instead of fails.

This PR:

- Adds correct generation of positions on press/release.
- Adds a way to claim endpoint tested in user prompts
- Fixes failing on decode errors in partials

Testing done:

- TC_SWTCH still passes
- Manually validated button position in multi-press test/simulation
  (update to TC_SWTCH needs test plan changes). Issue is in
  all-clusters-app for CI only. See
  CHIP-Specifications/chip-test-plans#4493

* Restyled by autopep8

* Update prompt support

---------

Co-authored-by: Restyled.io <[email protected]>
shgutte pushed a commit to shgutte/connectedhomeip that referenced this pull request Sep 10, 2024
* Testing fixes for TC_SWTCH from TE2

- all-clusters-app was not generating button position
  changes in some cases. This was not detected in some
  situations since the test cases don't always test for this.
- Prompts are missing endpoint ID which makes it hard when running
  per-endpoint tests to know where it applies.
- Some partials could fail on decode errors, causing test errors
  instead of fails.

This PR:

- Adds correct generation of positions on press/release.
- Adds a way to claim endpoint tested in user prompts
- Fixes failing on decode errors in partials

Testing done:

- TC_SWTCH still passes
- Manually validated button position in multi-press test/simulation
  (update to TC_SWTCH needs test plan changes). Issue is in
  all-clusters-app for CI only. See
  CHIP-Specifications/chip-test-plans#4493

* Restyled by autopep8

* Update prompt support

---------

Co-authored-by: Restyled.io <[email protected]>
mergify bot pushed a commit that referenced this pull request Oct 23, 2024
* [HVAC] Check if number of preset scenarios exceeds maximum number of scenarios

* [NXP][Zephyr] Provide AP band in connection request parameters (#35181)

Signed-off-by: Axel Le Bourhis <[email protected]>

* Plumbing for CADMIN attribute updates from fabric-admin to fabric-bridge (#35222)

* Fix TC_BRBINFO_4_1 for execution on TH (#35257)

* [Fabric-Admin] Move DeviceSynchronization from pairing command to device_manager (#35260)

* Move DeviceSynchronization from pairing command to device_manager

* Restyled by gn

---------

Co-authored-by: Restyled.io <[email protected]>

* Add command-line argument to allow userprompt at start of ECOINFO_2_1 (#35234)

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: saurabhst <[email protected]>

* Testing fixes for TC_SWTCH from TE2 (#34984)

* Testing fixes for TC_SWTCH from TE2

- all-clusters-app was not generating button position
  changes in some cases. This was not detected in some
  situations since the test cases don't always test for this.
- Prompts are missing endpoint ID which makes it hard when running
  per-endpoint tests to know where it applies.
- Some partials could fail on decode errors, causing test errors
  instead of fails.

This PR:

- Adds correct generation of positions on press/release.
- Adds a way to claim endpoint tested in user prompts
- Fixes failing on decode errors in partials

Testing done:

- TC_SWTCH still passes
- Manually validated button position in multi-press test/simulation
  (update to TC_SWTCH needs test plan changes). Issue is in
  all-clusters-app for CI only. See
  CHIP-Specifications/chip-test-plans#4493

* Restyled by autopep8

* Update prompt support

---------

Co-authored-by: Restyled.io <[email protected]>

* Add test cases for testing additional Presets write and commit constr… (#35141)

* Add test cases for testing additional Presets write and commit constraints

- Add a test for adding a preset with a preset scenario not present in PresetTypes

- Add a test for testing addition of presets such that the total number of presets added is greater than the total number of presets supported

* Add rollback after test step 18

* Modify the number of presets supported test case to read the number of presets supported and build a preset list whose size exceeds that to test

* Modify the number of presets supported test case to read the number of presets supported and build a preset list whose size exceeds that to test

* Update thermostat-delegate-impl.h

* Address review comments

* Add support to check for numberOfPresets supported for each preset type and build the presets list with multiple presets of each type

* Restyled by autopep8

* Fix log line formatting

* Update src/python_testing/TC_TSTAT_4_2.py

Co-authored-by: Boris Zbarsky <[email protected]>

* Fix test step 17 to find a preset scenario in PresetScenarioEnum that is not present in PresetTypes to run the test

- Fix test step 18 to build a presets list that exceeds the number of presets supported correctly

* Restyled by autopep8

* Fix lint errors

* Add a while loop to add more presets until max is reached

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>

* Allow TestAccessControl to run with ARL (#35262)

* Allow TestAccessControl to run with ARL

Since RequestType is required, set each test data entry to some
value that will pass AccessRestrictionProvider checks (since the
focus is on AccessControl for these tests).

* Copy the test data's request path and optionally add RequestType

* Make zap_downloadl.py create a usable zap.app on Mac (#35242)

Use the unzip utility on Mac for unzipping instead of zipfile.

In addition to not supporting file modes (which the script already works
around) the zipfile module also doesn't support symlinks. The embedded
frameworks inside zap.app rely on symlinks for the application to work.

* TBRM Tests scripts consistency with  te2 fixes (#35153)

* Add files via upload

Add yaml test script for TBRM

* Update TEST_TC_TBRM_2.2.yaml

* Update TEST_TC_TBRM_2.3.yaml

* Update TEST_TC_TBRM_2.4.yaml

* Test script consitancy wit test plan after TE2

* Test script consitancy wit test plan after TE2

* Update src/app/tests/suites/certification/Test_TC_TBRM_2_3.yaml

Co-authored-by: Karsten Sperling <[email protected]>

* Update src/app/tests/suites/certification/Test_TC_TBRM_2_2.yaml

Co-authored-by: Karsten Sperling <[email protected]>

* Restyled by whitespace

* Restyled by prettier-yaml

* Test_TC_TBRM_2_4. synchronisation with TC-THNETDIR-2.3 according test Plan

* Restyled by whitespace

* Test tweaks to get CI to pass

- Use pairing payload matching the other parameters
- Check response of ArmFailSafe commands
- Fix bad merge in commissioner_commands.py

* Restyled by prettier-yaml

---------

Co-authored-by: StephaneGUELEC <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>

* [HVAC] Alter Thermostat Preset tests to not rely on knowledge of the server's initial state

* Pick midpoint setpoints for new presets

* Lint fixes

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Fixes from code review

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Fix remaining places with hard-coded setpoints

* Don't abort test if there are no built-in presets

* Remove unneeded length check

* Fix max number of preset types

* Add test for individual preset scenario limits

* Fix lint issue

* Return invalid in state if we're unable to iterate over the preset types for some reason

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Remove unneeded active preset setting

* Restyled patch

* Suggestions from code review

---------

Signed-off-by: Axel Le Bourhis <[email protected]>
Co-authored-by: Axel Le Bourhis <[email protected]>
Co-authored-by: Terence Hampson <[email protected]>
Co-authored-by: Yufeng Wang <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: saurabhst <[email protected]>
Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Co-authored-by: Nivi Sarkar <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Thomas Lea <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: marchemi <[email protected]>
Co-authored-by: StephaneGUELEC <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
* [HVAC] Check if number of preset scenarios exceeds maximum number of scenarios

* [NXP][Zephyr] Provide AP band in connection request parameters (project-chip#35181)

Signed-off-by: Axel Le Bourhis <[email protected]>

* Plumbing for CADMIN attribute updates from fabric-admin to fabric-bridge (project-chip#35222)

* Fix TC_BRBINFO_4_1 for execution on TH (project-chip#35257)

* [Fabric-Admin] Move DeviceSynchronization from pairing command to device_manager (project-chip#35260)

* Move DeviceSynchronization from pairing command to device_manager

* Restyled by gn

---------

Co-authored-by: Restyled.io <[email protected]>

* Add command-line argument to allow userprompt at start of ECOINFO_2_1 (project-chip#35234)

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: saurabhst <[email protected]>

* Testing fixes for TC_SWTCH from TE2 (project-chip#34984)

* Testing fixes for TC_SWTCH from TE2

- all-clusters-app was not generating button position
  changes in some cases. This was not detected in some
  situations since the test cases don't always test for this.
- Prompts are missing endpoint ID which makes it hard when running
  per-endpoint tests to know where it applies.
- Some partials could fail on decode errors, causing test errors
  instead of fails.

This PR:

- Adds correct generation of positions on press/release.
- Adds a way to claim endpoint tested in user prompts
- Fixes failing on decode errors in partials

Testing done:

- TC_SWTCH still passes
- Manually validated button position in multi-press test/simulation
  (update to TC_SWTCH needs test plan changes). Issue is in
  all-clusters-app for CI only. See
  https://github.com/CHIP-Specifications/chip-test-plans/issues/4493

* Restyled by autopep8

* Update prompt support

---------

Co-authored-by: Restyled.io <[email protected]>

* Add test cases for testing additional Presets write and commit constr… (project-chip#35141)

* Add test cases for testing additional Presets write and commit constraints

- Add a test for adding a preset with a preset scenario not present in PresetTypes

- Add a test for testing addition of presets such that the total number of presets added is greater than the total number of presets supported

* Add rollback after test step 18

* Modify the number of presets supported test case to read the number of presets supported and build a preset list whose size exceeds that to test

* Modify the number of presets supported test case to read the number of presets supported and build a preset list whose size exceeds that to test

* Update thermostat-delegate-impl.h

* Address review comments

* Add support to check for numberOfPresets supported for each preset type and build the presets list with multiple presets of each type

* Restyled by autopep8

* Fix log line formatting

* Update src/python_testing/TC_TSTAT_4_2.py

Co-authored-by: Boris Zbarsky <[email protected]>

* Fix test step 17 to find a preset scenario in PresetScenarioEnum that is not present in PresetTypes to run the test

- Fix test step 18 to build a presets list that exceeds the number of presets supported correctly

* Restyled by autopep8

* Fix lint errors

* Add a while loop to add more presets until max is reached

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>

* Allow TestAccessControl to run with ARL (project-chip#35262)

* Allow TestAccessControl to run with ARL

Since RequestType is required, set each test data entry to some
value that will pass AccessRestrictionProvider checks (since the
focus is on AccessControl for these tests).

* Copy the test data's request path and optionally add RequestType

* Make zap_downloadl.py create a usable zap.app on Mac (project-chip#35242)

Use the unzip utility on Mac for unzipping instead of zipfile.

In addition to not supporting file modes (which the script already works
around) the zipfile module also doesn't support symlinks. The embedded
frameworks inside zap.app rely on symlinks for the application to work.

* TBRM Tests scripts consistency with  te2 fixes (project-chip#35153)

* Add files via upload

Add yaml test script for TBRM

* Update TEST_TC_TBRM_2.2.yaml

* Update TEST_TC_TBRM_2.3.yaml

* Update TEST_TC_TBRM_2.4.yaml

* Test script consitancy wit test plan after TE2

* Test script consitancy wit test plan after TE2

* Update src/app/tests/suites/certification/Test_TC_TBRM_2_3.yaml

Co-authored-by: Karsten Sperling <[email protected]>

* Update src/app/tests/suites/certification/Test_TC_TBRM_2_2.yaml

Co-authored-by: Karsten Sperling <[email protected]>

* Restyled by whitespace

* Restyled by prettier-yaml

* Test_TC_TBRM_2_4. synchronisation with TC-THNETDIR-2.3 according test Plan

* Restyled by whitespace

* Test tweaks to get CI to pass

- Use pairing payload matching the other parameters
- Check response of ArmFailSafe commands
- Fix bad merge in commissioner_commands.py

* Restyled by prettier-yaml

---------

Co-authored-by: StephaneGUELEC <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>

* [HVAC] Alter Thermostat Preset tests to not rely on knowledge of the server's initial state

* Pick midpoint setpoints for new presets

* Lint fixes

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Fixes from code review

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Fix remaining places with hard-coded setpoints

* Don't abort test if there are no built-in presets

* Remove unneeded length check

* Fix max number of preset types

* Add test for individual preset scenario limits

* Fix lint issue

* Return invalid in state if we're unable to iterate over the preset types for some reason

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Remove unneeded active preset setting

* Restyled patch

* Suggestions from code review

---------

Signed-off-by: Axel Le Bourhis <[email protected]>
Co-authored-by: Axel Le Bourhis <[email protected]>
Co-authored-by: Terence Hampson <[email protected]>
Co-authored-by: Yufeng Wang <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: saurabhst <[email protected]>
Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Co-authored-by: Nivi Sarkar <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Thomas Lea <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: marchemi <[email protected]>
Co-authored-by: StephaneGUELEC <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
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.

8 participants