File tree Expand file tree Collapse file tree 1 file changed +25
-13
lines changed
zorg/buildbot/builders/sanitizers Expand file tree Collapse file tree 1 file changed +25
-13
lines changed Original file line number Diff line number Diff line change @@ -579,33 +579,45 @@ function check_stage3_ubsan {
579
579
check_stage3 ubsan
580
580
}
581
581
582
+ function buildbot_build() {
583
+ [[ " ${BUILDBOT_BISECT_MODE:- } " != " 1" && -v BUILDBOT_BUILDERNAME ]]
584
+ }
585
+
582
586
function build_failure() {
583
587
# In bisect mode exit early.
584
588
echo
585
589
echo " How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild"
586
590
echo
587
591
588
- sleep 5
589
- echo " @@@STEP_FAILURE@@@"
590
- buildbot_build || exit 1
591
- }
592
+ # Repeat, server sometimes ignores failures or warnings.
593
+ for i in 0 1 2 ; do
594
+ echo
595
+ echo " @@@STEP_FAILURE@@@"
596
+ sleep 5
597
+ done
592
598
593
- function buildbot_build() {
594
- [[ " ${BUILDBOT_BISECT_MODE:- } " != " 1" && -v BUILDBOT_BUILDERNAME ]]
599
+ buildbot_build || exit 1
595
600
}
596
601
597
602
function build_exception() {
598
- sleep 5
599
- echo " @@@STEP_EXCEPTION@@@"
603
+ # Repeat, server sometimes ignores failures or warnings.
604
+ for i in 0 1 2 ; do
605
+ echo
606
+ echo " @@@STEP_EXCEPTION@@@"
607
+ sleep 5
608
+ done
609
+
600
610
buildbot_build || exit 2
601
611
}
602
612
603
613
function build_warning() {
604
- echo
605
- sleep 5
606
- echo " @@@STEP_WARNINGS@@@"
607
- echo
608
- sleep 5
614
+ # Repeat, server sometimes ignores failures or warnings.
615
+ for i in 0 1 2 ; do
616
+ echo
617
+ echo " @@@STEP_WARNINGS@@@"
618
+ sleep 5
619
+ done
620
+
609
621
buildbot_build || exit 2
610
622
}
611
623
You can’t perform that action at this time.
0 commit comments