Skip to content

tests/kernel/fifo/fifo_timeout fails on nrf52840_pca10056 #13289

@arun1joshi

Description

@arun1joshi

The subtest test_timeout_threads_pend_on_dual_fifos in tests/kernel/fifo/fifo_timeout fail with Assertion failure on nrf52840_pca10056
Note: if I comment out this test case, there is no kernel panic and all other test cases pass in the suite; this test suite is passing on nrf52_pca10040

The test started failing from this commit: [5fb4ac9]

Arch: arm
Platforms: nrf52840_pca10056

Error on console log:

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-4573-g012d404125 (delayed boot 1000ms) *****
Running test suite test_fifo_timeout
===================================================================
starting test - test_timeout_threads_pend_on_dual_fifos
 thread (q order: 0, t/o: 0, fifo 0x20000134)
 thread (q order: 5, t/o: 10, fifo 0x20000120)
 thread (q order: 1, t/o: 30, fifo 0x20000120)
 thread (q order: 7, t/o: 20, fifo 0x20000120)
 thread (q order: 2, t/o: 50, fifo 0x20000120)
 thread (q order: 8, t/o: 40, fifo 0x20000134)

    Assertion failed at zephyr.git/tests/kernel/fifo/fifo_timeout/src/main.c:130: test_thread_pend_and_timeout: is_timeout_in_range(start_time, d->timeout) is false

 thread (q order: 4, t/o: 70, fifo 0x20000134)
 thread (q order: 3, t/o: 80, fifo 0x20000134)
FAIL - test_timeout_threads_pend_on_dual_fifos
===================================================================
starting test - test_timeout_threads_pend_fail_on_fifo
***** BUS FAULT *****
  Precise data bus error
  BFAR Address: 0x4553534f
***** Hardware exception *****
Current thread ID = 0x20000c68
Faulting instruction address = 0x4a3c
Fatal fault in thread 0x20000c68! Aborting.
***** MPU FAULT *****
  Data Access Violation
  MMFAR Address: 0x4553534f
***** Hardware exception *****
Current thread ID = 0x20000210
Faulting instruction address = 0x7482
Fatal fault in thread 0x20000210! Aborting.
ASSERTION FAIL [z_spin_lock_valid(l)] @ zephyr.git/include/spinlock.h:66
	Recursive spinlock
***** Kernel Panic! *****
Current thread ID = 0x20000294
Faulting instruction address = 0x1cba
evaluation failed
clean passed
COMPLETION failed

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions