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

[BUG] DMIC test fails to find non-existing card 0 #1244

Open
harajend opened this issue Dec 17, 2024 · 2 comments
Open

[BUG] DMIC test fails to find non-existing card 0 #1244

harajend opened this issue Dec 17, 2024 · 2 comments

Comments

@harajend
Copy link
Contributor

Describe the bug
"verify-kernel-boot-log" test case failed with error message "amixer: Cannot find the given element from control default"

Triage details
The test script is looking for Sound card 0 by default, but in this case, Sound card 1 is enabled; hence, the test result is FAIL

To Reproduce

  1. Launch Terminal in Linux DUT and run below command line
    • "TPLG=/lib/firmware/intel/sof-ipc4-tplg/sof-ptl-rt722-4ch.tplg MODEL=PTLP_RVP_SDW SOF_TEST_INTERVAL=5 ~/sof-test/test-case/verify-kernel-boot-log.sh"

Expected behavior
Test script should pick sound card dynamically

Detail Info

  1. Linux kernel and SOF Firmware details:
  2. Test report ID:
    *ID: #48234
  3. Test DUT Model:
    • MODEL: {PTLP_RVP_SDW}
  4. Test TPLG
    • TPLG: {/lib/firmware/intel/sof-ipc4-tplg/sof-ptl-rt722-4ch.tplg}
  5. Test case
    • TESTCASE: verify-kernel-boot-log.sh

Failure logs

Console output
image

@harajend harajend closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 17, 2024

Avoid screenshots when not necessary, use copy/paste:
https://docs.zephyrproject.org/latest/develop/getting_started/index.html#use-copy-paste

This is a good example of when not to use screenshots because neither the title nor the description has relevant keywords (DMIC raw capture switch)

This looks like a real issue; I added a test specifically for this (cc: @kv2019i )

@harajend harajend reopened this Jan 13, 2025
@harajend
Copy link
Contributor Author

Pull request for this Bug: #1249

@marc-hb marc-hb changed the title [BUG] "verify-kernel-boot-log" test failed [BUG] "verify-kernel-boot-log" fails to find non-existing card 0 Jan 15, 2025
@marc-hb marc-hb changed the title [BUG] "verify-kernel-boot-log" fails to find non-existing card 0 [BUG] DMIC test fails to find non-existing card 0 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants