Jump to: navigation, search

Difference between revisions of "BugFilingRecommendations"

(Bug Filing Recommendations)
Line 1: Line 1:
= Bug Filing Recommendations =
+
= Filing Useful Bug Reports =
Writing good bug reports is hard; useful reports are even harder. We should try our best to be thorough, so there's consistency and a fine experience reading bugs. This document concerns itself with outlining some obvious suggestions while reporting/verifying bugs:
+
Writing good bug reports is hard; useful reports are even harder. We should try our best to be thorough, so there's a consistent experience reading bugs. This document concerns itself with outlining some obvious suggestions while reporting, verifying bugs. Needless to say, further editions/modifications, specific examples welcome.
* Ensure you can reproduce the bug
+
 
* '''Clear''' instructions to reproduce the bug. Bonus points for a reproducer script.
+
* A concise (brief, but comprehensive) bug summary -- is it a bug, an enhancement, an RFE ?
* Version details (e.g. Havana ? Grizzly)
+
* Ensure you can reproduce the bug.
 +
** '''Clear''' instructions to reproduce the bug. Bonus points for a reproducer script.
 +
* Version details (e.g. Grizzly? Havana ? ; Hypervisor versions - qemu/kvm/libvirt )
 
* Test environment details
 
* Test environment details
** e.g. some special hardware -- an  exotic NAS, etc.)
+
** Most of "cloud" testing is dependent on test environment, clearer the details, lesser the round-trips between Development and QE
 +
**Any special hardware, e.g. an  exotic NAS, etc.)
 
* Verification procedure
 
* Verification procedure
 
** Include test setup details, configuration details, other relevant context.
 
** Include test setup details, configuration details, other relevant context.
** Most of "cloud" testing is dependent on test environment, clearer the details, lesser the round-trips between Development and QE
 
 
* If there's a fix available, and someone is verifying it, adding some verification evidence would be useful (instead of just posting a comment saying - "verified". Of course, this can be debated based on the complexity of bugs).
 
* If there's a fix available, and someone is verifying it, adding some verification evidence would be useful (instead of just posting a comment saying - "verified". Of course, this can be debated based on the complexity of bugs).
 
** Relevant log fragment, stdout of a script, or a command being executed.
 
** Relevant log fragment, stdout of a script, or a command being executed.
Line 14: Line 16:
 
** If you've done a lot of investigation into the issue, adding a trace of that would be useful for later archival purposes. Configuration settings, caveats, reproducer scripts, etc.
 
** If you've done a lot of investigation into the issue, adding a trace of that would be useful for later archival purposes. Configuration settings, caveats, reproducer scripts, etc.
  
You get the drift !
+
== Why?  ==
 +
Some obvious reasons why
  
== Why?  ==
 
 
* Useful for new test engineers who does not have all the context.
 
* Useful for new test engineers who does not have all the context.
 
* Useful for docs folks to help them write correct errata text/release notes.
 
* Useful for docs folks to help them write correct errata text/release notes.
Line 26: Line 28:
 
* Overall, a very ''fine'' bug reading experience.
 
* Overall, a very ''fine'' bug reading experience.
  
== Resources from other communities ==
+
 
* Bug writing guidelines -- https://landfill.bugzilla.org/bugzilla-4.2-branch/page.cgi?id=bug-writing.html
+
You get the drift!
 +
 
 +
== Further reading ==
 +
Resources from other related communities
 +
 
 +
* Bug writing guidelines from Mozilla -- https://landfill.bugzilla.org/bugzilla-4.2-branch/page.cgi?id=bug-writing.html
 +
* Fedora project bug filing guidelines -- http://fedoraproject.org/wiki/How_to_file_a_bug_report

Revision as of 06:26, 8 May 2013

Filing Useful Bug Reports

Writing good bug reports is hard; useful reports are even harder. We should try our best to be thorough, so there's a consistent experience reading bugs. This document concerns itself with outlining some obvious suggestions while reporting, verifying bugs. Needless to say, further editions/modifications, specific examples welcome.

  • A concise (brief, but comprehensive) bug summary -- is it a bug, an enhancement, an RFE ?
  • Ensure you can reproduce the bug.
    • Clear instructions to reproduce the bug. Bonus points for a reproducer script.
  • Version details (e.g. Grizzly? Havana ? ; Hypervisor versions - qemu/kvm/libvirt )
  • Test environment details
    • Most of "cloud" testing is dependent on test environment, clearer the details, lesser the round-trips between Development and QE
    • Any special hardware, e.g. an exotic NAS, etc.)
  • Verification procedure
    • Include test setup details, configuration details, other relevant context.
  • If there's a fix available, and someone is verifying it, adding some verification evidence would be useful (instead of just posting a comment saying - "verified". Of course, this can be debated based on the complexity of bugs).
    • Relevant log fragment, stdout of a script, or a command being executed.
  • Additional info (where appropriate):
    • If you've done a lot of investigation into the issue, adding a trace of that would be useful for later archival purposes. Configuration settings, caveats, reproducer scripts, etc.

Why?

Some obvious reasons why

  • Useful for new test engineers who does not have all the context.
  • Useful for docs folks to help them write correct errata text/release notes.
  • Useful for non-technical folks reading the bugs/RFEs. Clear information saves a of a lot of time.
  • Useful for downstream support organizations.
  • If there's a regression years later, having all the info to test/reproduce in the bug, right there makes your day.
  • Reduces round-trip of NEEDINFO between Development and QE.
  • Useful for new users referring to these.
  • Overall, a very fine bug reading experience.


You get the drift!

Further reading

Resources from other related communities