logging_ctl.sh: change log aliases to functions#1286
logging_ctl.sh: change log aliases to functions#1286golowanow merged 1 commit intothesofproject:mainfrom
Conversation
Change `dlog*` aliases to functions. Signed-off-by: Marc Herbert <marc.herbert@intel.com> Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
marc-hb
left a comment
There was a problem hiding this comment.
Jenkins did not run yet.
marc-hb
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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:
all the log entries with |
|
I just noticed this gem of a hack 10 lines above... sigh |
Change
dlog*aliases to functions.