]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: localhost build increase timeout
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 11 Mar 2015 14:18:36 +0000 (14:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:43:51 +0000 (17:43 +0000)
We increase the timeout for waiting bitbake to start
for localhost builds.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
lib/toaster/bldcontrol/localhostbecontroller.py

index aef9b60cba20f50e04e6e029615e59114c20bf57..374991bfdb9c4ab126e5f395bade76694c7f4446 100644 (file)
@@ -136,7 +136,7 @@ class LocalhostBEController(BuildEnvironmentController):
 
         retries = 0
         started = False
-        while not started and retries < 10:
+        while not started and retries < 30:
             started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength)
             import time
             logger.debug("localhostbecontroller: Waiting bitbake server to start")
@@ -144,7 +144,7 @@ class LocalhostBEController(BuildEnvironmentController):
             retries += 1
 
         if not started:
-            raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: '%s')" % (cmdoutput))
+            raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 15 seconds, aborting (Error: '%s')" % (cmdoutput))
 
         logger.debug("localhostbecontroller: Started bitbake server")