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

up_squared: tests/kernel/smp failed. #32468

Closed
chen-png opened this issue Feb 19, 2021 · 1 comment
Closed

up_squared: tests/kernel/smp failed. #32468

chen-png opened this issue Feb 19, 2021 · 1 comment
Assignees
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@chen-png
Copy link
Collaborator

To Reproduce
Steps to reproduce the behavior:

  1. west build -b up_squared -p auto tests/kernel/smp
  2. west flash ~/up_squared.sh
  3. see error

Logs and console output
Booting Zephyr OS build zephyr-v2.5.0-239-ge287fd7ab2fb
Running test suite smp

START - test_smp_coop_threads
PASS - test_smp_coop_threads

START - test_cpu_id_threads
PASS - test_cpu_id_threads

START - test_coop_resched_threads
PASS - test_coop_resched_threads

START - test_preempt_resched_threads
PASS - test_preempt_resched_threads

START - test_yield_threads
PASS - test_yield_threads

START - test_sleep_threads
PASS - test_sleep_threads

START - test_wakeup_threads
ASSERTION FAIL [0] @ WEST_TOPDIR/zephyr/kernel/thread_abort.c:48
should never get here

E: RAX: 0x0000000000000004 RBX: 0x000000000010dce0 RCX: 0x0000000000000001 RDX: 0x0000000000000001
E: RSI: 0x0000000000000030 RDI: 0x000000000010abb9 RBP: 0x0000000000591140 RSP: 0x0000000000591118
E: R8: 0x0000000000000001 R9: 0x0000000000590f00 R10: 0x00000000ffffffff R11: 0x0000000000000034
E: R12: 0x000000000010c000 R13: 0x0000000000000246 R14: 0x0000000000000000 R15: 0x0000000000000000
E: RSP: 0x0000000000591118 RFLAGS: 0x0000000000000247 CS: 0x0018 CR3: 0x0000000000bb1000
E: RIP: 0x00000000001018a0
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x10c000 (unknown)
E: Halting system

Environment (please complete the following information):

  • Toolchain: zephyr-sdk-0.12.2
  • Commit ID: e287fd7
@chen-png chen-png added bug The issue is a bug, or the PR is fixing a bug area: Tests Issues related to a particular existing or missing test labels Feb 19, 2021
@nashif nashif added the priority: medium Medium impact/importance bug label Feb 22, 2021
@chen-png
Copy link
Collaborator Author

tested with the latest code "4aac9089735b", this test was passed, so closed this.

*** Booting Zephyr OS build zephyr-v2.5.0-522-g4aac9089735b ***
DEBUG - DEVICE: Running test suite smp
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_smp_coop_threads
DEBUG - DEVICE: PASS - test_smp_coop_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_cpu_id_threads
DEBUG - DEVICE: PASS - test_cpu_id_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_coop_resched_threads
DEBUG - DEVICE: PASS - test_coop_resched_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_preempt_resched_threads
DEBUG - DEVICE: PASS - test_preempt_resched_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_yield_threads
DEBUG - DEVICE: PASS - test_yield_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_sleep_threads
DEBUG - DEVICE: PASS - test_sleep_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_wakeup_threads
DEBUG - DEVICE: PASS - test_wakeup_threads
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_smp_ipi
DEBUG - DEVICE: cpu num=2 PASS - test_smp_ipi
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: START - test_get_cpu
DEBUG - DEVICE: PASS - test_get_cpu
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: Test suite smp succeeded
DEBUG - DEVICE: ===================================================================
DEBUG - DEVICE: PROJECT EXECUTION SUCCESSFUL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants