diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-07 18:49:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-07 18:51:02 +0100 |
commit | e567743e70f426786ae54dcb5ab550748d9266e4 (patch) | |
tree | 47fefc63c05382471fce7e44949fe36249ac0bc6 /lib | |
parent | c5477ba79fcad4a887808dd0df9cfe3554e2c17a (diff) | |
download | bitbake-e567743e70f426786ae54dcb5ab550748d9266e4.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>
Diffstat (limited to 'lib')
-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): |