What to do and what not to do in Bugzilla
Table of Contents:
1. Getting/Upgrading Bugzilla privileges
2. Rights and duties when having the
canconfirm privilege
2.1. Confirming unconfirmed bugs
2.2. Reporting new bugs
3. Rights and duties when having the editbugs
privilege
3.1. Resolving bugs
3.2. Verifying bugs
3.3. Changing the bug information fields
3.4. Reassigning bugs
3.5. Bug flags
3.6. Mass changes
This document covers the use of Bugzilla privileges to triage bugs. It explains what should and what should not be done in bugzilla.mozilla.org.
Getting/Upgrading Bugzilla privileges
If you want to get Bugzilla privileges (as described below) mail Gerv. If he doesn't react within two weeks, ask on IRC. The conditions for getting Bugzilla privileges are also listed on Gerv's page.
Canconfirm privilege
The canconfirm privilege allows you to confirm bugs and also to start
your bug reports in the confirmed state (NEW
).
Confirming unconfirmed bugs
- A useful general guide for confirming unconfirmed bugs.
- A guide for confirming layout bugs (bugs in web page rendering)
Reporting new bugs
You should report a bug in the NEW
state after going
through the triaging process as described in
the two above-mentioned guides.
You should look at all the open bugs you've reported (see the "My Bugs" link at the bottom of every Bugzilla page) at least every two months and test whether they still exist.
Editbugs privilege
The more powerful editbugs privilege gives you the privileges of canconfirm and also the ability to edit most aspects of a bug. Therefore, don't abuse your privileges.
Resolving bugs
Some general rules:
- When you resolve a bug, CC yourself so that you are informed when new facts come up.
- The conditions for not resolving a bug always overrule the conditions for resolving a bug.
- When in doubt about resolving a bug, leave it alone!
Resolving bugs as DUPLICATE
See this guide for screening
DUPLICATE
bugs. In general newer bugs should be marked
as DUPLICATE
s of older bugs, except when the newer bug
contains more information (bug description clearer, patch already
attached, lots of people already CC'ed, etc.).
Resolving bugs as WORKSFORME
You can resolve a bug as WORKSFORME
(WFM) if it can't be
reproduced on the reported hardware/OS.
You should not resolve a bug as WFM if:
- the bug reporter uses a different hardware/operating system (e.g. bug appears on Linux and you can't reproduce it on Windows).
- the bug has been reproduced by some people but can't be reproduced by other people.
In general you can resolve a bug as WFM if:
- three or more people with a similar/the same setup can't reproduce the bug and the bug is only seen by the bug reporter. In this case you shouldn't just mark it WFM instantly, but ask the reporter for more details first. When marking it WFM you should tell the bug reporter that he should reopen the bug if he can still see it with a recent build.
- the build the bug is reported against is more than one stable release old and the bug can't be reproduced with a current build.
- the bug reporter has not responded to questions for one month and the bug can't be reproduced with a current build.
- the bug reporter reports that he can no longer see the bug and no other people report that they are still seeing the bug.
Resolving bugs as INVALID
You should resolve a bug as INVALID
, if the issue
described in the bug is clearly not a Mozilla bug or if the issue is
intended behaviour. The exception are bugs in other software which we have
to work around. Bugs covering this exception should not
be INVALID
ated by anyone other than the
module owner or
module peer. Reports of problems with
websites that result from bad coding or use of proprietary technology
should also not be INVALID
ated, but instead moved to the
Tech Evangelism product.
Resolving bugs as FIXED
Resolve a bug as FIXED
if the bug has been fixed by a
checkin into the Mozilla CVS code repository. Bugs which can no longer be
reproduced should be marked WORKSFORME
instead of
FIXED
if they can't be linked to a single checkin.
Resolving bugs as WONTFIX
Bugs should not be marked WONTFIX
by the
normal bug triager. The decision to mark a bug WONTFIX
is
reserved for module owners or
module peers.
Verifying bugs
You should verify a bug if it has been proven that the resolution of the bug was correct. When verifying a bug, you should remember the following:
- Verifying
DUPLICATE
s is the easiest task, so start with that. Note that in general it's impossible to verify aDUPLICATE
until the original has been resolved. - Verifying
WONTFIX
orINVALID
bugs is relatively easy if a developer or a trusted QA person hasWONTFIX
ed orINVALID
ated them. Bugs that wereINVALID
ated orWONTFIX
ed by someone else must be verified by a module owner or module peer or someone who has been explicitly told by a module owner or module peer that they are able to do so for that module. - Before verifying
FIXED
bugs, make sure that you can verify them on every hardware/OS they were reported on. If that's impossible, try to cooperate with multiple people to verify the bug. - There are no clear rules for verifying
WORKSFORME
. In general you should make sure that the bug has been resolved for a few months and no complaints about the resolution have come up.
Changing the bug information fields
Summary
You should change the summary if the current one is unclear or does not
correctly describe the issue covered by the bug.
You should not change the summary in order to morph the
bug to describe a different issue. In this case the bug should be
resolved and another bug should be opened.
OS/Hardware
Make sure that the OS or Hardware fields correctly display the systems that are affected. If a bug is Windows-only, change the field to the oldest affected operating system. If the bug is present on Linux and Windows, change the fields to Hardware = PC and OS = ALL. If another hardware platform like Mac or DEC is also affected, change Hardware to ALL.
Severity
See this description for an overview of the different bug severities.
The blocker severity should be used very seldom, because only a
fraction of the hundreds of thousands bugs really block the development of
mozilla and these are normally fixed very quickly. As a result, bugs which
are UNCONFIRMED
for more than a few days do not qualify for
the blocker severity. The exception to this rule are platform-specific or
compiler-specific bugs. Basically, anything that prevents builds from
building, running, or being used for dogfood (able to use
Bugzilla,
tinderbox,
lxr, etc.) is a blocker.
Bug reports about crashes, hangs, dataloss, or severe security exploits (e.g. remote execution of arbitrary code) get the critical severity.
Priority/Target Milestone
As stated in the Bugzilla Etiquette you must not change the Target Milestone and Priority fields. These fields are reserved for the developers. Bugs with Target Milestones in the past are not excepted.
Reassigning bugs
If a bug belongs to a different Product or Component it should be reassigned. When performing bug reassignments, keep the following things in mind:
- Always remember to check the "Reassign to default owner and QA Contact" radio-button under the comment textbox.
- Mozilla applications like the Application Suite, Thunderbird, or Firefox share most of their program code and all of the backend code including things like network connectivity (FTP, HTTP, IMAP) and HTML rendering. Make sure that you also test Thunderbird or Firefox bugs with the Application Suite and move the bug to one of the core products, if the bug also exists in the Application Suite.
- If you don't know where a bug belongs, don't touch it!
For example don't move bugs into the JS engine Component unless you really know they are JS engine bugs, and don't leave bugs in the JS engine Component if you know that the malfunction being described is a DOM problem.
Bug flags
Mozilla
drivers use
flags to identify bugs blocking a release. You may only use the
blocking?
flag to nominate bugs for blocking status. The use
of the blocking-
flag and the blocking+
flag is
prohibited. Continued abuse will result in revocation of
your Bugzilla privileges.
Mass changes
Mass changes (changes to more than one bug simultaneously) are discouraged. Don't do it!