-
Notifications
You must be signed in to change notification settings - Fork 59
logging_ctl.sh: change log aliases to functions #1286
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
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.
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.
marc-hb
left a comment
There was a problem hiding this 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
left a comment
There was a problem hiding this 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:
all the log entries with |
|
I just noticed this gem of a hack 10 lines above... sigh |
Change
dlog*aliases to functions.