aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:43:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-05 11:45:10 +0100
commit56285ada585ec1481449522282b335bcb5a2671e (patch)
tree68fd16428e6729261ce130b34e787f26e0c13b3c
parent1d043666710df1fa9d9586fd974c0371dd1514b0 (diff)
downloadbitbake-56285ada585ec1481449522282b335bcb5a2671e.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>
-rw-r--r--lib/bb/server/process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 21f95cb61..c7cb34f0c 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -215,6 +215,7 @@ class ProcessServer():
try:
serverlog("Running command %s" % command)
self.command_channel_reply.send(self.cooker.command.runCommand(command))
+ serverlog("Command Completed")
except Exception as e:
logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))