File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
zorg/buildbot/builders/sanitizers Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,12 @@ function buildbot_update {
148
148
git rev-list --pretty --max-count=1 HEAD
149
149
# FIXME: Workaround for https://github.com/llvm/llvm-zorg/issues/250
150
150
[[ " ${SKIP_OLD:- 1} " == " 0" ]] || [[ ! -v BUILDBOT_SCHEDULER ]] || [[ " ${BUILDBOT_SCHEDULER} " == " force-build-scheduler" ]] || (git log -1 --after=' 3 hours ago' | grep .) || {
151
- echo Revision is not recent enough
151
+ echo
152
+ echo WARNING: Skipping outdated build request...
153
+ echo
152
154
exit 1
153
155
}
154
- ) || { build_exception ; exit 1 ; }
156
+ ) || { build_warning ; exit 0 ; }
155
157
LLVM=$ROOT /llvm-project/llvm
156
158
fi
157
159
}
@@ -598,6 +600,14 @@ function build_exception() {
598
600
fi
599
601
}
600
602
603
+ function build_warning() {
604
+ sleep 5
605
+ echo " @@@STEP_WARNINGS@@@"
606
+ if [[ " ${BUILDBOT_BISECT_MODE:- } " == " 1" || ! -v BUILDBOT_BUILDERNAME ]] ; then
607
+ exit 2
608
+ fi
609
+ }
610
+
601
611
function upload_stats() {
602
612
if [[ " ${BUILDBOT_BISECT_MODE:- } " != " 1" && -v BUILDBOT_BUILDERNAME ]] ; then
603
613
lscpu > " ${ROOT} /cpu.txt"
You can’t perform that action at this time.
0 commit comments