summaryrefslogtreecommitdiffstats
path: root/bitbake
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:18 +0100
commitef21d084241ef2f7d3816338b74202044ce78d4d (patch)
tree215d618a835db25e38401354b365da8a89d397c0 /bitbake
parent707f99642a6f29f2db835aadb8afba672e265588 (diff)
downloadpoky-ef21d084241ef2f7d3816338b74202044ce78d4d.tar.gz
bitbake: 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. (Bitbake rev: 56285ada585ec1481449522282b335bcb5a2671e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 21f95cb61e..c7cb34f0cc 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -215,6 +215,7 @@ class ProcessServer():
215 try: 215 try:
216 serverlog("Running command %s" % command) 216 serverlog("Running command %s" % command)
217 self.command_channel_reply.send(self.cooker.command.runCommand(command)) 217 self.command_channel_reply.send(self.cooker.command.runCommand(command))
218 serverlog("Command Completed")
218 except Exception as e: 219 except Exception as e:
219 logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e))) 220 logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))
220 221