Buildbot failure emails should include actual text of the failures

Bug #419697 reported by Jonathan Lange
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad Buildbot Configuration
Won't Fix
Undecided
Unassigned
Launchpad itself
Won't Fix
Medium
Unassigned

Bug Description

Currently buildbot failure emails mention the build steps that failed. This is great, but better still would be the actual text of the failures.

Revision history for this message
Jonathan Lange (jml) wrote :

Not sure what we'd need to do to fix this.

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

I'm talking to Michael now. We probably need to:
  * change master.cfg to point to a custom mail handler
  * write this custom mail handler, probably using the summary stuff in bzrbuildbot.test.TestObserver

Revision history for this message
Jonathan Lange (jml) wrote :
Revision history for this message
Robert Collins (lifeless) wrote :

Is this fixed? If not, what are the symptoms to watch for?

Revision history for this message
Gary Poster (gary) wrote :

https://dev.launchpad.net/Foundations/Proposals/SimplifyMergeMachinery will make buildbot go out of the picture entirely. Then we can have new, exciting and different tarmac bugs instead.

Revision history for this message
Jonathan Lange (jml) wrote :

Rob, it's not fixed. The symptom is emails like this:

{{{
Date: Tue, 30 Nov 2010 11:37:23 +0000
Subject: buildbot failure in Launchpad on lucid_db_lp
From: <email address hidden>
To: <email address hidden>, <email address hidden>

The Buildbot has detected a failed build of lucid_db_lp on Launchpad.
Full details are available at:
 https://lpbuildbot.canonical.com/builders/lucid_db_lp/builds/439

Buildbot URL: https://lpbuildbot.canonical.com/

Buildslave for this Build: lucid-db-devel

Build Reason:
Build Source Stamp: [branch bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel] 10018
Blamelist: Launchpad Patch Queue Manager <email address hidden>,Stuart Bishop <email address hidden>

BUILD FAILED: failed shell_6

sincerely,
 -The Buildbot
}}}

Notice that there is no information about the actual error, all we learn is that "shell_6" failed.

Often, people will go to the shell output, find the relevant tracebacks, copy it and then paste it into the email thread.

Gary, right. :) Let's hope that there are fewer snags like these in the new system.

Changed in lpbuildbot:
status: New → Won't Fix
Changed in launchpad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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