build-image: Increase DEFAULT_TIME_WAIT_LOG to 30s

Sometime there are below messages reported by build-image
and build-image will quit:
"build-image -INFO: The wait for /localdisk/log/log.appsdk \
              has timed out, please wait a moment,
 build-image -INFO: then run: tail -f /localdisk/log/log.appsdk \
              to check the process."
This commit increases the DEFAULT_TIME_WAIT_LOG from 15s to 30s.

Test Plan:
Pass: build-image

Story: 2010643
Task: 47833

Change-Id: If8f46bb2ea0a764db1476707efd646e5fa007143
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
This commit is contained in:
Haiqing Bai 2023-04-18 00:07:19 +08:00
parent 39c42d7999
commit 6c9e029d6c

View File

@ -46,7 +46,7 @@ kernel_type = 'std'
stx_std_kernel = 'linux-image-5.10.0-6-amd64-unsigned'
stx_rt_kernel = 'linux-rt-image-5.10.0-6-rt-amd64-unsigned'
WAIT_TIME_BEFORE_CHECKING_LOG = 2
DEFAULT_TIME_WAIT_LOG = 15
DEFAULT_TIME_WAIT_LOG = 30
logger = logging.getLogger('build-image')
utils.set_logger(logger)