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

tests/kernel/smp failed on hsdk board #35200

Closed
IRISZZW opened this issue May 12, 2021 · 0 comments · Fixed by #35232
Closed

tests/kernel/smp failed on hsdk board #35200

IRISZZW opened this issue May 12, 2021 · 0 comments · Fixed by #35232
Assignees
Labels
area: ARC ARC Architecture area: SMP Symmetric multiprocessing bug The issue is a bug, or the PR is fixing a bug

Comments

@IRISZZW
Copy link
Contributor

IRISZZW commented May 12, 2021

Describe the bug
tests/kernel/smp failed on hsdk board

To Reproduce
Steps to reproduce the behavior:

  1. west build -b hsdk -d build -p auto tests/kernel/smp
  2. west flash
  3. See error

Logs and console output

*** Booting Zephyr OS build v2.6.0-rc1-59-g8e69dafccf25  ***
Running test suite smp
===================================================================
START - test_smp_coop_threads
 PASS - test_smp_coop_threads in 0.563 seconds
===================================================================
START - test_cpu_id_threads
 PASS - test_cpu_id_threads in 1.11 seconds
===================================================================
START - test_coop_resched_threads
 PASS - test_coop_resched_threads in 0.51 seconds
===================================================================
START - test_preempt_resched_threads
 PASS - test_preempt_resched_threads in 0.531 seconds
===================================================================
START - test_yield_threads
 PASS - test_yield_threads in 0.301 seconds
===================================================================
START - test_sleep_threads
 PASS - test_sleep_threads in 1.11 seconds
===================================================================
START - test_wakeup_threads
 PASS - test_wakeup_threads in 0.201 seconds
===================================================================
START - test_smp_ipi
cpu num=4 PASS - test_smp_ipi in 0.331 seconds
===================================================================
START - test_get_cpu
 PASS - test_get_cpu in 0.51 seconds
===================================================================
START - test_fatal_on_smp
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 1
E: Current thread: 0x9000be58 (ztest_thread)
Caught system error -- reason 3 1
Fatal error expected as part of test case.
 PASS - test_fatal_on_smp in 0.16 seconds
===================================================================
START - test_workq_on_smp
 PASS - test_workq_on_smp in 0.51 seconds
===================================================================
START - test_smp_release_global_lock
 PASS - test_smp_release_global_lock in 0.21 seconds
===================================================================
START - test_smp_release_global_lock_irq

Environment (please complete the following information):

  • OS: (Linux)
  • Toolchain (Zephyr SDK)
  • Commit 8e69daf
@IRISZZW IRISZZW added bug The issue is a bug, or the PR is fixing a bug area: ARC ARC Architecture area: SMP Symmetric multiprocessing labels May 12, 2021
@IRISZZW IRISZZW self-assigned this May 12, 2021
enjiamai pushed a commit to enjiamai/zephyr that referenced this issue May 12, 2021
Update testcase test_fatal_on_smp(), and refine it and correct some
inappropriate usage such as unnecessary irq_lock(). This prevents
the error propagation to the later executing testcase.

Fixes zephyrproject-rtos#35200
Fixes zephyrproject-rtos#35202

Signed-off-by: Enjia Mai <[email protected]>
nashif pushed a commit that referenced this issue May 12, 2021
Update testcase test_fatal_on_smp(), and refine it and correct some
inappropriate usage such as unnecessary irq_lock(). This prevents
the error propagation to the later executing testcase.

Fixes #35200
Fixes #35202

Signed-off-by: Enjia Mai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture area: SMP Symmetric multiprocessing bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant