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>
This commit is contained in:
Alexandru DAMIAN 2015-03-11 14:18:36 +00:00 committed by Richard Purdie
parent 887c1cb446
commit 25d2131684
1 changed files with 2 additions and 2 deletions

View 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")