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

Object tracing test case fails in NRF boards #5247

Closed
spoorthik opened this issue Dec 4, 2017 · 0 comments
Closed

Object tracing test case fails in NRF boards #5247

spoorthik opened this issue Dec 4, 2017 · 0 comments
Assignees
Labels
area: Kernel bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Milestone

Comments

@spoorthik
Copy link
Contributor

spoorthik commented Dec 4, 2017

The test case in tests/kernel/obj_tracing fails for NRF board due to an extra semaphore than the expected number.

Steps to reproduce:

  • cd <ZEPHYR_BASE>/tests/kernel/obj_tracing
  • mkdir build && cd build && cmake -DBOARD=nrf51_pca10028 ..
  • /nrfjprog/nrfjprog --eraseall -f nrf51
  • /nrfjprog/nrfjprog --program build/zephyr/nrf52_pca10040/zephyr.hex -f nrf51
  • /nrfjprog/nrfjprog --reset -f nrf51

Execution log:


 ***** BOOTING ZEPHYR OS v1.10.0-rc2 (delayed boot 1000ms) - BUILD: Dec  4 2017 09:10:07 *****
 starting test - OBJECT TRACING TEST
 SEMAPHORE REF: 0x20001164
 SEMAPHORE REF: 0x20001148
 SEMAPHORE REF: 0x2000112c
 SEMAPHORE REF: 0x20001110
 SEMAPHORE REF: 0x200010f4
 SEMAPHORE REF: 0x20004778
 SEMAPHORE QUANTITY: 6
 FAIL - object_monitor.
 ===================================================================
 COOP: 0x20000000 OPTIONS: 0x00, STATE: 0x00
 COOP: 0x20000230 OPTIONS: 0x00, STATE: 0x00
 COOP: 0x200001c0 OPTIONS: 0x00, STATE: 0x00
 COOP: 0x20000150 OPTIONS: 0x00, STATE: 0x00
 COOP: 0x200000e0 OPTIONS: 0x00, STATE: 0x02
 COOP: 0x20000070 OPTIONS: 0x00, STATE: 0x02
 PREMPT: 0x2000129c OPTIONS: 0x00, STATE: 0x02
 COOP: 0x20000ee8 OPTIONS: 0x01, STATE: 0x00
 THREAD QUANTITY: 8
 PASS - test_thread_monitor.
 ===================================================================

The failure is found only on NRF board.

The execution log when run on qemu_cortex_m3:

[QEMU] CPU: cortex-m3
***** BOOTING ZEPHYR OS v1.10.0-rc2 - BUILD: Dec  4 2017 10:11:44 *****
starting test - OBJECT TRACING TEST
SEMAPHORE REF: 0x200004c4
SEMAPHORE REF: 0x200004b0
SEMAPHORE REF: 0x2000049c
SEMAPHORE REF: 0x20000488
SEMAPHORE REF: 0x20000474
SEMAPHORE QUANTITY: 5
PASS - object_monitor.
===================================================================
COOP: 0x20000000 OPTIONS: 0x00, STATE: 0x00
COOP: 0x20000208 OPTIONS: 0x00, STATE: 0x00
COOP: 0x200001a0 OPTIONS: 0x00, STATE: 0x00
COOP: 0x20000138 OPTIONS: 0x00, STATE: 0x02
COOP: 0x200000d0 OPTIONS: 0x00, STATE: 0x02
COOP: 0x20000068 OPTIONS: 0x00, STATE: 0x00
PREMPT: 0x20000504 OPTIONS: 0x00, STATE: 0x02
COOP: 0x2000027c OPTIONS: 0x01, STATE: 0x00
THREAD QUANTITY: 8
PASS - test_thread_monitor.
===================================================================
===================================================================
PROJECT EXECUTION SUCCESSFUL
@kumarvikash1 kumarvikash1 added area: Kernel bug The issue is a bug, or the PR is fixing a bug labels Dec 12, 2017
@kumarvikash1 kumarvikash1 added this to the v1.11.0 milestone Dec 12, 2017
@nashif nashif assigned nashif and unassigned AdithyaBaglody Dec 29, 2017
@nashif nashif added the priority: low Low impact/importance bug label Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants