Repository navigation
[nrf fromtree] Increase STACK_SIZE to 2048 where CI detected test failures - #4481
Open
jaz1-nordic wants to merge 3 commits into
Open
jaz1-nordic wants to merge 3 commits into
jaz1-nordic wants to merge 3 commits into
Conversation
nordic-segl
approved these changes
Sep 17, 2026
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
September 17, 2026 10:08
752eb14 to
75f63b4
Compare
jaz1-nordic
marked this pull request as ready for review
September 17, 2026 10:08
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Sep 17, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
nordic-piks
approved these changes
Sep 17, 2026
adamkondraciuk
approved these changes
Sep 17, 2026
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
September 17, 2026 11:28
75f63b4 to
1bbd2ae
Compare
jaz1-nordic
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Sep 17, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
MarekPieta
approved these changes
Sep 21, 2026
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
September 22, 2026 07:41
1bbd2ae to
c24b18e
Compare
jaz1-nordic
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Sep 22, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
September 23, 2026 06:53
c24b18e to
bfc5d4a
Compare
jaz1-nordic
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Sep 23, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
September 29, 2026 12:53
bfc5d4a to
5db827b
Compare
jaz1-nordic
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Sep 29, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
On qemu_cortex_m3, the Mbed TLS SYS_INIT hook runs psa_crypto_init() before main(). Without an entropy driver, seeding the software HMAC_DRBG peaks at 1344 bytes of main-thread stack. Set MAIN_STACK_SIZE to 2048 to prevent pre-main memory corruption. Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no> (cherry picked from commit 66cc57e)
On nrf52840dk/nrf52840 and nrf5340dk/nrf5340/cpuapp, test_zz_vlan_embed_ll_hdr overflows its Ztest thread while the IPv6 UDP path builds a packet with an embedded link-layer header. Use a 2048-byte stack for net.vlan.separate_net_buf. Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no> (cherry picked from commit 2cd64c5)
…bjects On nrf52dk/nrf52832, test_slice_reset overflows its Ztest thread. The test keeps three struct k_thread objects on that stack while creating and scheduling worker threads. Use a 2048-byte stack for kernel.scheduler.slice_perthread. Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no> (cherry picked from commit f43b977)
jaz1-nordic
force-pushed
the
ztest_stack_size_test
branch
from
October 14, 2026 08:24
5db827b to
189c22b
Compare
jaz1-nordic
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Oct 14, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4481 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
nordic-segl
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds targeted stack-size overrides for tests exposed by restoring Zephyr's default stack sizes.
The changes:
manifest-pr-skip