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

twister: treat imgtool image exceeded as flash overflow #50449

Merged

Conversation

fabiobaltieri
Copy link
Member

@fabiobaltieri fabiobaltieri commented Sep 20, 2022

Twister detects FLASH overflow and skips tests that trigger that condition by default, but sometimes images are just on the flash size limit and then overflows at a later stage when imgtool adds a trailer, which gets detected as a build fail and fails the run.

This detects the imgtool flash overflow together with the normal build ones, causing the build to be skipped on imgtool flash overflow as well.

Fixes #50386

(tested with ./scripts/twister -v -p lpcxpresso55s69_ns -T samples/net/sockets/http_get)

Twister detects FLASH overflow and skips tests that trigger that
condition by default, but sometimes images are just on the flash size
limit and then overflows at a later stage when imgtool adds a trailer,
which gets detected as a build fail and fails the run.

This detects the imgtool flash overflow together with the normal build
ones, causing the build to be skipped on imgtool flash overflow as well.

Signed-off-by: Fabio Baltieri <[email protected]>
@fabiobaltieri fabiobaltieri merged commit 96fc137 into zephyrproject-rtos:main Sep 22, 2022
@fabiobaltieri fabiobaltieri deleted the twister-imgtool-overflow branch September 23, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Twister "FLASH overflow" does not account for imgtool trailer.
6 participants