Skip to content

Stop running the MTRDevice dealloc test when pool width is not 1. #38854

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

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

This fails intermittently in testSubscriptionPoolManyDevices, but more importantly: this dealloc test only makes sense in the width-1 case, because if the pool width is not 1 then the test is not testing anything (because nothing gets blocked on the one badly behaving thing if it does behave badly).

Testing

Unit test changes only.

Copy link

github-actions bot commented May 9, 2025

PR #38854: Size comparison from a46f52c to e3fcc36

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section a46f52c e3fcc36 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102286 1102286 0 0.0
RAM 94882 94882 0 0.0
bl702 lighting-app bl702+eth FLASH 656842 656842 0 0.0
RAM 33645 33645 0 0.0
bl702+wifi FLASH 834096 834096 0 0.0
RAM 22369 22369 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066952 1066952 0 0.0
RAM 32293 32293 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 897768 897768 0 0.0
RAM 27040 27040 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980552 980552 0 0.0
RAM 24780 24780 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 821716 821716 0 0.0
RAM 120296 120296 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 831528 831528 0 0.0
RAM 125432 125432 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 778416 778416 0 0.0
RAM 113780 113780 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 762748 762748 0 0.0
RAM 113988 113988 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549002 549002 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581050 581050 0 0.0
RAM 205440 205440 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 663261 663261 0 0.0
RAM 77324 77324 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 683113 683113 0 0.0
RAM 79964 79964 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 683113 683113 0 0.0
RAM 79964 79964 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 640053 640053 0 0.0
RAM 72392 72392 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623405 623405 0 0.0
RAM 73564 73564 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643041 643041 0 0.0
RAM 76116 76116 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643041 643041 0 0.0
RAM 76116 76116 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 643701 643701 0 0.0
RAM 76588 76588 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 663417 663417 0 0.0
RAM 79140 79140 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 663417 663417 0 0.0
RAM 79140 79140 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620065 620065 0 0.0
RAM 70684 70684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639917 639917 0 0.0
RAM 73316 73316 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639917 639917 0 0.0
RAM 73316 73316 0 0.0
efr32 lock-app BRD4187C FLASH 946276 946276 0 0.0
RAM 132096 132096 0 0.0
BRD4338a FLASH 772800 772792 -8 -0.0
RAM 173328 173328 0 0.0
window-app BRD4187C FLASH 1038760 1038760 0 0.0
RAM 128232 128232 0 0.0
esp32 all-clusters-app c3devkit DRAM 103328 103328 0 0.0
FLASH 1805448 1805448 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121932 121932 0 0.0
FLASH 1770642 1770642 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2787212 2787212 0 0.0
RAM 115032 115032 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6340936 6340936 0 0.0
RAM 533496 533496 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5445196 5445196 0 0.0
RAM 225000 225000 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4761600 4761600 0 0.0
RAM 204640 204640 0 0.0
camera-app debug unknown 8856 8856 0 0.0
FLASH 6896523 6896523 0 0.0
RAM 226800 226800 0 0.0
camera-controller debug unknown 9240 9240 0 0.0
FLASH 14317067 14317067 0 0.0
RAM 658800 658800 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14604557 14604557 0 0.0
RAM 645552 645552 0 0.0
chip-tool-ipv6only arm64 unknown 40328 40328 0 0.0
FLASH 12582272 12582272 0 0.0
RAM 691856 691856 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12676137 12676137 0 0.0
RAM 644912 644912 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4578638 4578638 0 0.0
RAM 190704 190704 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5718885 5718885 0 0.0
RAM 486944 486944 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5648497 5648497 0 0.0
RAM 207704 207704 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4821428 4821428 0 0.0
RAM 194904 194904 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4441386 4441386 0 0.0
RAM 184120 184120 0 0.0
ota-requestor-app debug unknown 4800 4800 0 0.0
FLASH 4569152 4569152 0 0.0
RAM 187992 187992 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3078572 3078572 0 0.0
RAM 148072 148072 0 0.0
thermostat-no-ble arm64 unknown 9608 9608 0 0.0
FLASH 4232136 4232136 0 0.0
RAM 231352 231352 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6076117 6076117 0 0.0
RAM 611568 611568 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12796765 12796765 0 0.0
RAM 766104 766104 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 919200 919200 0 0.0
RAM 167328 167328 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 911184 911184 0 0.0
RAM 145572 145572 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 856424 856424 0 0.0
RAM 141091 141091 0 0.0
nxp contact k32w0+release FLASH 591888 591888 0 0.0
RAM 72848 72848 0 0.0
mcxw71+release FLASH 624648 624648 0 0.0
RAM 63188 63188 0 0.0
light k32w0+release FLASH 617820 617820 0 0.0
RAM 72144 72144 0 0.0
k32w1+release FLASH 709120 709120 0 0.0
RAM 72036 72036 0 0.0
lock mcxw71+release FLASH 774176 774176 0 0.0
RAM 67612 67612 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1665252 1665252 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1569756 1569756 0 0.0
RAM 208504 208504 0 0.0
light cy8ckit_062s2_43012 FLASH 1447012 1447012 0 0.0
RAM 197320 197320 0 0.0
lock cy8ckit_062s2_43012 FLASH 1476868 1476868 0 0.0
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667212 667212 0 0.0
RAM 105200 105200 0 0.0
lock-app qpg6105+debug FLASH 625624 625624 0 0.0
RAM 99820 99820 0 0.0
stm32 light STM32WB5MM-DK FLASH 466052 466052 0 0.0
RAM 141504 141504 0 0.0
telink bridge-app tl7218x FLASH 693532 693532 0 0.0
RAM 101832 101832 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 774164 774164 0 0.0
RAM 50072 50072 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 771280 771280 0 0.0
RAM 40372 40372 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 781270 759736 -21534 -2.8
RAM 109252 97492 -11760 -10.8
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702648 686774 -15874 -2.3
RAM 62572 51540 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740602 715224 -25378 -3.4
RAM 85752 73360 -12392 -14.5
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712552 712552 0 0.0
RAM 36996 36996 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 607568 607568 0 0.0
RAM 119468 119468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 816580 794790 -21790 -2.7
RAM 107520 96348 -11172 -10.4
tizen all-clusters-app arm unknown 5212 5212 0 0.0
FLASH 1812288 1812288 0 0.0
RAM 94832 94832 0 0.0
chip-tool-ubsan arm unknown 20600 20600 0 0.0
FLASH 20843598 20843598 0 0.0
RAM 9067720 9067720 0 0.0

This fails intermittently in testSubscriptionPoolManyDevices, but more
importantly: this dealloc test only makes sense in the width-1 case, because if
the pool width is not 1 then the test is not testing anything (because nothing
gets blocked on the one badly behaving thing if it does behave badly).
@bzbarsky-apple bzbarsky-apple force-pushed the skip-dealloc-test-many-devices branch from e3fcc36 to 79348a8 Compare May 13, 2025 20:45
Copy link

github-actions bot commented May 13, 2025

PR #38854: Size comparison from ebe16b7 to 79348a8

Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section ebe16b7 79348a8 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1101678 1101678 0 0.0
RAM 179002 179002 0 0.0
bl702 lighting-app bl702+eth FLASH 656472 656472 0 0.0
RAM 134941 134941 0 0.0
bl702+wifi FLASH 833494 833494 0 0.0
RAM 124481 124481 0 0.0
bl706+mfd+rpc+littlefs FLASH 1066582 1066582 0 0.0
RAM 117349 117349 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 896152 896152 0 0.0
RAM 105688 105688 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 979926 979926 0 0.0
RAM 109836 109836 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 820132 820132 0 0.0
RAM 120208 120208 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 830184 830184 0 0.0
RAM 125376 125376 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 778408 778408 0 0.0
RAM 113780 113780 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 762716 762716 0 0.0
RAM 113988 113988 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 548986 548986 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 579674 579674 0 0.0
RAM 205376 205376 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661645 661645 0 0.0
RAM 77236 77236 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681497 681497 0 0.0
RAM 79876 79876 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681497 681497 0 0.0
RAM 79876 79876 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638437 638437 0 0.0
RAM 72304 72304 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 622933 622933 0 0.0
RAM 73532 73532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 642577 642577 0 0.0
RAM 76084 76084 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 642577 642577 0 0.0
RAM 76084 76084 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 642341 642341 0 0.0
RAM 76532 76532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 662057 662057 0 0.0
RAM 79084 79084 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 662057 662057 0 0.0
RAM 79084 79084 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 618569 618569 0 0.0
RAM 70636 70636 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 638421 638421 0 0.0
RAM 73268 73268 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 638421 638421 0 0.0
RAM 73268 73268 0 0.0
efr32 lock-app BRD4187C FLASH 945084 945084 0 0.0
RAM 132024 132024 0 0.0
BRD4338a FLASH 771144 771144 0 0.0
RAM 173248 173248 0 0.0
window-app BRD4187C FLASH 1037112 1037104 -8 -0.0
RAM 128160 128160 0 0.0
esp32 all-clusters-app c3devkit DRAM 103328 103328 0 0.0
FLASH 1805438 1805438 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121932 121932 0 0.0
FLASH 1770586 1770586 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2786914 2786914 0 0.0
RAM 115032 115032 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6340606 6340606 0 0.0
RAM 533112 533112 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5444898 5444898 0 0.0
RAM 225000 225000 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4761334 4761334 0 0.0
RAM 204640 204640 0 0.0
camera-app debug unknown 8856 8856 0 0.0
FLASH 6883387 6883387 0 0.0
RAM 226168 226168 0 0.0
camera-controller debug unknown 9240 9240 0 0.0
FLASH 14309675 14309675 0 0.0
RAM 658416 658416 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14591355 14591355 0 0.0
RAM 645168 645168 0 0.0
chip-tool-ipv6only arm64 unknown 40328 40328 0 0.0
FLASH 12572560 12572560 0 0.0
RAM 691456 691456 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12668741 12668741 0 0.0
RAM 644528 644528 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4578372 4578372 0 0.0
RAM 190704 190704 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5718661 5718661 0 0.0
RAM 486560 486560 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5641729 5641729 0 0.0
RAM 207176 207176 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4813668 4813668 0 0.0
RAM 194472 194472 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4439346 4439346 0 0.0
RAM 183888 183888 0 0.0
ota-requestor-app debug unknown 4800 4800 0 0.0
FLASH 4567110 4567110 0 0.0
RAM 187792 187792 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3078316 3078316 0 0.0
RAM 148072 148072 0 0.0
thermostat-no-ble arm64 unknown 9608 9608 0 0.0
FLASH 4224864 4224864 0 0.0
RAM 230864 230864 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6074469 6074469 0 0.0
RAM 610984 610984 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12780861 12780861 0 0.0
RAM 765456 765456 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 919184 919184 0 0.0
RAM 167328 167328 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 911188 911188 0 0.0
RAM 145572 145572 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 856408 856408 0 0.0
RAM 141091 141091 0 0.0
nxp contact k32w0+release FLASH 591872 591872 0 0.0
RAM 72848 72848 0 0.0
mcxw71+release FLASH 624632 624632 0 0.0
RAM 63188 63188 0 0.0
light k32w0+release FLASH 617788 617788 0 0.0
RAM 72144 72144 0 0.0
k32w1+release FLASH 709104 709104 0 0.0
RAM 72036 72036 0 0.0
lock mcxw71+release FLASH 774160 774160 0 0.0
RAM 67612 67612 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1665236 1665236 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1569724 1569724 0 0.0
RAM 208504 208504 0 0.0
light cy8ckit_062s2_43012 FLASH 1445196 1445196 0 0.0
RAM 197224 197224 0 0.0
lock cy8ckit_062s2_43012 FLASH 1475196 1475196 0 0.0
RAM 224936 224936 0 0.0
qpg lighting-app qpg6105+debug FLASH 666740 666740 0 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 625144 625144 0 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 464484 464484 0 0.0
RAM 141416 141416 0 0.0
telink bridge-app tl7218x FLASH 693498 693498 0 0.0
RAM 101832 101832 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 772884 772884 0 0.0
RAM 49984 49984 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 779990 779990 0 0.0
RAM 109164 109164 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702258 702258 0 0.0
RAM 62544 62544 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740212 740212 0 0.0
RAM 85724 85724 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 606312 606312 0 0.0
RAM 119380 119380 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 815300 815304 4 0.0
RAM 107432 107432 0 0.0
tizen all-clusters-app arm unknown 5212 5212 0 0.0
FLASH 1812112 1812112 0 0.0
RAM 94832 94832 0 0.0
chip-tool-ubsan arm unknown 20600 20600 0 0.0
FLASH 20822742 20822742 0 0.0
RAM 9059864 9059864 0 0.0

@mergify mergify bot merged commit b8b0116 into project-chip:master May 14, 2025
71 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in [Platform] Darwin May 14, 2025
@bzbarsky-apple bzbarsky-apple deleted the skip-dealloc-test-many-devices branch May 14, 2025 17:35
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request May 15, 2025
This reverts commit 47b3a6a.

The subscription pool tests were fixed in project-chip#38854.

testMTRDeviceDealloc was fixed in project-chip#38809.

Both happened before the PR to disable them got through review and landed.
mergify bot pushed a commit that referenced this pull request May 15, 2025
This reverts commit 47b3a6a.

The subscription pool tests were fixed in #38854.

testMTRDeviceDealloc was fixed in #38809.

Both happened before the PR to disable them got through review and landed.
heinsaar pushed a commit to heinsaar/connectedhomeip that referenced this pull request May 15, 2025
…oject-chip#38854)

This fails intermittently in testSubscriptionPoolManyDevices, but more
importantly: this dealloc test only makes sense in the width-1 case, because if
the pool width is not 1 then the test is not testing anything (because nothing
gets blocked on the one badly behaving thing if it does behave badly).
heinsaar pushed a commit to heinsaar/connectedhomeip that referenced this pull request May 15, 2025
This reverts commit 47b3a6a.

The subscription pool tests were fixed in project-chip#38854.

testMTRDeviceDealloc was fixed in project-chip#38809.

Both happened before the PR to disable them got through review and landed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants