-
Notifications
You must be signed in to change notification settings - Fork 7.5k
samples/mpu/mem_domain_apis_test: Did not get to "destroy app0 domain", went into indefinite loop #15178
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
Comments
Another very old test. I'll look into it. |
It looks, again, like a problem with the watch-dog IMHO In addition to that, I agree, this test is old and needs re-work. To name a reason for that, the indicated log output does not correspond to the current MPU driver function calls, at least for ARM. |
The sample runs in nrf52 boards, without problems. |
Looking more into the sample, I realize that the actual logging from the MPU module is not printed in console, because the logging thread does not get chance to execute (all other threads have higher priorities and, simply, yield to each other). I am submitting a patch to fix this |
I think a better approach is to look at what scenarios this test is covering vs. what is being tested with ztest under tests/kernel/mem_protect, and if there is nothing unique, delete it. |
We have actual tests now under tests/kernel/mem_protect/userspace and tests/kernel/mem_protect/mem_protect that exercise all the memory domain APIs. This old test is superfluous. Fixes: zephyrproject-rtos#15178 Signed-off-by: Andrew Boie <[email protected]>
We have actual tests now under tests/kernel/mem_protect/userspace and tests/kernel/mem_protect/mem_protect that exercise all the memory domain APIs. This old test is superfluous. Fixes: #15178 Signed-off-by: Andrew Boie <[email protected]>
Describe the bug
According to sample.yaml, I am suppose to get console output "destroy app0 domain", instead, the test appears to go into indefinite loop
To Reproduce
Steps to reproduce the behavior:
Screenshots or console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: