From 4bb1f0e236d27df861299c5fa689c18968690e88 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 30 Jun 2023 17:57:42 +0100 Subject: bitbake: 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. (Bitbake rev: ac3cd866274f67b29eff89e393132bdabf76dbfd) Signed-off-by: Richard Purdie --- bitbake/lib/bb/server/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/server') diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 7616ef53c8..4d4fa6d1be 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/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() -- cgit v1.2.3-54-g00ecf