Repository navigation
journalctl patchset version 5 - #529
Conversation
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
9f79bbb to
e8fadd1
Compare
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
…iteration remove the redundant kernel log check for all case. enable kernel log check for each iteration. also do some clean up for this script Signed-off-by: Pan Xiuli <[email protected]>
e8fadd1 to
9f78af5
Compare
…teration remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
…tion remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
…eration remove the redundant kernel log check for all case. enable kernel log check for each iteration. Signed-off-by: Pan Xiuli <[email protected]>
add some style options for the journalctl to unify all journalctl output format Signed-off-by: Pan Xiuli <[email protected]>
Directly use journalctl in the testcase to avoid kernel log missing issues. Signed-off-by: Pan Xiuli <[email protected]>
use journalctl by default for any kernel log reader usage. Also add headter for the file. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Pan Xiuli <[email protected]>
Add path for the sof-dump-status.py to avoid error: sof-dump-status.py: command not found Signed-off-by: Pan Xiuli <[email protected]>
use journalctl to get kernl logs. use timestamp as checkpoint to split logs for each test case. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Pan Xiuli <[email protected]>
Add common error logs from systemd, initramfs, atkbd, i801_smbus, ata3, genirq, DMAR, dw_dmac, proc_thermal, SDWm, touch pad Those error level logs did not break functionality of the DUTs. Signed-off-by: Pan Xiuli <[email protected]>
|
SOFCI TEST |
|
SOF CI test passed, merge now. Track issues in following tests. |
This wasn't really a problem as long as sof-kernel-log-check.sh was reading /var/log/kernel.log, which just changed in PR thesofproject#529 Signed-off-by: Marc Herbert <[email protected]>
|
For the record there a was an incomplete (and partially ignored) review in #509 and in some other PRs before that. |
This was apparently missed in thesofproject#529 Together with thesofproject#523 this makes it identical to multiple-pipeline-capture.sh again. Signed-off-by: Marc Herbert <[email protected]>
| echo "$(date -u '+%Y-%m-%d %T %Z')" "[ERROR]" "Caught dmesg error" | ||
| # below are new error level kernel logs from journalctl --priority=err | ||
| # that did not influence system and can be ignored | ||
|
|
There was a problem hiding this comment.
Many of these errors are kernel errors. Why ignoring them was not required before / why is it required now?
There was a problem hiding this comment.
Answering my own question: because they don't have any "error" keyword in the message
|
|
||
| declare -p cmd | ||
| # check priority err for error message | ||
| [[ "$ignore_str" ]] && err=$($cmd --priority=err | grep -vE "$ignore_str") || $($cmd --priority=err) |
There was a problem hiding this comment.
The last part of this line is pretty clearly wrong. shellcheck reported this at the very bottom of https://travis-ci.org/github/thesofproject/sof-test/jobs/744836564 but of course shellcheck output is unreadable for such "big bang" pull requests.
There was a problem hiding this comment.
Will send a PR to fix this.
This was apparently missed in #529 Together with #523 this makes it identical to multiple-pipeline-capture.sh again. Signed-off-by: Marc Herbert <[email protected]>
This wasn't really a problem as long as sof-kernel-log-check.sh was reading /var/log/kernel.log, which just changed in PR #529 Signed-off-by: Marc Herbert <[email protected]>
TODO:
kernel log dump and some test case dmesg usage.