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

up_squared: tests/kernel/timer/timer_api failed. #29319

Closed
chen-png opened this issue Oct 19, 2020 · 1 comment
Closed

up_squared: tests/kernel/timer/timer_api failed. #29319

chen-png opened this issue Oct 19, 2020 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@chen-png
Copy link
Collaborator

To Reproduce
Steps to reproduce the behavior:

  1. west build -b up_squared -p auto tests/kernel/timer/timer_api/ -DCONF_FILE=prj_tickless.conf
  2. west flash ~/up_squared.sh
  3. see error

Logs and console output
Booting Zephyr OS build zephyr-v2.4.0-634-g53cc090c39a5
Running test suite timer_api

START - test_time_conversions
PASS - test_time_conversions

START - test_timer_duration_period
PASS - test_timer_duration_period

START - test_timer_restart
PASS - test_timer_restart

START - test_timer_expirefn_null
PASS - test_timer_expirefn_null

START - test_timer_periodicity
Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:351: test_timer_periodicity: (((delta) >= (period_ms)) && ((delta) <= (period_ms) + (1))) || (((10000 % 1000U) != 0) && (delta == period_ms - 1)) is false
FAIL - test_timer_periodicity

START - test_timer_status_get
PASS - test_timer_status_get

START - test_timeout_abs
PASS - test_timeout_abs

Test suite timer_api failed.

PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Fedora31
  • Toolchain: zephyr-sdk-0.11.4
  • Commit ID: 53cc090
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Oct 19, 2020
@nashif nashif added the priority: medium Medium impact/importance bug label Oct 20, 2020
@ceolin ceolin self-assigned this Oct 28, 2020
@ceolin
Copy link
Member

ceolin commented Dec 1, 2020

Hi @chen-png, have running this test (rev 04a421d) multiple times and didn't get this problem. I'll close it, but feel free to re-open in case you can reproduce it.

@ceolin ceolin closed this as completed Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants