-
Notifications
You must be signed in to change notification settings - Fork 59
tools: ignore false error message for ICL #365
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
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.
-
I don't think we want to ignore every panic message like this but only the ones with
status = 0x00000000 panic = 0x00000000. -
Are we sure all ICL devices are located on PCI
0000:00:1f.3? -
@kv2019i do we have a bug about this?
-
Can you please help review and merge #362 first? I bet it will conflict with this. #362 has been submitted for longer and this is much smaller so it will easier to rebase. UPDATE: done, thanks.
Pattern like
Yes, all ICL devices have the same PCI ID: 0000:00:1f.3, but other platforms may have a different PCI ID, and false error message also seen on other platform, so here I will use an RE also. |
Then why not just add Grepping for "panic" in info messages seems silly. (In fact searching for keywords at all instead of using levels seems a bit silly but let's not go there yet) |
I regard this PR (or even other PR related to ignore some specified message) as a workaround. Just as you said, the best way is to use journalctl. I will try |
kv2019i
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.
Please add a reference to the bug in the filter comment, but with that addressed, this seems good to go for me.
Agreed: we should use
BTW #361 could be helpful here. |
On some platforms, the info "sof-audio-pci 0000:00:1f.3: status = 0x00000000 panic = 0x00000000" causes test failure because we detect the word "panic". This patch ignores this pattern. Signed-off-by: Amery Song <chao.song@intel.com>
|
@aiChaoSONG can you please add a fix to this change to only filter this message when it is not prefixed by "error:" and not otherwise? |
We have to ignore this pattern even it is not prefixed by "error", because the word "panic" also causes test case failure. |
Since this message appeared in CI (see thesofproject/sof#3395 for some history) I've never seen any other values than |
@aiChaoSONG did you try
Do you mean "accelerate"?
I'm not sure what better UPDATE, thanks @aiChaoSONG : |
|
@marc-hb I am afraid it doesn't work.
dmesg is used only when there is no new logs in /var/log/kern.log, even I add that's why we want journalctl to replace all the log thing. |
|
@ranj063 wrote:
You meant the reverse, right @ranj063 ? We want to raise CI errors only if this trace is printed with "error:" prefix. I..e we should filter out traces that do not have "error:" (the 0...2 attempts). |
@ranj063 confirmed she did the reverse in another, private conversation. Anyway we don't have levels in |
|
After some more online and offline discussions it's clear this PR ignores way too many possible errors / potential "green failures". Also, hiding which platforms experience the issue and what status they print is not going to help address it in the long run. So I'm making this exclude much narrower in #372 so we can spot and record other occurrences, see source code comment there (@xiuli please wait until that all questions are answered and all discussions are finished before merging a PR) BTW this is not a "false" error, this is a known error. |
On ICL, the info "sof-audio-pci 0000:00:1f.3:
status = 0x00000000 panic = 0x00000000" causes
test failure because we detect the word "panic".
This patch ignores this pattern.
Signed-off-by: Amery Song chao.song@intel.com