diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-07 18:49:11 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-07-13 05:28:17 -1000 |
commit | 344d3006a243f5f7d8f551556bab721b2ac0a2aa (patch) | |
tree | 7dfa3591fe9447104499b8d8e96b93a883735af8 | |
parent | cea130b238e874bae30e13b3242a00eaff7f853b (diff) | |
download | bitbake-344d3006a243f5f7d8f551556bab721b2ac0a2aa.tar.gz |
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 <richard.purdie@linuxfoundation.org>
(cherry picked from commit e567743e70f426786ae54dcb5ab550748d9266e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | lib/bb/server/process.py | 4 |
1 files changed, 3 insertions, 1 deletions
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): |