Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@andy31415
Copy link
Contributor

TestInetEndPoint.TestInetEndPointLimit seems to be flaky, hard to figure out why.

Add some debug logs.

Testing

Manually introduced a failure (increased loop counts by one) and observed failure logs:

2025-05-07 09:27:40 INFO    [1746624460.543] [2344033:2344033] [IN] UDP endpoint pool FULL
2025-05-07 09:27:40 INFO    [1746624460.543] [2344033:2344033] [TST] UDP: Failure on index 1: (out of 64)
2025-05-07 09:27:40 INFO    src/inet/tests/TestInetEndPoint.cpp:403: Failure
2025-05-07 09:27:40 INFO          Expected: err == expected_error
2025-05-07 09:27:40 INFO            Actual: CHIP_ERROR:<c1> == CHIP_NO_ERROR

@github-actions
Copy link

github-actions bot commented May 7, 2025

PR #38790: Size comparison from af29048 to e83fcd4

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 af29048 e83fcd4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1102926 1102926 0 0.0
RAM 94866 94866 0 0.0
bl702 lighting-app bl702+eth FLASH 657772 657772 0 0.0
RAM 33637 33637 0 0.0
bl702+wifi FLASH 834770 834770 0 0.0
RAM 22361 22361 0 0.0
bl706+mfd+rpc+littlefs FLASH 1067550 1067550 0 0.0
RAM 32285 32285 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 898442 898442 0 0.0
RAM 27024 27024 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 980970 980970 0 0.0
RAM 24772 24772 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 822180 822180 0 0.0
RAM 120296 120296 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 831952 831952 0 0.0
RAM 125432 125432 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 778360 778360 0 0.0
RAM 113780 113780 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 762700 762700 0 0.0
RAM 113988 113988 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 549042 549042 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 581090 581090 0 0.0
RAM 205440 205440 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 663757 663757 0 0.0
RAM 77324 77324 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 683609 683609 0 0.0
RAM 79964 79964 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 683609 683609 0 0.0
RAM 79964 79964 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 640549 640549 0 0.0
RAM 72392 72392 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 623901 623901 0 0.0
RAM 73564 73564 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 643529 643529 0 0.0
RAM 76116 76116 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 643529 643529 0 0.0
RAM 76116 76116 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 644165 644165 0 0.0
RAM 76588 76588 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 663873 663873 0 0.0
RAM 79140 79140 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 663873 663873 0 0.0
RAM 79140 79140 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620569 620569 0 0.0
RAM 70684 70684 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640421 640421 0 0.0
RAM 73316 73316 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640421 640421 0 0.0
RAM 73316 73316 0 0.0
efr32 lock-app BRD4187C FLASH 946348 946348 0 0.0
RAM 132096 132096 0 0.0
BRD4338a FLASH 741240 741240 0 0.0
RAM 206996 206996 0 0.0
window-app BRD4187C FLASH 1039048 1039040 -8 -0.0
RAM 128232 128232 0 0.0
esp32 all-clusters-app c3devkit DRAM 103328 103328 0 0.0
FLASH 1806116 1806116 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121932 121932 0 0.0
FLASH 1771238 1771238 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2781773 2781773 0 0.0
RAM 114680 114680 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6334516 6334516 0 0.0
RAM 529688 529688 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5439734 5439734 0 0.0
RAM 224616 224616 0 0.0
bridge-app debug unknown 5560 5560 0 0.0
FLASH 4756290 4756290 0 0.0
RAM 204272 204272 0 0.0
camera-app debug unknown 8856 8856 0 0.0
FLASH 6890763 6890763 0 0.0
RAM 226448 226448 0 0.0
camera-controller debug unknown 9240 9240 0 0.0
FLASH 1401271 1401271 0 0.0
RAM 645232 645232 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14229841 14229841 0 0.0
RAM 631824 631824 0 0.0
chip-tool-ipv6only arm64 unknown 39432 39432 0 0.0
FLASH 12280560 12280560 0 0.0
RAM 677928 677928 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12373185 12373185 0 0.0
RAM 631184 631184 0 0.0
fabric-bridge-app debug unknown 4808 4808 0 0.0
FLASH 4573166 4573166 0 0.0
RAM 190312 190312 0 0.0
fabric-sync debug unknown 5064 5064 0 0.0
FLASH 5712741 5712741 0 0.0
RAM 483096 483096 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5642705 5642705 0 0.0
RAM 207288 207288 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4816152 4816152 0 0.0
RAM 194520 194520 0 0.0
ota-provider-app debug unknown 4848 4848 0 0.0
FLASH 4435976 4435976 0 0.0
RAM 183752 183752 0 0.0
ota-requestor-app debug unknown 4800 4800 0 0.0
FLASH 4563712 4563712 0 0.0
RAM 187656 187656 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3077404 3077404 0 0.0
RAM 148072 148072 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4227888 4227888 0 0.0
RAM 231024 231024 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 6069909 6069909 0 0.0
RAM 607744 607744 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12408365 12408365 0 0.0
RAM 749544 749544 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 919644 919644 0 0.0
RAM 167328 167328 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 911644 911644 0 0.0
RAM 145572 145572 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 856308 856308 0 0.0
RAM 141091 141091 0 0.0
nxp contact k32w0+release FLASH 592304 592304 0 0.0
RAM 72848 72848 0 0.0
mcxw71+release FLASH 624568 624568 0 0.0
RAM 63188 63188 0 0.0
light k32w0+release FLASH 618268 618268 0 0.0
RAM 72144 72144 0 0.0
k32w1+release FLASH 709032 709032 0 0.0
RAM 72036 72036 0 0.0
lock mcxw71+release FLASH 774048 774048 0 0.0
RAM 67612 67612 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1665860 1665860 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1570348 1570348 0 0.0
RAM 208504 208504 0 0.0
light cy8ckit_062s2_43012 FLASH 1447620 1447620 0 0.0
RAM 197320 197320 0 0.0
lock cy8ckit_062s2_43012 FLASH 1477476 1477476 0 0.0
RAM 225016 225016 0 0.0
qpg lighting-app qpg6105+debug FLASH 667716 667716 0 0.0
RAM 105200 105200 0 0.0
lock-app qpg6105+debug FLASH 626080 626080 0 0.0
RAM 99820 99820 0 0.0
stm32 light STM32WB5MM-DK FLASH 466548 466548 0 0.0
RAM 141504 141504 0 0.0
telink bridge-app tl7218x FLASH 693866 677132 -16734 -2.4
693866 693866 0 0.0
RAM 101832 90692 -11140 -10.9
101832 101832 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 774498 774498 0 0.0
RAM 50072 50072 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 771614 771614 0 0.0
RAM 40372 40372 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 781604 760070 -21534 -2.8
781604 781604 0 0.0
RAM 109252 97492 -11760 -10.8
109252 109252 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 702982 687108 -15874 -2.3
702982 702982 0 0.0
RAM 62572 51540 -11032 -17.6
62572 62572 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 740936 715558 -25378 -3.4
740936 740936 0 0.0
RAM 85752 73360 -12392 -14.5
85752 85752 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 712886 712886 0 0.0
RAM 36996 36996 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 608050 608508 458 0.1
608050 608050 0 0.0
RAM 119468 106748 -12720 -10.6
119468 119468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 816866 795076 -21790 -2.7
816866 816870 4 0.0
RAM 107520 96348 -11172 -10.4
107520 107520 0 0.0
tizen all-clusters-app arm unknown 5176 5176 0 0.0
FLASH 1808780 1808780 0 0.0
RAM 94656 94656 0 0.0
chip-tool-ubsan arm unknown 20152 20152 0 0.0
FLASH 20258926 20258926 0 0.0
RAM 8821644 8821644 0 0.0

@andy31415
Copy link
Contributor Author

Since this makes unit tests CI pass, I will merge it. Unfortunately we still seem to be very flaky:

  • java is broken (perma-broken now?)
  • Darwin is very flaky
  • REPL seems either flaky or broken

@andy31415 andy31415 merged commit 6a8b57f into project-chip:master May 7, 2025
70 of 72 checks passed
gmarcosb pushed a commit to gmarcosb/connectedhomeip that referenced this pull request May 7, 2025
* Add debug log for endpoint full error

* Also add assertions that no in use items

* Clean up includes

* Fix typo in message
Hayk10002 pushed a commit to Hayk10002/connectedhomeip that referenced this pull request Aug 21, 2025
* Add debug log for endpoint full error

* Also add assertions that no in use items

* Clean up includes

* Fix typo in message
Hayk10002 pushed a commit to Hayk10002/connectedhomeip that referenced this pull request Aug 29, 2025
* Add debug log for endpoint full error

* Also add assertions that no in use items

* Clean up includes

* Fix typo in message
andy31415 added a commit that referenced this pull request Sep 3, 2025
* Fix TestInetEndPoint to pass even when computer is offline (#38015)

Description:

- TestInetEndPoint was not hermetic, it required at least one network
  interface connected to a link and up.
- There was a comment before to skip tests if the link was not up,
  but it was not actually skipping the test. This made it fail for
  me when working offline and trying to run unit tests.

Testing done:
- Test passes with and without link up.

* Add debug logs for test inet limits (#38790)

* Add debug log for endpoint full error

* Also add assertions that no in use items

* Clean up includes

* Fix typo in message

* Setup ipv6 environment in `REPL Tests - Linux` CI job

This change is picked from the PR [#38845](#38845)

* Setup ipv6 environment in other places where it's needed

* Add sudo to IPV6 setup commands for proper permissions

* Revert "Add sudo to IPV6 setup commands for proper permissions"

This reverts commit 025cc0c.

* Remove `add-apv6` action from `Build on Linux (python_lib)`

This doesn't work because of permission issues.

* Stop using old ubuntu version (#37870)

Co-authored-by: Andrei Litvin <[email protected]>

---------

Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[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.

3 participants