summaryrefslogtreecommitdiff
path: root/round-robin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'round-robin.sh')
-rw-r--r--round-robin.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/round-robin.sh b/round-robin.sh
index 1fc44842..a1d92963 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -903,6 +903,15 @@ no_build_regression_p ()
return 0
fi
+ # If we are observing a regression with a negative score, consider results as invalid.
+ # Setting EXTERNAL_FAIL will avoid any bisect, and the run will be marked as UNSTABLE.
+ # A side-effect of this is lack of reduction to component when a failure to build
+ # one of the components will just stop the job in UNSTABLE state and not attempt
+ # to update other components.
+ if [ $build_result_new -lt 0 ]; then
+ return $EXTERNAL_FAIL
+ fi
+
local last_log
last_log=$(find $new_artifacts/ -name console.log.xz | sort -g | tail -n1)
# In log scan for errors below