Skip to content

tests/kernel/tickless/tickless_concept fails on nRF5x with 1000msec boot delay #9708

@pswarnak

Description

@pswarnak

The test tests/kernel/tickless/tickless_concept results in Assertion failure in test_tickless_slice subtestcase, when boot delay of 1000msec is added.

Arch: arm
Board: nrf51/52 - nrf51_pca10028:arm, nrf52_pca10040:arm, nrf52840_pca10056:arm
Zephyr commit: 6a01c69
Toolchain: ZEPHYR_TOOLCHAIN_VARIANT=zephyr
Additional Info: Add CONFIG_BOOT_DELAY=1000 in tests/kernel/tickless/tickless_concept/prj.conf

Error Console Log:

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.13.0-rc1-69-g6a01c69 (delayed boot 1000ms) *****
Running test suite tickless_concept
===================================================================
starting test - test_tickless_sysclock
time 1027, 1237
time 1247, 1446
PASS - test_tickless_sysclock
===================================================================
starting test - test_tickless_slice
elapsed slice 110, expected: <99, 109>

    Assertion failed at /home/pswarnak/workspace/1.13_execution/zephyr/tests/kernel/tickless/tickless_concept/src/main.c:59: thread_tslice: t <= SLICE_SIZE_LIMIT is false

elapsed slice 10, expected: <99, 109>

    Assertion failed at /home/pswarnak/workspace/1.13_execution/zephyr/tests/kernel/tickless/tickless_concept/src/main.c:57: thread_tslice: t >= SLICE_SIZE is false

elapsed slice 20, expected: <99, 109>

    Assertion failed at /home/pswarnak/workspace/1.13_execution/zephyr/tests/kernel/tickless/tickless_concept/src/main.c:57: thread_tslice: t >= SLICE_SIZE is false

elapsed slice 20, expected: <99, 109>

    Assertion failed at /home/pswarnak/workspace/1.13_execution/zephyr/tests/kernel/tickless/tickless_concept/src/main.c:57: thread_tslice: t >= SLICE_SIZE is false

FAIL - test_tickless_slice
===================================================================
===================================================================
RunID: :r7eb
PROJECT EXECUTION FAILED

Steps to reproduce:

cd zephyr/tests/kernel/tickless/tickless_concept
rm -rf build && mkdir build && cd build
cmake -D BOARD=nrf51_pca10028 ../
make BOARD=nrf51_pca10028 flash

Check the console log.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions