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-19 16:22:12 +0100 |
commit | 3ef26fead43d27558cd860fdf871d94944ac8f97 (patch) | |
tree | 2eef206de3490c8e871074db2ae8cdff14e912b0 /bitbake/lib/bb | |
parent | 03e20850afa06218e752d5c08c2c12f79daeb440 (diff) | |
download | poky-3ef26fead43d27558cd860fdf871d94944ac8f97.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: 344d3006a243f5f7d8f551556bab721b2ac0a2aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e567743e70f426786ae54dcb5ab550748d9266e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 4 |
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): |