mail headers inconsistent between package and recipe builds

Bug #776160 reported by Vincent Ladeuil on 2011-05-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
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 ;)

Related branches

lp:~cjwatson/launchpad/recipe-mail-header-archive
William Grant: Approve (code) on 2015-08-26
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
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) on 2015-08-25
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
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2015-08-26
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2015-09-01
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers