Skip to contentSkip to conversation

process: Change timeout warning to a note

PATCH New Richard Purdie 1 participant 1 message Jul 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 lib/bb/server/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/server/process.py +1 -1
index 85beaae..1975bd4 100644
@@ -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
Signature · 1 line
2.7.4