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/portability/cmsis_rtos_v2 failed on reel_board. #24659

Closed
chen-png opened this issue Apr 24, 2020 · 4 comments
Closed

tests/portability/cmsis_rtos_v2 failed on reel_board. #24659

chen-png opened this issue Apr 24, 2020 · 4 comments
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 platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@chen-png
Copy link
Collaborator

To Reproduce
Steps to reproduce the behavior:

  1. west build -b reel_board -p auto tests/portability/cmsis_rtos_v2/
  2. west flash
  3. See error

Screenshots or console output
*** Booting Zephyr OS build zephyr-v2.2.0-1885-gb7897d5aab13 ***
Running test suite test_cmsis_v2_apis

starting test - test_kernel_apis
PASS - test_kernel_apis

starting test - test_delay
PASS - test_delay

starting test - test_thread_apis
PASS - test_thread_apis

starting test - test_thread_apis_dynamic
PASS - test_thread_apis_dynamic

starting test - test_thread_prio
PASS - test_thread_prio

starting test - test_thread_prio_dynamic
PASS - test_thread_prio_dynamic

starting test - test_timer
oneshot_callback (Timer 1) = 1
periodic_callback (Timer 2) = 1
periodic_callback (Timer 2) = 2
periodic_callback (Timer 2) = 3
periodic_callback (Timer 2) = 4
periodic_callback (Timer 2) = 5
PASS - test_timer

starting test - test_mutex
PASS - test_mutex

starting test - test_mutex_lock_timeout
Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/mutex.c:118: tThread_entry_lock_timeout: status == osErrorResource is false
PASS - test_mutex_lock_timeout

starting test - test_semaphore
PASS - test_semaphore

starting test - test_mempool
PASS - test_mempool

starting test - test_mempool_dynamic
PASS - test_mempool_dynamic

starting test - test_messageq
Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/semaphore.c:37: thread_sema: (status == osOK is false)
Semaphore could not be acquired

FAIL - test_messageq

starting test - test_event_flags_no_wait_timeout
Assertion failed at WEST_TOPDIR/zephyr/tests/portability/cmsis_rtos_v2/src/msgq.c:41: send_msg_thread: (osMessageQueueGetCount(message_id) not equal to 0)
Something's wrong with osMessageQueueGetCount!

FAIL - test_event_flags_no_wait_timeout

starting test - test_event_flags_signalled
E: ***** MPU FAULT *****
E: Data Access Violation
E: MMFAR Address: 0x0
E: r0/a1: 0x00000001 r1/a2: 0x00003609 r2/a3: 0x200065b4
E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x0000cf87
E: xpsr: 0xa1000000
E: Faulting instruction address (r15/pc): 0x0000cf8e
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x200018d4 (unknown)
E: Halting system

Environment (please complete the following information):

  • OS: fedora28
  • Toolchain : zephyr-sdk-0.11.2
  • Commit ID: b7897d5
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Apr 24, 2020
@chen-png
Copy link
Collaborator Author

git bisect and found the first bad commit is b18b1d4

@carlescufi
Copy link
Member

git bisect and found the first bad commit is b18b1d4

Since this commit is completely unrelated, this is probably a red herring and the failure is likely sporadic.

@carlescufi carlescufi added area: Tests Issues related to a particular existing or missing test priority: low Low impact/importance bug platform: nRF Nordic nRFx labels Apr 28, 2020
@chen-png
Copy link
Collaborator Author

chen-png commented May 7, 2020

also failed on mec15xxevb_assy6853 board.

@carlescufi
Copy link
Member

Closing in favor of #25196

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 platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants