summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-24 14:10:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-24 16:57:14 +0100
commit33b73b2d791716485f48ff56b57ce03b05174410 (patch)
tree5ecaad27377426ed6a528ea054e18c5aa23a1fa3
parent76ecfa5f69429371167cdaf3e4e3a24d8ee77ac3 (diff)
downloadpoky-33b73b2d791716485f48ff56b57ce03b05174410.tar.gz
bitbake: process: Change timeout warning to a note
The warning message currently shown can occur more frequently than previously if a previous bitbake server is shutting down and we're reconnecting to a new server. Change it to a note message to match the higher level connection logging retry messages and so as not to interfer with selftests. (Bitbake rev: b7514340cd6a2753eb217b059229bb279c3849ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 85beaae014..1975bd445f 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -312,7 +312,7 @@ class ServerCommunicator():
312 if self.recv.poll(1): 312 if self.recv.poll(1):
313 return self.recv.get() 313 return self.recv.get()
314 else: 314 else:
315 bb.warn("Timeout while attempting to communicate with bitbake server") 315 bb.note("Timeout while attempting to communicate with bitbake server, retrying...")
316 raise ProcessTimeout("Gave up; Too many tries: timeout while attempting to communicate with bitbake server") 316 raise ProcessTimeout("Gave up; Too many tries: timeout while attempting to communicate with bitbake server")
317 except KeyboardInterrupt: 317 except KeyboardInterrupt:
318 pass 318 pass