Skip to content
Commit 0c484c5a authored by Richard Purdie's avatar Richard Purdie Committed by Steve Sakoman
Browse files

ptest-runner: Pull in sync fix to improve log warnings



Pulls in:

    utils: Ensure buffers are flushed after child exits

    We currently wait for the child to exit but we don't flush the buffers.
    This can mean the output ends up out of sync and the END: line isn't at
    the end of the logs.

    We've recently seen a lot of issues related to this on the autobuilder.
    Add in a flush call for all fds to ensure buffers are in sync. This
    does appear to improve warnings on the autobuilder now we started detecting
    the issue.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f051de5d)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent d081071c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment