aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/server/process.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-30 17:57:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-30 17:58:45 +0100
commitac3cd866274f67b29eff89e393132bdabf76dbfd (patch)
tree46e5846f321cf888c024934ff28d9c87f4e425d2 /lib/bb/server/process.py
parent9941b480a0e2a8b57f2ed069cd583f2784394a2b (diff)
downloadbitbake-ac3cd866274f67b29eff89e393132bdabf76dbfd.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>
Diffstat (limited to 'lib/bb/server/process.py')
-rw-r--r--lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 7616ef53c..4d4fa6d1b 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()