diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-30 17:57:42 +0100 |
---|---|---|
committer | Martin Jansa <martin.jansa@gmail.com> | 2023-12-21 14:03:53 +0100 |
commit | 391ffb01670769317e3fc1eb59dca5d1dce87c01 (patch) | |
tree | 6500ea3c774f91a9bf4496b7d1ac8c2b722fb22a | |
parent | eed256cad5fb8cf572b8be2abfdca7b09253cc09 (diff) | |
download | bitbake-contrib-391ffb01670769317e3fc1eb59dca5d1dce87c01.tar.gz |
server/process: Show command in timeout message
To learn more about the server timeout issues, be clear in the error
message about which command is showing the timeout. It is currently
unclear if this is the original command or a ping to the server.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index db417c842..3037a5ea3 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -502,7 +502,7 @@ class ServerCommunicator(): def runCommand(self, command): self.connection.send(command) if not self.recv.poll(30): - logger.info("No reply from server in 30s") + logger.info("No reply from server in 30s (for command %s)" % command[0]) if not self.recv.poll(30): raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") ret, exc = self.recv.get() |