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

kernel.timer.tickless test fails on atsamd21_xpro #25234

Closed
stephanosio opened this issue May 12, 2020 · 3 comments
Closed

kernel.timer.tickless test fails on atsamd21_xpro #25234

stephanosio opened this issue May 12, 2020 · 3 comments
Assignees
Labels
area: Drivers area: Kernel area: Tests Issues related to a particular existing or missing test area: Timer Timer bug The issue is a bug, or the PR is fixing a bug platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) priority: medium Medium impact/importance bug
Milestone

Comments

@stephanosio
Copy link
Member

Describe the bug
The tests/kernel/timer/timer_api/kernel.timer.tickless test fails on the atsamd21_xpro board.

To Reproduce
Build and run tests/kernel/timer/timer_api/kernel.timer.tickless on atsamd21_xpro.

Expected behavior
Test passes

Screenshots or console output

Running test suite timer_api
===================================================================
starting test - test_time_conversions
PASS - test_time_conversions
===================================================================
starting test - test_timer_duration_period
PASS - test_timer_duration_period
===================================================================
starting test - test_timer_period_0
PASS - test_timer_period_0
===================================================================
starting test - test_timer_expirefn_null
PASS - test_timer_expirefn_null
===================================================================
starting test - test_timer_periodicity
PASS - test_timer_periodicity
===================================================================
starting test - test_timer_status_get
PASS - test_timer_status_get
===================================================================
starting test - test_timer_status_get_anytime
PASS - test_timer_status_get_anytime
===================================================================
starting test - test_timer_status_sync
PASS - test_timer_status_sync
===================================================================
starting test - test_timer_k_define

    Assertion failed at ../src/main.c:64: duration_expire: interval >= 100 is false

FAIL - test_timer_k_define
===================================================================
starting test - test_timer_user_data
PASS - test_timer_user_data
===================================================================
starting test - test_timer_remaining
PASS - test_timer_remaining
===================================================================
starting test - test_timeout_abs
PASS - test_timeout_abs
===================================================================
Test suite timer_api failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Ubuntu 18.04
  • Toolchain: Zephyr SDK 0.11.2
  • Commit SHA: ed2d263
@stephanosio stephanosio added bug The issue is a bug, or the PR is fixing a bug area: Drivers area: Kernel area: Tests Issues related to a particular existing or missing test area: Timer Timer platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) priority: medium Medium impact/importance bug labels May 12, 2020
@stephanosio stephanosio added this to the v2.3.0 milestone May 12, 2020
@stephanosio stephanosio self-assigned this May 12, 2020
@pabigot
Copy link
Collaborator

pabigot commented May 18, 2020

FWIW I'm unable to reproduce this on my board; running with ZTEST_RETEST_IF_PASSED=y passed 100 times in a row without failure.

@carlescufi
Copy link
Member

Thanks @pabigot.
@stephanosio can you take another look to see if you can reproduce? @pabigot clearly cannot.

@stephanosio
Copy link
Member Author

FWIW I'm unable to reproduce this on my board; running with ZTEST_RETEST_IF_PASSED=y passed 100 times in a row without failure.

@pabigot @carlescufi I re-tested this on the latest master today and the failure is gone (it is still reproducible with ed2d263, so something must have recently fixed it),

Closing since this is no longer an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Drivers area: Kernel area: Tests Issues related to a particular existing or missing test area: Timer Timer bug The issue is a bug, or the PR is fixing a bug platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants