Skip to content

ignore_str to have root cause or known issue description #261

Closed

Description

@fredoh9

There is array of ignoring error message.
https://github.com/thesofproject/sof-test/blob/master/tools/sof-kernel-log-check.sh#L6

This error message was captured but it is known problem. But there is no description why this is safely ignored.
ignore_str="error: debugfs write failed to idle -16|error: status|iteration [01]"

@marc-hb added comments, #258

Ignoring errors is very dangerous and should be carefully reviewed and extensively documented. At the very least this code should be changed to something like:

# because blabla, see bug 1234
ignore_str="$ignore_str"'|error: debugfs write failed to idle -16'
# because blabla, see bug 5678
ignore_str="$ignore_str"'|error: status'

Activity

  1. marc-hb commented on Jun 25, 2020

    @marc-hb
    Collaborator

    I tig blamed the history of that ignorestr list:

    @aiChaoSONG could you implement and test this line split? For the debugfs write... line leave a # TODO for now.

    @xiulipan, @plbossart do you know why this this debugfs write... error must be ignored?

  2. aiChaoSONG commented on Jun 26, 2020

    @aiChaoSONG

    @marc-hb I have no idea why debugfs write.. is added, it is far before I joined CI, but some error string in ignore_str is deprecated. I will try to clean up and split ignore_str after Dragon Boat Holiday.

  3. aiChaoSONG commented on Jun 29, 2020

    @aiChaoSONG

    @Bin-QA Could you please help to find the reason for each ignore_str? though Marc gives some hint, but from the releated commit's message, It's really hard to know the reason, because the message is not clear.

  4. aiChaoSONG commented on Jun 29, 2020

    @aiChaoSONG

    WIP PR: #268

  5. added 3 commits that reference this issue on Jun 30, 2020
    101346f
    bebd383
    0dd12f6
  6. added a commit that references this issue on May 20, 2024
    92d6440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions