Review Mozilla Upstream Bug Procedures (Intrepid Spec)

Intro

Mozilla Bugs can be roughly be sorted into three main blocks:

  1. crash bugs
  2. feature bugs
  3. wishlist bugs

We reviewed the currently established bug triaging procedures for mozilla bug during UDS in Prague 2008. This documents summarizes the results from that discussion and documents the deduced actions.

One particular focus of this session was improved upstream bug procedures.

Goals

Current Practices

Crash Bugs

Crash bugs get filed in two ways: 1. auto submission using apport; 2. manual crash submission by users that see crashes and have apport disabled.

Crash bugs with a valid stacktrace are triaged as followed:

Feature Bugs

Feature bugs are bugs about glitches and broken features. The procedure to triage those is:

Wishlist Bugs

Wishlist bugs that are processed as follows

Ubuntu specific

Upstream specific

Identified Changes to Procedure

Crash Bugs

Upstream recognizes distributors and particular ubuntu as their de-facto main channel of distributing their linux builds and as this happens their attitude towards retrieving crash reports from distributors directly became more supportive of dealing with our crash submissions on their side.

Thus, the main change in dealing with crash bugs on ubuntu is that individual crashers will not be filed as bugs in launchpad anymore, but rather submitted to breakpad. Then we can use Breakpad to track our top-crashers and can open tracker bugs on them for them as appropriate bugs.

Feature Bugs

Discussion showed that upstream might accept more noise in their bugtracker in order to get everything on their plate that might be relevant.

Thus, we change the procedure to forward feature bugs even if we are not yet 100% sure that there is no duplicate filed upstream. Obviously we should still try hard to keep upstream noise low - just not as hard as in the past.

Wishlist Bugs

The general procedure for both, ubuntu and upstream wishlist bugs was found to work reasonable well; however, ubuntu wishlist bugs that dont have a supportive developer right away, should be directed to brainstorm instead of just doing nothing about it.

Implementation

Crash Bugs

Packaging

Enable crash report in ubuntu builds. Ensure that users that easily opt-in/opt-out in crash submission. If possible ship the crash reporter bits in a new binary package (e.g. xulrunner-1.9-crashreporter), but install it by default. Maybe adapt procedure to have users auto opt-in if they are running an ubuntu development release. In face of general instability we suggest to not enable it until ubuntu alpha2 releases.

Include Build information in submitted crash reports. The required information would basically be the lsb_release information. According to upstream, this might require an upstream fix.

Debugging Symbols

In order to allow breakpad to analyze our crashes we need to submit our debug symbols to them. Upstream offered to provide us with ssh access to upload those. It still need to be sorted with upstream how to best deal with the different library versions used by firefox builds in the various ubuntu releases.

Ubuntu QA + Triagers

Having our crash reports in breakpad allows us to shift from maintaing crash bugs in our bug tracker and pushing them upstream to regularly pulling for top crashers and spend our time only on investigating crashes that are of significant relevance. Thus, this specification suggests that QA ensures that all top-crashers for ubuntu builds get a proper launchpad and bugzilla.mozilla.org. This can be done by individual bug triagers, but might also be a suitable topic for Hug Days.

Feature Bugs

As outlined above, one of the goals is to get more feature bug submissions upstream and finally resolved. However, upstream forwarding requires cycles to follow up and thus it was identified as essential to get bugcontrol team members involved in this process.

The following steps appear to be essential to get to this new procedure in place:

Wishlist Bugs

As described above, no real action needs to be taken to improve this area except updating the available wiki documentation to match was was said in this specification.

Outstanding Issues / Notes


CategoryMozillaTeam, CategoryBugSquad

MozillaTeam/Bugs/UpstreamBugProceduresIntrepid (last edited 2008-08-06 17:00:55 by localhost)