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. #32688

Closed
chen-png opened this issue Feb 26, 2021 · 1 comment
Closed

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

chen-png opened this issue Feb 26, 2021 · 1 comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a 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
  2. west flash ~/up_squared.sh
  3. see error

Logs and console output
Booting Zephyr OS build zephyr-v2.5.0-487-g0ba94379381f
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_period_0
PASS - test_timer_period_0

START - test_timer_expirefn_null
PASS - test_timer_expirefn_null
......
START - test_timer_user_data
PASS - test_timer_user_data

START - test_timer_remaining
PASS - test_timer_remaining

START - test_timeout_abs
Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:725: test_timeout_abs: (cap_ticks + rem_ticks + 1 == exp_ticks) || (rem_ticks + cap2_ticks + 1 == exp_ticks) || (INEXACT_MS_CONVERT && (cap_ticks + rem_ticks == exp_ticks)) || (INEXACT_MS_CONVERT && (rem_ticks + cap2_ticks == exp_ticks)) is false
FAIL - test_timeout_abs

START - test_sleep_abs
PASS - test_sleep_abs

Test suite timer_api failed.

PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: zephyr-sdk-0.12.2
  • Commit ID: 0ba9437
@chen-png chen-png added bug The issue is a bug, or the PR is fixing a bug area: Tests Issues related to a particular existing or missing test labels Feb 26, 2021
@nashif
Copy link
Member

nashif commented Feb 26, 2021

duplicate of #32697

@nashif nashif closed this as completed Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants