Skip to content

Conversation

@golowanow
Copy link
Member

Change dlog* aliases to functions.

Change `dlog*` aliases to functions.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
@golowanow golowanow mentioned this pull request Jul 24, 2025
@golowanow golowanow marked this pull request as ready for review July 24, 2025 12:34
@golowanow golowanow requested review from a team, lgirdwood and marc-hb as code owners July 24, 2025 12:34
marc-hb
marc-hb previously approved these changes Jul 24, 2025
Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins did not run yet.

Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unfortunately does not seem to work, makes all the log levels replaced by REMOTE_...

2025-07-24 14:59:13 UTC [REMOTE_INFO] ktime=1669 sof-test PID=16342: starting
2025-07-24 14:59:13 UTC [REMOTE_INFO] Starting /usr/local/bin/mtrace-reader.py >& /home/ubuntu/sof-test/logs/multiple-pipeline/2025-07-24-14:59:13-887/mtrace.txt &
2025-07-24 14:59:13 UTC [REMOTE_INFO] /home/ubuntu/sof-test/test-case/multiple-pipeline.sh will use topology /usr/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-rt711-l0-rt1316-l23-rt714-l1.tplg to run the test case
2025-07-24 14:59:13 UTC [REMOTE_INFO] Pipeline list to ignore is specified, will ignore 'pcm=HDA Digital' in test case
2025-07-24 14:59:13 UTC [REMOTE_INFO] Run command to get pipeline parameters
2025-07-24 14:59:13 UTC [REMOTE_COMMAND] sof-tplgreader.py /usr/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-rt711-l0-rt1316-l23-rt714-l1.tplg -f 'type:any & ~pcm:Amplifier Reference & ~pcm:HDMI' -b ' pcm:HDA Digital' -s 0 -e
2025-07-24 14:59:14 UTC [REMOTE_INFO] ===== Testing: (Loop: 1/1) =====
2025-07-24 14:59:14 UTC [REMOTE_INFO] /home/ubuntu/sof-test/test-case/multiple-pipeline.sh will use topology /usr/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-rt711-l0-rt1316-l23-rt714-l1.tplg to run the test case
2025-07-24 14:59:14 UTC [REMOTE_INFO] Pipeline list to ignore is specified, will ignore 'pcm=HDA Digital' in test case

@marc-hb marc-hb dismissed their stale review July 24, 2025 16:49

does not seem to work

@golowanow golowanow marked this pull request as draft July 24, 2025 16:51
Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind: the logs have been like this for a long time. I have no idea why and since how long and it's not great IMHO. But this PR does not change anything there and is good to go.

Here's a months old example: https://sof-ci.01.org/softestpr/PR1268/build1020/devicetest/index.html?model=MTLP_RVP_NOCODEC&testcase=verify-tplg-binary

2025-04-11 11:57:55 UTC [REMOTE_INFO] ktime=142 sof-test PID=2394: starting
2025-04-11 11:57:55 UTC [REMOTE_INFO] Checking topology file: /usr/lib/firmware/intel/development/sof-mtl-nocodec.tplg with sof-tplgreader.py
2025-04-11 11:57:55 UTC [REMOTE_INFO] Found file: /usr/lib/firmware/intel/development/sof-mtl-nocodec.tplg f5f016d0faa2f0739ff6f9e18f5dab80
2025-04-11 11:57:55 UTC [REMOTE_INFO] Valid pipeline(s) in this topology:

@marc-hb marc-hb marked this pull request as ready for review July 25, 2025 20:35
@golowanow
Copy link
Member Author

Never mind: the logs have been like this for a long time

all the log entries with REMOTE_INFO from your log snippet are by dlogi, and in case of dlogw, dlogc, dloge we have REMOTE_WARNING, REMOTE_COMMAND, REMOTE_ERROR respectively, so it should be correct.

2025-07-24 16:07:14 UTC [REMOTE_ERROR] No playback or capture PCM is specified. Skip the alsabat test

@golowanow golowanow merged commit 3087973 into thesofproject:main Aug 14, 2025
4 of 8 checks passed
@marc-hb
Copy link
Collaborator

marc-hb commented Aug 14, 2025

I just noticed this gem of a hack 10 lines above... sigh

[[ ! "$LS_COLORS" ]] && __LOG_PREFIX="REMOTE_"

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

Successfully merging this pull request may close these issues.

4 participants