Skip to content

tests/kernel/context/testcase.yaml#kernel.common.k_sleep fails on nrf52_pca10040 and nrf52840_pca10056 #9466

@spoorthik

Description

@spoorthik

Execution log:

Running test suite context
===================================================================
starting test - test_kernel_interrupts
PASS - test_kernel_interrupts
===================================================================
starting test - test_kernel_timer_interrupts
SKIP - test_kernel_timer_interrupts
===================================================================
starting test - test_kernel_ctx_thread
Testing k_current_get() from an ISR and thread
Testing k_is_in_isr() from an ISR
Testing k_is_in_isr() from a preemptible thread
PASS - test_kernel_ctx_thread
===================================================================
starting test - test_busy_wait
Thread busy waiting for 20000 usecs
Thread busy waiting completed
PASS - test_busy_wait
===================================================================
starting test - test_k_sleep
 thread sleeping for 50 milliseconds
 thread back from sleep
FAIL - thread_sleep@684. timestamp out of range, got 70

    Assertion failed at /home/kspoorth/work/latest_zephyr/tests/kernel/context/src/main.c:753: test_k_sleep: (rv not equal to 0)
 *** thread timed out waiting for thread on k_sleep().
FAIL - test_k_sleep
===================================================================
starting test - test_kernel_cpu_idle_atomic
SKIP - test_kernel_cpu_idle_atomic
===================================================================
starting test - test_kernel_cpu_idle
PASS - test_kernel_cpu_idle
===================================================================
starting test - test_k_yield
PASS - test_k_yield
===================================================================
starting test - test_kernel_thread
PASS - test_kernel_thread
===================================================================
===================================================================

PROJECT EXECUTION FAILED

Platforms: nrf52_pca10040 and nrf52840_pca10056
Latest commit on which the failure is seen: afa0e00

Metadata

Metadata

Assignees

Labels

area: ARMARM (32-bit) ArchitecturebugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions