Buildbot sends emails that require no action

Bug #419685 reported by Jonathan Lange
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad Buildbot Configuration
Triaged
Low
Unassigned

Bug Description

Launchpad's buildbot sends emails whenever a build fails. While this sounds like a good idea, it's actually not.

In particular, it spams the list with "merge failed" messages whenever there's a conflict between stable and db-devel. It should only send this message once, and then send another message when the problem is resolved.

Jonathan Lange (jml)
tags: added: build-infrastructure
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

The merge failed emails are not sent by buildbot, fwiw: they're sent by PQM. These can definitely get a bit spammy.

buildbot does send mail to the list whenever a build fails, but I think that is probably a good thing.

In both cases, action is actually required by someone. Maybe repetitive email isn't the best way of getting it though...

Changed in launchpad-foundations:
status: New → Incomplete
Revision history for this message
Jonathan Lange (jml) wrote :

PQM's email is definitely spammy. I think it should send only one when a merge fails. Maybe buildbot poller (or whatever it is) should stop trying to merge if the last try was a failure and there have been no new revisions.

What I was really trying to capture with this bug is that our build system is pretty complex, but it's only got a finite number of failure states. It should really only send emails when it transitions:
  - from success to failure
  - from failure to success
  - from failure to a different kind of failure

Jonathan Lange (jml)
Changed in launchpad-foundations:
status: Incomplete → Confirmed
importance: Undecided → Low
status: Confirmed → Triaged
William Grant (wgrant)
affects: launchpad → lpbuildbot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.