-
Notifications
You must be signed in to change notification settings - Fork 7.5k
tests/kernel/threads/no-multithreading: kernel.threads.no-multithreading failing on nrf52_pca10040 and qemu_x86 with boot delay #9703
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
fails on xtensa as well, in qemu:
do not think this is related to userspace. |
@nashif yep this is not a userspace related issue at all. But I am not able to exactly pin point the issue here. Maybe the timer interrupt is causing something (a very crude guess). |
looks like the xtensa exception has always been there but was never captured by sanitycheck. I am excluding xtensa from this test for now and will keep tracking the issue here. |
Corner case that has been failing for a while and was not caught by sanitycheck. Now sanitycheck finds that, so exclude xtensa and track this in bug zephyrproject-rtos#9703. Signed-off-by: Anas Nashif <[email protected]>
on nrf52_pca10040
can't reproduce it on sam_e70_xplained |
with mpu disable on nrf52 I get:
|
I can reproduce on mimxrt1050_evk and frdm_kw41z, but not on frdm_k64f |
@MaureenHelm can you try #9740? |
It fixes both mimxrt1050_evk and frdm_kw41z. |
#9740 fixes this issue |
It also fails on qemu_x86 with General Protection Fault on the latest RC2 tag. Error console log:
and hangs on qemu_nios2, quark_se_c1000_devboard and quark_d2000_crb with CONFIG_BOOT_DELAY=1000, displaying just below mentioned message on console output :
|
this is because of the delayed boot |
The test still crashes on 1.13 RC3 (8250b3e) with delayed boot of 1000ms: Tested on: qemu_xtensa, Altera Max10, qemu_nios2, minnowboard, quark_se_c1000_devboard and quark_d2000_crb. Execution log:
|
As mentioned, BOOT_DELAY requires a working k_busy_wait(), which in the general case requires a working timer driver (though AFAIK x86 shouldn't be one of those -- it can do it with the TSC alone), which won't work without interrupts. We should probably add an appropriate depends-on to kconfig to enforce this. Are there circumstances other than CONFIG_BOOT_DELAY where this is failing? |
Do not think this should be tracked under the same bug, this issue always existed it seems, i can reproduce this on qemu_xtensa on the same commit the test was introduced. CONFIG_BOOT_DELAY is test related, so I am lowering the priority of this. |
can't reproduce |
Execution log:
Platforms tested: nrf52_pca10040: arm, sam_e70_xplained:arm
The text was updated successfully, but these errors were encountered: