Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/kernel/sched/schedule_api: Assertion failed for test_slice_scheduling #13821

Closed
cinlyooi-intel opened this issue Feb 27, 2019 · 3 comments
Labels
area: Kernel bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@cinlyooi-intel
Copy link
Contributor

cinlyooi-intel commented Feb 27, 2019

Describe the bug
'''
Assertion failed at src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false
'''

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=nrf51_pca10028 -DARCH=arm
    cmake -DBOARD=nrf52_pca10040 -DARCH=arm
  3. make
  4. make run

Screenshots or console output

===================================================================
starting test - test_slice_scheduling
AB
A
Assertion failed at zephyr.git/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

B
Assertion failed at zephyr.git/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

 Assertion failed at zephyr.git/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:51: thread_tslice: ((tdelta >= expected_slice_min) && (tdelta <= expected_slice_max) && ((int)p1 == thread_idx)) is false

FAIL - test_slice_scheduling
======================================================

Environment (please complete the following information):

  • OS: Fedora 29
  • Toolchain : zephyr
  • Commit SHA or Version used: dd5ff39
@cinlyooi-intel cinlyooi-intel added the bug The issue is a bug, or the PR is fixing a bug label Feb 27, 2019
@rljordan-zz rljordan-zz added the priority: medium Medium impact/importance bug label Mar 1, 2019
@rljordan-zz rljordan-zz assigned ghost and unassigned andrewboie Mar 6, 2019
@ghost
Copy link

ghost commented Mar 6, 2019

@cinlyooi-intel Are you running this test on real hardware?

@andyross
Copy link
Contributor

andyross commented Mar 6, 2019

And is this reliable? I was looking at exactly this test on a nrf52840_pca10056 ~2-3 weeks ago and it was running great for me. If it's failing, even spuriously, it's likely to be a recent regression.

@andyross
Copy link
Contributor

andyross commented Mar 6, 2019

Read more carefully, this is a duplicate of #11721, which got fixed by #13916 last week but is not included in the SHA referenced in the report above.

@andyross andyross closed this as completed Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants