summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
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:44:11 +0000
commit25d21316844f6ab35852f105a57b0077b103d84d (patch)
tree9e8fb77998b3f99c8000990bdd9ca9bd0a611721 /bitbake/lib/toaster
parent887c1cb446aa6e5f3d2b0701e5e0d38534253b24 (diff)
downloadpoky-25d21316844f6ab35852f105a57b0077b103d84d.tar.gz
bitbake: toaster: localhost build increase timeout
We increase the timeout for waiting bitbake to start for localhost builds. (Bitbake rev: 80476705f960a14bb8dc68c1d89460aeb6ca90c5) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index aef9b60cba..374991bfdb 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -136,7 +136,7 @@ class LocalhostBEController(BuildEnvironmentController):
136 136
137 retries = 0 137 retries = 0
138 started = False 138 started = False
139 while not started and retries < 10: 139 while not started and retries < 30:
140 started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength) 140 started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength)
141 import time 141 import time
142 logger.debug("localhostbecontroller: Waiting bitbake server to start") 142 logger.debug("localhostbecontroller: Waiting bitbake server to start")
@@ -144,7 +144,7 @@ class LocalhostBEController(BuildEnvironmentController):
144 retries += 1 144 retries += 1
145 145
146 if not started: 146 if not started:
147 raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: '%s')" % (cmdoutput)) 147 raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 15 seconds, aborting (Error: '%s')" % (cmdoutput))
148 148
149 logger.debug("localhostbecontroller: Started bitbake server") 149 logger.debug("localhostbecontroller: Started bitbake server")
150 150