Skip to content

Conversation

@xiulipan
Copy link
Contributor

For old kernels like 5.8.10, we can still get boot fail logs in old style.
Add them into ignore list in sof-kernel-log-check

@marc-hb
Copy link
Collaborator

marc-hb commented Sep 22, 2020

Two suggestions:

Revert "sof-kernel-log-check: remove filter on initial boot issues"
This reverts commit 8797c85.

We can still see such issues on old kernels eg. 5.8.10
Need to ignore this in our test for old kernels.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
@xiulipan
Copy link
Contributor Author

@marc-hb Updated. please review

# Check https://github.com/thesofproject/linux/pull/1676 for more information.
# Fixed by https://github.com/thesofproject/linux/pull/2382
ignore_str="$ignore_str"'|error: iteration [01]'
ignore_str="$ignore_str"'|error: status'
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this mean that all error messages, containing the "error: status" substring will be ignored? That would seem overly broad to me.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks @lyakh for paying close attention. I think you're right BUT |error: status will be practically ignored only if it's alone or only with other lines ignored too. If at least one error line is not ignored then you get access to the entire kernel log for the corresponding test, @xiulipan confirm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I think other real errors will still be caught.

@xiulipan xiulipan merged commit 319fc31 into thesofproject:master Sep 24, 2020
@marc-hb marc-hb added the area:non-audio Failure False positives: failing when we don't want to label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:non-audio Failure False positives: failing when we don't want to

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants