Skip to contentSkip to conversation

server/process: Show command in timeout message

PATCH New Richard Purdie 1 participant 1 message Jun 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/server/process.py +1 -1
index 7616ef53c8..4d4fa6d1be 100644
@@ -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()
Signature · 1 line
2.39.2