Uh oh!
There was an error while loading. Please reload this page.
boards: Intel cAVS: disable DTRACE - #7955
Conversation
3b554e4 to
c453ab2Compareujfalusi
commented
Jul 17, 2023
SOFCI TEST |
ujfalusi
commented
Jul 17, 2023
It is failing all over in |
DTRACE is IPC3 only, it is not used anymore. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
DTRACE is IPC3 only, it is not used anymore. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
c453ab2 to
3829e40Compareujfalusi
commented
Jul 17, 2023
it keeps failing with check-logger, let's see if reverting the TGL config change makes it working (iow, revert to sof:main state). |
So, on sof: main: applying the PR (only the first patch is relevant for TGL): The Disabling the TRACE somehow reduces the zephyr mentions in the ldc file to 1 (also any command line parameter does the same). diff --git a/case-lib/lib.sh b/case-lib/lib.sh
index 6318a53ef476..d7b6a3a9f8d2 100644
--- a/case-lib/lib.sh+++ b/case-lib/lib.sh@@ -702,7 +702,7 @@ is_zephyr()
local znum
znum=$(strings "$ldcFile" | grep -c -i zephyr)
# As of Nov. 2021, znum ~= 30 for Zephyr and 0 for XTOS
- test "$znum" -gt 10+ test "$znum" -gt 0
}
# FIXME: the kernel driver should give us the FW path@marc-hb, any hint, idea what is going on? |
ujfalusi
commented
Jul 17, 2023
If I download the |
marc-hb
commented
Jul 17, 2023
Hi @ujfalusi , sorry I don't have time to look at this today, hopefully this week. What I can tell you is: sof-test in general (not just check-sof-logger) makes a lot of guesses and this is not good, see thesofproject/linux#3867 for more bad news. The difference between check-sof-logger and the rest of sof-test is: the other tests tend not to care about totally missing logs and pass anyway! But their brittle detection logic should be the same, they should share the same, relevant sof-test code. |
marc-hb
commented
Jul 17, 2023
Please add a comment telling where CONFIG_TRACE comes from. That name is unfortunately the most vague and generic whereas we have way too many logging solutions still in the main branch (which supports not just Intel) |
ujfalusi
commented
Jul 18, 2023
The firmware log collection works on other tests, only check-sof-logger is failing and I think I might have an idea why...
|
marc-hb
commented
Jul 18, 2023
Thanks @ujfalusi , great catch. I just checked the git log and the .ldc-based Warning: the newer function depends on the firmware having been loaded at least once. So there maybe corner cases where the older function is still required. But the more the newer function can be used the better. |
ujfalusi
commented
Jul 18, 2023
3829e40 to
4e0121fCompareujfalusi
commented
Jul 19, 2023
sof-test should handle now the logger checking, move out from Draft. |
kv2019i
commented
Jul 20, 2023
Known pause-resume fail on one DUT in https://sof-ci.01.org/sofpr/PR7955/build10953/devicetest/index.html, one PM fail (on one DUT) in the same report. Matches baseline, so proceeding with merge. |
TGL and TGL-H can only be build with IPC4 support and DTRACE is only supported by IPC3.