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/drivers/counter/counter_basic_api: Assertion failed on STM32 boards #25363

Closed
ABOSTM opened this issue May 15, 2020 · 0 comments · Fixed by #25364
Closed

tests/drivers/counter/counter_basic_api: Assertion failed on STM32 boards #25363

ABOSTM opened this issue May 15, 2020 · 0 comments · Fixed by #25364
Assignees
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 platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug
Milestone

Comments

@ABOSTM
Copy link
Collaborator

ABOSTM commented May 15, 2020

Describe the bug
On several STM32 boards (nucleo_f746zg, nucleo_l4r5zi, nucleo_wb55rg, stm32f3_disco)
test tests/drivers/counter/counter_basic_api fails due to 'Assertion failed'

To Reproduce
Steps to reproduce the behavior:

  1. west -v build -p auto -b nucleo_f746zg tests/drivers/counter/counter_basic_api
  2. See error

Expected behavior
Test Passed

Screenshots or console output

starting test - test_single_shot_alarm_notop
Testing RTC_0
D: Set Alarm: 2

Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:279: alarm_handler: (diff < counter_us_to_ticks(dev, processing_limit_us) is false)

Unexpected distance between reported alarm value(2) and actual counter value (2), top:-1 (processing time limit (2 us) might be exceeded?
FAIL - test_single_shot_alarm_notop

@ABOSTM ABOSTM added the bug The issue is a bug, or the PR is fixing a bug label May 15, 2020
@erwango erwango added platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug labels May 15, 2020
@carlescufi carlescufi added the area: Tests Issues related to a particular existing or missing test label May 15, 2020
@erwango erwango added this to the v2.3.0 milestone May 15, 2020
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 platform: STM32 ST Micro STM32 priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants