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/benchmarks/latency_measure failed on mec15xxevb_assy6853 board. #24136

Closed
chen-png opened this issue Apr 7, 2020 · 0 comments
Closed
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 priority: medium Medium impact/importance bug

Comments

@chen-png
Copy link
Collaborator

chen-png commented Apr 7, 2020

Describe the bug
Running tests/benchmarks/latency_measure on mec15xxevb_assy6853 board, the test will stop at "1 - Measure time to switch from ISR back to interrupted thread ", and fail due to timeout.

To Reproduce
Steps to reproduce the behavior:

  1. sanitycheck --hardware-map ~/mec1.yml --device-testing -T tests/benchmarks/latency_measure
  2. See error in handler.log file

Screenshots or console output

*** Booting Zephyr OS build zephyr-v2.2.0-1181-g3b4d58aa4bb0 ***
Latency Benchmark
-----------------------------------------------------------------------------
tcs = timer clock cycles: 1 tcs is 30517 nsec
-----------------------------------------------------------------------------
1 - Measure time to switch from ISR back to interrupted thread

Environment (please complete the following information):

  • OS: fedora28
  • Toolchain: zephyr-sdk-0.11.2
  • Commit ID: 3b4d58a
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Apr 7, 2020
@nashif nashif added priority: medium Medium impact/importance bug area: Tests Issues related to a particular existing or missing test labels Apr 7, 2020
dcpleung added a commit to dcpleung/zephyr that referenced this issue Apr 8, 2020
Disable power management for boards mec15xxevb_assy6853 and
mec1501modular_assy6885 on latency_measure test. This prevents
the SoC from sleeping which may skew the results. Also this
prevents stopping mid-test due to SoC being in sleep state,
and there are no external interrupts to wake up the SoC.

Fixes zephyrproject-rtos#24136

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
@nashif nashif closed this as completed in 67d220d Apr 11, 2020
avisconti pushed a commit to avisconti/zephyr that referenced this issue Apr 15, 2020
Disable power management for boards mec15xxevb_assy6853 and
mec1501modular_assy6885 on latency_measure test. This prevents
the SoC from sleeping which may skew the results. Also this
prevents stopping mid-test due to SoC being in sleep state,
and there are no external interrupts to wake up the SoC.

Fixes zephyrproject-rtos#24136

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
hakehuang pushed a commit to hakehuang/zephyr that referenced this issue Jun 20, 2020
Disable power management for boards mec15xxevb_assy6853 and
mec1501modular_assy6885 on latency_measure test. This prevents
the SoC from sleeping which may skew the results. Also this
prevents stopping mid-test due to SoC being in sleep state,
and there are no external interrupts to wake up the SoC.

Fixes zephyrproject-rtos#24136

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
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 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants