[bitbake-devel] [PATCH] process: Change timeout warning to a note

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jul 24 13:15:32 UTC 2017


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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 85beaae..1975bd4 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -312,7 +312,7 @@ class ServerCommunicator():
                     if self.recv.poll(1):
                         return self.recv.get()
                     else:
-                        bb.warn("Timeout while attempting to communicate with bitbake server")
+                        bb.note("Timeout while attempting to communicate with bitbake server, retrying...")
                 raise ProcessTimeout("Gave up; Too many tries: timeout while attempting to communicate with bitbake server")
             except KeyboardInterrupt:
                 pass
-- 
2.7.4




More information about the bitbake-devel mailing list