Skip to content

[BUG] sof-logger resisted pkill -INT, using -KILL #385

Description

@marc-hb

#373 was merged because https://sof-ci.01.org/softestpr/PR373/build182/devicetest was all green. However almost all tests were failing because the sof-logger resisted kill -INT. To make it worse I misused exit_status=2 which has the special meaning Not Applicable which means no error and everything is green.

Activity

  1. marc-hb commented on Sep 18, 2020

    @marc-hb
    CollaboratorAuthor

    Quick workaround submitted at #381

  2. self-assigned this
    on Sep 18, 2020
  3. marc-hb commented on Sep 18, 2020

    @marc-hb
    CollaboratorAuthor

    I cannot reproduce locally but I got an idea:

    2020-09-17 20:56:25 UTC [REMOTE_ERROR] sof-logger resisted pkill -INT, using -KILL
    

    I don't do anything REMOTE_ maybe that's why it's happening in CI and not locally.

    From https://pubs.opengroup.org/onlinepubs/7908799/xsh/signal.h.html

    SIGINT | i | Terminal interrupt signal.

    I've never done the REMOTE_ thing, no idea how to do it. @xiulipan or @aiChaoSONG could you compare REMOTE_ vs local for me?

  4. marc-hb commented on Sep 18, 2020

    @marc-hb
    CollaboratorAuthor

    I switched from -INT to -TERM and it works, please review: #382

    I filed this in sof because I was afraid it was an issue with the logger but now I think it's just an sof-test issue.

  5. transferred this issue fromthesofproject/sofon Sep 18, 2020
  6. mengdonglin commented on Sep 28, 2020

    @mengdonglin
    Contributor

    Keep this issue open before we root cause if this is a bug of sof-logger or test case.

    • If this is an sof-logger issue, will close this issue and report a bug in SOF repo.
    • If this is a test case issue, we will use PR refine alsabat test script #401 and close this issue.
  7. added
    type:bugSomething doesn't work as expected
    P2Critical bugs or normal features
    on Sep 28, 2020
  8. marc-hb commented on Sep 28, 2020

    @marc-hb
    CollaboratorAuthor

    I believe this has been fixed by #382 hijack.sh: switch first attempt to stop the logger from -INT to -TERM, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

False Pass / green failureP2Critical bugs or normal featuresarea:logsLog and results collection, storage, etc.type:bugSomething doesn't work as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions