summaryrefslogtreecommitdiffstats
path: root/src/build/citest
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2016-03-07 14:59:55 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-08 11:23:04 -0500
commitc953ba7b67e99a00cc28f3bdb4c95f6e0041be3d (patch)
tree9267e128db96ccc393aa946c2ca88864b7d30cde /src/build/citest
parentccad1bddd6f2c53ef55b0662d708c96840ab086b (diff)
downloadtalos-hostboot-c953ba7b67e99a00cc28f3bdb4c95f6e0041be3d.tar.gz
talos-hostboot-c953ba7b67e99a00cc28f3bdb4c95f6e0041be3d.zip
Temporary fix to handle autosim hangs on real code errors
Change-Id: I6c67b42ee967905b7ae63408c6168db36b078b04 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21773 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/citest')
-rwxr-xr-xsrc/build/citest/autocitest9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/build/citest/autocitest b/src/build/citest/autocitest
index e264b4c47..05e6ac148 100755
--- a/src/build/citest/autocitest
+++ b/src/build/citest/autocitest
@@ -299,6 +299,15 @@ while [ $(($modsstarted)) -lt 1 -o $(($modsstarted)) -ne $(($modscompleted)) ];
echo "ModulesStarted:ModulesCompleted => $modsstarted:$modscompleted"
+ # @TODO RTC:149210 temporary fix for autosim hangs on real code errors. For some reason
+ # when we hit an actual bug and simics halts, the autosim commands hang
+ # causing this loop to take >8 hours.
+ if [ -z $modsstarted ] && [ -z $modscompleted ]; then
+ echo "ERROR: autosim hanging on real code errors, temporarily catching early"
+ echo "See archived hbTracMerg for more info"
+ exit 1
+ fi
+
if [ "$loopcount" -gt 90 ]; then
echo "ERROR: timed out after 15 minutes"
autosim $NOWIN --simcmd "hb-Ps"
OpenPOWER on IntegriCloud