summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2020-11-27 16:38:19 +0530
committerThomas Abraham <thomas.abraham@arm.com>2020-11-27 21:25:08 +0530
commitbf4d1c9604fcf970422aa55ae8ad0f1ce8758850 (patch)
treecdf5f52037830f5ae0fff1ea398cb4d3c9af1afb
parent2a7c7eb138ab0608f9024ea6d4d30d9d1c289b72 (diff)
boot.sh: reduce parsing timeout to 5 minsRD-INFRA-2020.11.30refinfra
When $AUTOMATE is true (-j true), boot.sh script parses the console with a timeout of 7200 seconds (2 hours). Busybox boot generally doesn't take 2 hours to complete. Reduce the timeout to 5 minutes from 2 hours so that when the busybox boot doesn't reach till the console prompt, parsing waits for only 5 minutes before killing the model. This results in better utilization of jenkins jobs. Change-Id: I3ddfe551602f5326ef8e201aa12537a1fdf03aae Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
-rwxr-xr-xsgi/boot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sgi/boot.sh b/sgi/boot.sh
index fdbf9cc..d7fc06d 100755
--- a/sgi/boot.sh
+++ b/sgi/boot.sh
@@ -114,7 +114,7 @@ if [ "$MODEL_PID" == "0" ] ; then
fi
# wait for boot to complete and the model to be killed
-parse_log_file "$PWD/$platform/$UART0_ARMTF_OUTPUT_FILE_NAME" "/ #" 7200
+parse_log_file "$PWD/$platform/$UART0_ARMTF_OUTPUT_FILE_NAME" "/ #" 300
ret=$?
kill_model