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: boards: nrf: qdec: drivers.sensor.qdec.pm_runtime fails on nrf platforms #80050

Open
nordic-piks opened this issue Oct 18, 2024 · 1 comment · May be fixed by #80051
Open

tests: boards: nrf: qdec: drivers.sensor.qdec.pm_runtime fails on nrf platforms #80050

nordic-piks opened this issue Oct 18, 2024 · 1 comment · May be fixed by #80051
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@nordic-piks
Copy link
Collaborator

Describe the bug
The tests:

  • tests/boards/nrf/qdec/drivers.sensor.qdec.pm_runtime

Observed for

  • nrf54h20dk/nrf54h20/cpuap
  • nrf54l15dk/nrf54l15/cpuapp
  • nrf5340dk/nrf5340/cpuapp
  • nrf52840dk/nrf52840
  • nrf54l15dk/nrf54l15/cpuflpr

To Reproduce
Steps to reproduce the behavior:

  1. have nrf54h20dk/nrf54h20/cpuap connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/boards/nrf/qdec/ -p nrf54h20dk/nrf54h20/cpuapp --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
  4. See console output with error

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

*** Booting Zephyr OS build v3.7.0-4578-g829c03bcdca3 ***
Running TESTSUITE qdec_sensor
===================================================================
START - test_qdec_readings
 PASS - test_qdec_readings in 3.301 seconds
===================================================================
START - test_sensor_channel_get
 PASS - test_sensor_channel_get in 0.301 seconds
===================================================================
START - test_sensor_channel_get_empty

    Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/boards/nrf/qdec/src/main.c:332: qdec_sensor_test_sensor_channel_get_empty: (val.val1 == 0 is false)
Expected no readings but got: -2
 FAIL - test_sensor_channel_get_empty in 0.220 seconds
===================================================================
START - test_sensor_channel_get_negative
 PASS - test_sensor_channel_get_negative in 0.101 seconds
===================================================================
START - test_sensor_sample_fetch
 PASS - test_sensor_sample_fetch in 0.001 seconds
===================================================================
START - test_sensor_trigger_set
QDEC reading: 11
 PASS - test_sensor_trigger_set in 0.045 seconds
===================================================================
START - test_sensor_trigger_set_and_disable
 PASS - test_sensor_trigger_set_and_disable in 0.666 seconds
===================================================================
START - test_sensor_trigger_set_negative
 PASS - test_sensor_trigger_set_negative in 0.001 seconds
===================================================================
TESTSUITE qdec_sensor failed.

------ TESTSUITE SUMMARY START ------

SUITE FAIL -  87.50% [qdec_sensor]: pass = 7, fail = 1, skip = 0, total = 8 duration = 4.636 seconds
 - PASS - [qdec_sensor.test_qdec_readings] duration = 3.301 seconds
 - PASS - [qdec_sensor.test_sensor_channel_get] duration = 0.301 seconds
 - FAIL - [qdec_sensor.test_sensor_channel_get_empty] duration = 0.220 seconds
 - PASS - [qdec_sensor.test_sensor_channel_get_negative] duration = 0.101 seconds
 - PASS - [qdec_sensor.test_sensor_sample_fetch] duration = 0.001 seconds
 - PASS - [qdec_sensor.test_sensor_trigger_set] duration = 0.045 seconds
 - PASS - [qdec_sensor.test_sensor_trigger_set_and_disable] duration = 0.666 seconds
 - PASS - [qdec_sensor.test_sensor_trigger_set_negative] duration = 0.001 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
PROJECT EXECUTION FAILED

There are expected ping/pong messages.

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.16.8
  • Commit SHA or Version used: v3.7.0-4578-g829c03bcdca3
@nordic-piks nordic-piks added bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug labels Oct 18, 2024
@nordic-piks
Copy link
Collaborator Author

Most probably due to #78660

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 platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants