summaryrefslogtreecommitdiffstats
path: root/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-11 14:18:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:43:51 +0000
commit80476705f960a14bb8dc68c1d89460aeb6ca90c5 (patch)
tree67f9869e212e290e73ef5a78bb317a10517f6fc3 /lib/toaster/bldcontrol/localhostbecontroller.py
parent253d69e88fd68729196ad43c15e8733527d76198 (diff)
downloadopenembedded-core-contrib-80476705f960a14bb8dc68c1d89460aeb6ca90c5.tar.gz
toaster: localhost build increase timeout
We increase the timeout for waiting bitbake to start for localhost builds. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/bldcontrol/localhostbecontroller.py')
-rw-r--r--lib/toaster/bldcontrol/localhostbecontroller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/bldcontrol/localhostbecontroller.py b/lib/toaster/bldcontrol/localhostbecontroller.py
index aef9b60cba..374991bfdb 100644
--- a/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -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")