-
Notifications
You must be signed in to change notification settings - Fork 8.2k
samples/bluetooth/hci_uart: change bbc_microbit RAM demands to so test passes #19742
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this recently so it'd fit in 16KB of RAM. I'd really like to keep the bbc:microbit in the list of tested boards. Can you reduce the number of connections instead? See 9be6fb0
|
@pabigot Do you know what caused the RAM use increase? (and why it was not detected in CI in that PR) |
Reduce the RAM usage in hci_uart to fit in the BBC Microbit's RAM. Signed-off-by: Peter Bigot <[email protected]>
99d930b to
e218658
Compare
No, and no. All I know is it failed in last night's
Done. |
|
It'd be good to understand what increased the footprint. This kind of gradual and uncontrolled upwards creep of it isn't particularly nice. Ideally we should have these memory-tight tests, like for the micro:bit, built on every PR so that footprint increases are caught immediately. |
|
|
Nope, at 4b59690 it still fails. When #17293 was merged (with a passing CI) that test still failed, presumably because master had changed between the point the test was started and when the branch was merged and the decrease to 12 was already not enough. The way Yocto manages merges is a lot more robust. |
The problem is that we keep adding features that are enabled by default, which increases the footprint of default builds. |
But still, I really though this test in this board was built in each CI run by default. |
|
FWIW, these tests were run on so this test was not run in this case. |
I actually do not know how to do that. What defines the default set of tests that is run by CI by default? |
@nashif Is there some way to define that a given test on a given platform must be always run in a normal CI run? |
|
So this is amusing: This patch is not yet merged, but the nightly autotests are passing. On master at 1ce95de we have: but Looks like the new sanitycheck code ignores whitelist? @carlescufi @nashif |
|
And shippable's failing again due to lack of this fix. Can we merge this, or do we want to keep this failure present until somebody figures out how to make the test run in every sanitycheck? |
The default test now requires in excess of 16 K RAM to store the
interrupt table. Add the filter, and remove bbc_microbit (which
fails) from the whitelist.
Fixes build failure at https://app.shippable.com/github/zephyrproject-rtos/ci-test/runs/3154/3/tests