-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: Renesas SmartBondRenesas Electronics Corporation, SmartBondRenesas Electronics Corporation, SmartBond
Description
Describe the bug
Kernel scheduler tests (schedul_api) does not expect any other thread to be actively running during test.
For Smartbond tests fail due to execution automatic calibration works that are periodically measuring oscillators frequencies.
It seems reasonable to have option to disable calibration background works for specific tests.
Regression
- This is a regression.
Steps to reproduce
west build -b da1469x_dk_pro/da14699 tests/kernel/sched/schedule_api/kernel.schedulerflash and observer test output on console
Relevant log output
*** Booting Zephyr OS build v4.3.0-436-g5973b553ed94 ***
Running TESTSUITE threads_scheduling
===================================================================
START - test_bad_priorities
PASS - test_bad_priorities in 0.002 seconds
===================================================================
...
===================================================================
START - test_priority_scheduling
ABCDEFGHI
ABCDEFGHI
ABCDEFGHI
ABCDEFGHI
ABCDEFGHI
PASS - test_priority_scheduling in 0.032 seconds
===================================================================
START - test_sched_is_preempt_thread
PASS - test_sched_is_preempt_thread in 0.003 seconds
===================================================================
START - test_sleep_cooperative
PASS - test_sleep_cooperative in 0.103 seconds
===================================================================
START - test_sleep_wakeup_preemptible
PASS - test_sleep_wakeup_preemptible in 0.004 seconds
===================================================================
START - test_slice_perthread
SKIP - test_slice_perthread in 0.001 seconds
===================================================================
START - test_slice_reset
PASS - test_slice_reset in 1.805 seconds
===================================================================
START - test_slice_scheduling
ABCDD
Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:64: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && (idx == thread_idx)) is false
E
Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:64: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && (idx == thread_idx)) is falseImpact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
- OS: Linux/Windows
- Zephyr SDK
- SHA: 5973b55
- board: da1469x_dk_pro/da14699
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: Renesas SmartBondRenesas Electronics Corporation, SmartBondRenesas Electronics Corporation, SmartBond