Skip to content

Commit a4148f9

Browse files
[CI] Add notifications for premerge buildbots (#568)
This is so that the appropriate people are getting notifications when there are failures related to the premerge buildbots. Most of the time no action is needed as build failures happen reasonably often and are usually fixed quickly. Having the notifications (especially for missing workers) helps ensure that the infra is not down/broken for a while. Currently adding the premerge rotation, myself and Caroline. We might eventually want to only have the premerge rotation on this, but as we stabilize the infrastructure, having more people get notifications should be helpful.
1 parent 7a1c177 commit a4148f9

File tree

2 files changed

+137
-13
lines changed

2 files changed

+137
-13
lines changed

buildbot/osuosl/master/config/status.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,23 @@ def getReporters():
577577
builders = [
578578
"profcheck"])
579579
]),
580+
reporters.MailNotifier(
581+
fromaddr=status_email_fromaddr,
582+
sendToInterestedUsers=False,
583+
extraRecipients=[
584+
585+
586+
587+
],
588+
generators=[
589+
utils.LLVMDefaultBuildStatusGenerator(
590+
subject="Premerge Buildbot Failure: {{ buildername }}",
591+
builders=[
592+
"premerge-monolithic-linux",
593+
"premerge-monolithic-windows",
594+
],
595+
)
596+
]),
580597
])
581598

582599
return r

buildbot/osuosl/master/config/workers.py

Lines changed: 120 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -408,19 +408,126 @@ def get_all():
408408
# postcommit (after changes have landed in main). The workers for the
409409
# infrastructure that runs the checks premerge are setup through Github
410410
# Actions under the premerge/ folder in llvm-zorg.
411-
create_worker("premerge-us-central-linux-b1", properties={'jobs': 64}, max_builds=1),
412-
create_worker("premerge-us-central-linux-b2", properties={'jobs': 64}, max_builds=1),
413-
create_worker("premerge-us-central-linux-b3", properties={'jobs': 64}, max_builds=1),
414-
create_worker("premerge-us-central-windows-b1", properties={'jobs': 64}, max_builds=1),
415-
create_worker("premerge-us-central-windows-b2", properties={'jobs': 64}, max_builds=1),
416-
create_worker("premerge-us-central-windows-b3", properties={'jobs': 64}, max_builds=1),
417-
create_worker("premerge-us-west-linux-b1", properties={'jobs': 64}, max_builds=1),
418-
create_worker("premerge-us-west-linux-b2", properties={'jobs': 64}, max_builds=1),
419-
create_worker("premerge-us-west-linux-b3", properties={'jobs': 64}, max_builds=1),
420-
create_worker("premerge-us-west-windows-b1", properties={'jobs': 64}, max_builds=1),
421-
create_worker("premerge-us-west-windows-b2", properties={'jobs': 64}, max_builds=1),
422-
create_worker("premerge-us-west-windows-b3", properties={'jobs': 64}, max_builds=1),
423-
411+
create_worker(
412+
"premerge-us-central-linux-b1",
413+
properties={"jobs": 64},
414+
max_builds=1,
415+
notify_on_missing=[
416+
417+
418+
419+
],
420+
),
421+
create_worker(
422+
"premerge-us-central-linux-b2",
423+
properties={"jobs": 64},
424+
max_builds=1,
425+
notify_on_missing=[
426+
427+
428+
429+
],
430+
),
431+
create_worker(
432+
"premerge-us-central-linux-b3",
433+
properties={"jobs": 64},
434+
max_builds=1,
435+
notify_on_missing=[
436+
437+
438+
439+
],
440+
),
441+
create_worker(
442+
"premerge-us-central-windows-b1",
443+
properties={"jobs": 64},
444+
max_builds=1,
445+
notify_on_missing=[
446+
447+
448+
449+
],
450+
),
451+
create_worker(
452+
"premerge-us-central-windows-b2",
453+
properties={"jobs": 64},
454+
max_builds=1,
455+
notify_on_missing=[
456+
457+
458+
459+
],
460+
),
461+
create_worker(
462+
"premerge-us-central-windows-b3",
463+
properties={"jobs": 64},
464+
max_builds=1,
465+
notify_on_missing=[
466+
467+
468+
469+
],
470+
),
471+
create_worker(
472+
"premerge-us-west-linux-b1",
473+
properties={"jobs": 64},
474+
max_builds=1,
475+
notify_on_missing=[
476+
477+
478+
479+
],
480+
),
481+
create_worker(
482+
"premerge-us-west-linux-b2",
483+
properties={"jobs": 64},
484+
max_builds=1,
485+
notify_on_missing=[
486+
487+
488+
489+
],
490+
),
491+
create_worker(
492+
"premerge-us-west-linux-b3",
493+
properties={"jobs": 64},
494+
max_builds=1,
495+
notify_on_missing=[
496+
497+
498+
499+
],
500+
),
501+
create_worker(
502+
"premerge-us-west-windows-b1",
503+
properties={"jobs": 64},
504+
max_builds=1,
505+
notify_on_missing=[
506+
507+
508+
509+
],
510+
),
511+
create_worker(
512+
"premerge-us-west-windows-b2",
513+
properties={"jobs": 64},
514+
max_builds=1,
515+
notify_on_missing=[
516+
517+
518+
519+
],
520+
),
521+
create_worker(
522+
"premerge-us-west-windows-b3",
523+
properties={"jobs": 64},
524+
max_builds=1,
525+
notify_on_missing=[
526+
527+
528+
529+
],
530+
),
424531
# Workers for the profcheck configuration
425532
# These workers run builds with LLVM_ENABLE_PROFCHECK=ON to ensure
426533
# that profile information is propagated correctly.

0 commit comments

Comments
 (0)