summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-07 18:49:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-08 12:12:45 +0100
commit968fcf4989f86a0a41fd1ccf08be3e73af428136 (patch)
treed6d61cc78e4c4fad5b86d0d4e0a35801e664bdc0 /bitbake
parentae79d6ecc6a368b6c2b3ffd5ddd11a4de445eb34 (diff)
downloadpoky-968fcf4989f86a0a41fd1ccf08be3e73af428136.tar.gz
bitbake: 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. (Bitbake rev: e567743e70f426786ae54dcb5ab550748d9266e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/server/process.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 69aae626eb..83385baf60 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -331,7 +331,9 @@ class ServerCommunicator():
331 def runCommand(self, command): 331 def runCommand(self, command):
332 self.connection.send(command) 332 self.connection.send(command)
333 if not self.recv.poll(30): 333 if not self.recv.poll(30):
334 raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server") 334 logger.note("No reply from server in 30s")
335 if not self.recv.poll(30):
336 raise ProcessTimeout("Timeout while waiting for a reply from the bitbake server (60s)")
335 return self.recv.get() 337 return self.recv.get()
336 338
337 def updateFeatureSet(self, featureset): 339 def updateFeatureSet(self, featureset):