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

Intel CAVS: log missing of tests/lib/p4workq/ #45670

Closed
LixinGuoX opened this issue May 16, 2022 · 1 comment · Fixed by #45745
Closed

Intel CAVS: log missing of tests/lib/p4workq/ #45670

LixinGuoX opened this issue May 16, 2022 · 1 comment · Fixed by #45745
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Intel ADSP Intel Audio platforms priority: low Low impact/importance bug

Comments

@LixinGuoX
Copy link
Collaborator

Describe the bug
tests/lib/p4workq/ has 4 test functions

test_p4wq_simple
test_resubmit
test_fill_queue
test_stress

On Intel CAVS platform, we lost the log of test_resubmit and test_fill_queue

To Reproduce
Steps to reproduce the behavior:

  1. twister -W -p intel_adsp_cavs15 --device-testing --device-serial-pty=$HOME/zephyrproject/zephyr/soc/xtensa/intel_adsp/tools/cavstwist.sh --west-flash=$HOME/zephyrproject/zephyr/soc/xtensa/intel_adsp/tools/cavstwist.sh -T tests/lib/p4workq/ -vv

Expected behavior
We should have intact log of test functions.

Logs and console output

Running TESTSUITE lib_p4wq_test
===================================================================
START - test_p4wq_simple
PASS - test_p4wq_simple in 0.15 seconds
===================================================================
START - test_resubmit
priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
W: Out of worker threads, priority guarantee violated
PASS - test_stress in 0.211 seconds
===================================================================
TESTSUITE lib_p4wq_test succeeded
===================================================================
RunID: 2cd902de93d17fdc88b6c7949b8f76f8
PROJECT EXECUTION SUCCESSFUL

Environment (please complete the following information):

  • OS: Linux
  • Toolchain 0.14.1
  • Commit d781945
@LixinGuoX LixinGuoX added bug The issue is a bug, or the PR is fixing a bug platform: Intel ADSP Intel Audio platforms labels May 16, 2022
@carlescufi carlescufi added the priority: low Low impact/importance bug label May 17, 2022
@rljordan rljordan assigned smrtos and unassigned teburd May 17, 2022
@nashif
Copy link
Member

nashif commented May 17, 2022

the warning log message above is flooding the buffer, if you remove it, you get the expected output, this is the same bug we have seen before with the memory window not able to handle message floods...

Running TESTSUITE lib_p4wq_test
===================================================================
START - test_p4wq_simple
 PASS - test_p4wq_simple in 0.15 seconds
===================================================================
START - test_resubmit
 PASS - test_resubmit in 0.101 seconds
===================================================================
START - test_fill_queue
 PASS - test_fill_queue in 0.3 seconds
===================================================================
START - test_stress
 PASS - test_stress in 0.111 seconds
===================================================================
TESTSUITE lib_p4wq_test succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL

not related to twister, it is a logging backend issue of ADSP.

nashif added a commit to nashif/zephyr that referenced this issue May 17, 2022
Log messages from workqueue are very chatty and on some systems cause
dropping of messages coming from the tests, so set the level to not get
warnings.

Fixes zephyrproject-rtos#45670

Signed-off-by: Anas Nashif <[email protected]>
nashif added a commit that referenced this issue May 18, 2022
Log messages from workqueue are very chatty and on some systems cause
dropping of messages coming from the tests, so set the level to not get
warnings.

Fixes #45670

Signed-off-by: Anas Nashif <[email protected]>
laxiLang pushed a commit to laxiLang/zephyr that referenced this issue May 30, 2022
Log messages from workqueue are very chatty and on some systems cause
dropping of messages coming from the tests, so set the level to not get
warnings.

Fixes zephyrproject-rtos#45670

Signed-off-by: Anas Nashif <[email protected]>
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: Intel ADSP Intel Audio platforms priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants