]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: process: Change timeout warning to a note
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Jul 2017 13:10:58 +0000 (14:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Jul 2017 15:57:14 +0000 (16:57 +0100)
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>
bitbake/lib/bb/server/process.py

index 85beaae014cdf18026a2980741a83e5567bfa7bf..1975bd445fe02acd1b2decee2c5ce1b422a9f8bf 100644 (file)
@@ -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