You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
vmh_test_single() test in work/sof/zephyr/test/vmh.c fails.
To Reproduce
uncomment SOF_BOOT_TEST and ZTEST in sof/app/debug_overlay.conf
build SOF with debug enabled "-d"
boot FW, test is run on boot
Reproduction Rate
100%
Expected behavior
Test should pass
Impact
The failing test caused DSP panics in #8621 . The relation is not fully understood yet, but potentially vmh error can have serious side-impacts that we need to understand
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
@dabekjakub Can you check whether the calling sequence (i.e. the test) is correct? This seems to fail 100% and is causing "interesting" side-effects when failing (DSP panics as seen in #8621 ).
Yes on CAVS but not on MTL; never passed on the latter. See details in #8621
@dabekjakub@marc-hb I'd say it depends on what "this test" is referring to. If it's referring to the complete boot-test, then yes, Marc's answer is correct. If however it's referring to the VMH test, then no, it never passed. The boot-test passed on cAVS because VMH is disabled there (IIRC, or at least the vmh test was never enabled there)
Ok, this is actually quite good (for ztest and we've caught an issue early) - it means the test results are being correctly captured. @kv2019i was this manual testing or automatic via CI ?
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Activity
kv2019i commentedon Dec 14, 2023
@dabekjakub Can you check whether the calling sequence (i.e. the test) is correct? This seems to fail 100% and is causing "interesting" side-effects when failing (DSP panics as seen in #8621 ).
FYI @marc-hb @lyakh
dabekjakub commentedon Dec 14, 2023
Did this test pass when @lyakh submited it ? I am currently trying to setup unit testing for vmh. I will look at this one after I wrap up my tests.
marc-hb commentedon Dec 14, 2023
Yes on CAVS but not on MTL; never passed on the latter. See details in #8621
lyakh commentedon Dec 15, 2023
@dabekjakub @marc-hb I'd say it depends on what "this test" is referring to. If it's referring to the complete boot-test, then yes, Marc's answer is correct. If however it's referring to the VMH test, then no, it never passed. The boot-test passed on cAVS because VMH is disabled there (IIRC, or at least the vmh test was never enabled there)
lgirdwood commentedon Dec 18, 2023
Ok, this is actually quite good (for ztest and we've caught an issue early) - it means the test results are being correctly captured. @kv2019i was this manual testing or automatic via CI ?
marc-hb commentedon Dec 18, 2023
Catching errors in firmware logs is still blocked because there are a few errors left in every run:
marc-hb commentedon Jan 8, 2024
@kv2019i
mtrace-reader.pyis the only way to see this error log, correct?https://github.com/thesofproject/sof/tree/main/tools/mtrace
github-actions commentedon Jun 19, 2025
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.