From e567743e70f426786ae54dcb5ab550748d9266e4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 7 Jul 2020 18:49:11 +0100 Subject: server/process: Increase timeout for commands We're running into this timeout on loaded autobuilders in situations where things should otherwise succeed. Log a note in these cases and continue to try for longer. Signed-off-by: Richard Purdie --- lib/bb/server/process.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 69aae626e..83385baf6 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -331,7 +331,9 @@ class ServerCommunicator(): def runCommand(self, command): self.connection.send(command) if not self.recv.poll(30): - raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server") + logger.note("No reply from server in 30s") + if not self.recv.poll(30): + raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)") return self.recv.get() def updateFeatureSet(self, featureset): -- cgit 1.2.3-korg