mail headers inconsistent between package and recipe builds

Bug #776160 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Colin Watson

Bug Description

Mails sent by buildd doesn't contain the same headers depending on whether the build failed to build or to upload. This makes it harder to properly filter them (not such a big deal but it would be nice if the same informations were available in both mails):

FAILEDTOBUILD:

Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Launchpad-PPA: bzr-proposed
X-Launchpad-Build-Arch: amd64
X-Launchpad-Build-Component: main
X-Creator-Recipient: <email address hidden>
X-Launchpad-Build-State: FAILEDTOBUILD
Message-Id: <email address hidden>
Date: Thu, 17 Mar 2011 08:31:38 -0000
Reply-To: Launchpad Buildd System <email address hidden>
Sender: <email address hidden>
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="12611"; Instance="initZopeless config overlay"
X-Launchpad-Hash: 7e4c991fab0ce87830a9565540a5c680fcf4e983
Lines: 23

FAILEDTOUPLOAD (similar to FULLYBUILT !):

Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Launchpad-Build-State: FAILEDTOUPLOAD
X-Launchpad-Message-Rationale: Requester @bzr
X-Launchpad-Notification-Type: recipe-build-status
Message-Id: <email address hidden>
Date: Wed, 30 Mar 2011 23:47:14 -0000
Reply-To: <email address hidden>
Sender: <email address hidden>
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="12684"; Instance="initZopeless config overlay"
X-Launchpad-Hash: 9023516e950cd91db56ee28e8a40ba74710f28f8
Lines: 15

At least X-Launchpad-PPA and X-Launchpad-Notification-Type may be nice to find in both (but feel free to add more ;)

Tags: qa-ok

Related branches

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Colin Watson (cjwatson) wrote :

This is mostly fixed now that BinaryPackageBuild uses BaseMailer. The remaining piece is that recipe build notifications should gain X-Launchpad-Archive with a reference to the build archive (similar to X-Launchpad-PPA, but not legacy).

Colin Watson (cjwatson)
summary: - mail headers inconsistent between FAILEDTOUPLOAD and FAILEDTOBUILD
+ mail headers inconsistent between package and recipe builds
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Committed → Fix Released
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.