diff options
| -rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 231a7d3b3a..a9909b8e1e 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
| @@ -140,7 +140,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 140 | 140 | ||
| 141 | retries = 0 | 141 | retries = 0 |
| 142 | started = False | 142 | started = False |
| 143 | while not started and retries < 10: | 143 | while not started and retries < 50: |
| 144 | started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength) | 144 | started = _toaster_ui_started(toaster_ui_log_filepath, toaster_ui_log_filelength) |
| 145 | import time | 145 | import time |
| 146 | logger.debug("localhostbecontroller: Waiting bitbake server to start") | 146 | logger.debug("localhostbecontroller: Waiting bitbake server to start") |
| @@ -150,7 +150,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 150 | if not started: | 150 | if not started: |
| 151 | toaster_ui_log = open(os.path.join(self.be.builddir, "toaster_ui.log"), "r").read() | 151 | toaster_ui_log = open(os.path.join(self.be.builddir, "toaster_ui.log"), "r").read() |
| 152 | toaster_server_log = open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read() | 152 | toaster_server_log = open(os.path.join(self.be.builddir, "toaster_server.log"), "r").read() |
| 153 | raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: '%s' '%s')" % (toaster_ui_log, toaster_server_log)) | 153 | raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: '%s' '%s')" % (toaster_ui_log, toaster_server_log)) |
| 154 | 154 | ||
| 155 | logger.debug("localhostbecontroller: Started bitbake server") | 155 | logger.debug("localhostbecontroller: Started bitbake server") |
| 156 | 156 | ||
