You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Our new added test case try to remove the limit of CONFIG_MP_NUM_CPUS=1 for tests/kernel/condvar/ testing. Please refer to PR #33547.
There are two test case failed while removing the CONFIG_MP_NUM_CPUS=1
(1) test_condvar_usecase_broadcast
(2) test_condvar_usecase_signal
To Reproduce
Steps to reproduce the behavior:
Edit the "tests/kernel/condvar/condvar_api/prj.conf", then comment or remove the line CONFIG_MP_NUM_CPUS=1.
Run command: west build tests/kernel/smp -p auto -b qemu_cortex_a53_smp(or qemu_x86_64) -t run
or twister -T tests/kernel/smp -p qemu_cortex_a53(or -p qemu_x86_64(or qemu_x86_64)
Test cases failed on qemu_cortex_a53_smp and qemu_x86_64
It will hang up the test case mentioned above. See the error log below, please:
Expected behavior
Test cases are pass as expected.
Make some change on two codvar test cases to fit testing under SMP,
and shorter the test cases execution time.
Fixeszephyrproject-rtos#33558.
Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
Hi @nashif , This is not a bug of condvar's code. It has something to do with test cases, could you please take a look at #33547? I put the fix in that PR, thanks!
Make some change on two codvar test cases to fit testing under SMP,
and shorter the test cases execution time.
Fixes#33558.
Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
Describe the bug
Our new added test case try to remove the limit of CONFIG_MP_NUM_CPUS=1 for tests/kernel/condvar/ testing. Please refer to PR #33547.
There are two test case failed while removing the CONFIG_MP_NUM_CPUS=1
(1) test_condvar_usecase_broadcast
(2) test_condvar_usecase_signal
To Reproduce
Steps to reproduce the behavior:
Edit the "tests/kernel/condvar/condvar_api/prj.conf", then comment or remove the line CONFIG_MP_NUM_CPUS=1.
Run command: west build tests/kernel/smp -p auto -b qemu_cortex_a53_smp(or qemu_x86_64) -t run
or twister -T tests/kernel/smp -p qemu_cortex_a53(or -p qemu_x86_64(or qemu_x86_64)
Test cases failed on qemu_cortex_a53_smp and qemu_x86_64
Expected behavior
Test cases are pass as expected.
Impact
Not clear.
Logs and console output
Error log looks like this:
or
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: