Skip to content

check-sof-logger: fix bug that did not kill/clean sof-logger -t - #711

Merged
marc-hb merged 2 commits into
thesofproject:mainfrom
marc-hb:logger-kill-fix
Jun 19, 2021
Merged

check-sof-logger: fix bug that did not kill/clean sof-logger -t#711
marc-hb merged 2 commits into
thesofproject:mainfrom
marc-hb:logger-kill-fix

Conversation

@marc-hb

Copy link
Copy Markdown
Collaborator

2 commits. Main fix:

Killing sudo does NOT kill the sof-logger child! Use timeout as root
instead.

We probably got away with it because of the various "pkill sof-logger"
out there.

Fixes 8732f67 ("check-sof-logger: rewrite most of it so it can
actually find bugs ")

Signed-off-by: Marc Herbert marc.herbert@intel.com

Empty tabs are confusing, especially so because there's nothing that
says "stderr" in their name or anywhere.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Killing sudo does NOT kill the sof-logger child! Use timeout as root
instead.
We probably got away with it because of the various "pkill sof-logger"
out there.
Fixes 8732f67 ("check-sof-logger: rewrite most of it so it can
actually find bugs ")
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

@marc-hb
marc-hb marked this pull request as ready for review June 19, 2021 04:51
@marc-hb
marc-hb requested a review from a team as a code ownerJune 19, 2021 04:51

@fredoh9fredoh9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

printing filename in empty file is good idea.
I like timeout...wait change also.

@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

Thanks for the prompt review.

Pure bug fix blocking other stuff, expediting this sorry.

@marc-hb
marc-hb merged commit d42be8b into thesofproject:mainJun 19, 2021
@marc-hb
marc-hb deleted the logger-kill-fix branch June 19, 2021 05:15
@marc-hbmarc-hb added the area:logs Log and results collection, storage, etc. label Jul 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:logsLog and results collection, storage, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@marc-hb@fredoh9