diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-27 06:44:00 -1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-28 13:30:40 +0100 |
commit | d388f6d159b9d7e1ed3f199f2d1aca0c473cda6d (patch) | |
tree | b67c4563e8ce064c515cf193434d878abe6fcadf | |
parent | d22cc1e587c650fd5f90cda32f5720f8a3105aac (diff) | |
download | bitbake-d388f6d159b9d7e1ed3f199f2d1aca0c473cda6d.tar.gz |
server/process: Note when commands complete in logs
Its hard to tell from the server logs whether commands complete or not
(or how long they take). Add extra info to allow more debugging of
server timeouts.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56285ada585ec1481449522282b335bcb5a2671e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/server/process.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 7b1357627..3c9ed7068 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -221,6 +221,7 @@ class ProcessServer(multiprocessing.Process): try: print("Running command %s" % command) self.command_channel_reply.send(self.cooker.command.runCommand(command)) + print("Command Completed") except Exception as e: logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e))) |