-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
area: Kernelarea: TimerTimerTimerbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: highHigh impact/importance bugHigh impact/importance bug
Description
Describe the bug
The CI run caught test_timer_periodicity test case failure in tests/kernel/timer/timer_api on nrf52_pca10040 board. This issue is sporadic and I couldn't reproduce locally.
To Reproduce
Steps to reproduce the behavior:
- mkdir build; cd build
- cmake -DBOARD= nrf52_pca10040
- make flash
- See error
Expected behavior
All test cases should pass without any assertion failure or crash.
Screenshots or console output
********** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-2205-g8d84f9229c (delayed boot 1000ms) *****
Running test suite timer_api
===================================================================
starting test - test_timer_duration_period
PASS - test_timer_duration_period
===================================================================
starting test - test_timer_period_0
PASS - test_timer_period_0
===================================================================
starting test - test_timer_expirefn_null
PASS - test_timer_expirefn_null
===================================================================
starting test - test_timer_periodicity
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/kernel/timer/timer_api/src/main.c:240: test_timer_periodicity: (((delta) >= (50)) && ((delta) <= (50) + (1))) is false
FAIL - test_timer_periodicity
===================================================================
starting test - test_timer_status_get
PASS - test_timer_status_get
===================================================================
starting test - test_timer_status_get_anytime
PASS - test_timer_status_get_anytime
===================================================================
starting test - test_timer_status_sync
PASS - test_timer_status_sync
===================================================================
starting test - test_timer_k_define
PASS - test_timer_k_define
===================================================================
starting test - test_timer_user_data
PASS - test_timer_user_data
===================================================================
Test suite timer_api failed.
===================================================================
PROJECT EXECUTION FAILED
Environment (please complete the following information):
- OS: Linux
- Toolchain: Zephyr SDK 0.9.5
Since the failure is not seen locally, I couldn't git bisect to find on what commit the failure was first seen.
Metadata
Metadata
Assignees
Labels
area: Kernelarea: TimerTimerTimerbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: highHigh impact/importance bugHigh impact/importance bug