Write a Bug Report (Activity)

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{| border="1"
 
|-
 
|'''Title''' ||  Writing a Bug Report
 
|-   
 
|'''Overview''' ||  In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects.  Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.
 
|-
 
|'''Prerequisite Knowledge''' ||
 
|-
 
|'''Learning Objectives''' || Successful students will be able to:
 
-describe the role that a bug tracker plays in a FOSS project,
 
  
-describe the different types of issues stored in a bug tracker and their priorities,
+
{{Learning Activity Overview
 
+
|title=
-identify and track the status of a particular bug report in the gnome-music project,
+
Write a Bug Report
 
+
|overview=
-confirm the existence of a bug, in a given version of gnome-music,
+
In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects.  Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.
 
+
|prerequisites=
-write a bug report.
+
|objectives=
|}
+
* describe the role that a bug tracker plays in a FOSS project,
 +
* describe the different types of issues stored in a bug tracker and their priorities,
 +
* identify and track the status of a particular bug report in the gnome-music project,
 +
* confirm the existence of a bug, in a given version of gnome-music,
 +
* write a bug report.
 +
|process skills=
 +
}}
  
=== Background: ===
+
=== Background ===
  
=== Directions: ===
+
=== Directions ===
  
 
== Part 1. Read some articles ==
 
== Part 1. Read some articles ==
 
In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects.  Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.  
 
In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects.  Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.  
  
 +
“Bug tracking systems are a form of change management and organization used by FOSS projects. Bug trackers do far more than simply keep track of bugs. They also are used to hold new feature requests, patches, and some tasks. Bug trackers are also called request trackers, issue trackers, request trackers and ticket systems.”                   
 +
[[Intro to Bug Trackers (Activity)]]
  
“Bug tracking systems are a form of change management and organization used by FOSS projects. Bug trackers do far more than simply keep track of bugs. They also are used to hold new feature requests, patches, and some tasks. Bug trackers are also called request trackers, issue trackers, request trackers and ticket systems.”                    [ http://www.foss2serve.org/index.php/Bug_Tracker_Activity ]
+
* Reading 1: Karl Fogel's chapter on bug trackers  http://producingoss.com/en/bug-tracker.html
 
+
* Reading 2: Wikipedia's page on Bug Tracking Systems  http://en.wikipedia.org/wiki/Bug_tracking_system
 
+
* Reading 3: Bug writing, by bugzilla https://bugzilla.gnome.org/page.cgi?id=bug-writing.html
Reading 1: Karl Fogel's chapter on bug trackers  http://producingoss.com/en/bug-tracker.html
+
 
+
Reading 2: Wikipedia's page on Bug Tracking Systems  http://en.wikipedia.org/wiki/Bug_tracking_system
+
 
+
Reading 3: Bug writing, by bugzilla https://bugzilla.gnome.org/page.cgi?id=bug-writing.html
+
  
  
Line 74: Line 67:
 
=== Comments: ===
 
=== Comments: ===
  
=== Additional Information: ===
+
{{Learning Activity Info
{| border="1"
+
|acm unit=
|-
+
SDF/Development Methods, SE/Software Verification and Validation
|'''Knowledge Area/Knowledge Unit''' ||  SDF/Development Methods, SE/Software Verification and Validation
+
|acm topic=
|-
+
Bug reports, testing
|'''Topic''' ||  Bug reports, testing
+
|difficulty=
|-
+
Medium
|'''Level of Difficulty''' ||  Medium
+
|time=
|-
+
60-120 minutes
|'''Estimated Time to Completion''' || 60-120 minutes
+
|environment=
|-
+
|author=
|'''Materials/Environment''' ||
+
Razvan A. Mezei, Suzanne Mello-Stark, and Mohsen Doroodchi
|-
+
|source=
|'''Author''' || Razvan A. Mezei, Suzanne Mello-Stark, and Mohsen Doroodchi
+
[[50 Ways to be a FOSSer]]
|-
+
|license=
|'''Source''' || 50 ways
+
{{License CC BY SA}}
|-
+
}}
|'''License''' || Licensed CC BY-SA
+
|}
+
 
+
 
+
=== Suggestions for the Open Source Project: ===
+
  
--------------------
+
=== Suggestions for the Open Source Project ===
This work is licensed under a
+
[http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License]
+
  
[[File:CC_license.png]]
 
  
[[Category: Learning_Activity]]
+
[[Category:Learning Activity]]
[[Category: Quality and Testing]]
+
[[Category:Quality and Testing]]

Revision as of 13:58, 8 February 2017


Title

Write a Bug Report

Overview

In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects. Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.

Prerequisites
Learning
Objectives
After successfully completing this activity, the learner should be able to:
  • describe the role that a bug tracker plays in a FOSS project,
  • describe the different types of issues stored in a bug tracker and their priorities,
  • identify and track the status of a particular bug report in the gnome-music project,
  • confirm the existence of a bug, in a given version of gnome-music,
  • write a bug report.
Process Skills
Practiced


Background

Directions

Part 1. Read some articles

In this part, students will gain some basic knowledge about bug tracking systems, and how that can be used in FOSS projects. Students will also check and confirm the existence of a reported bug (both in a stable version, and in an unstable version), and report out their findings using Bugzilla.

“Bug tracking systems are a form of change management and organization used by FOSS projects. Bug trackers do far more than simply keep track of bugs. They also are used to hold new feature requests, patches, and some tasks. Bug trackers are also called request trackers, issue trackers, request trackers and ticket systems.” Intro to Bug Trackers (Activity)


Part 2. Review existing bug reports

In this part we’ll review documented bugs in the lab-3-built unstable version. For this please follow each of the following

1. Create a Bugzilla account: https://bugzilla.gnome.org/createaccount.cgi

2. Search the bugs in gnome-music: in https://bugzilla.gnome.org/query.cgi Fill the following search fields

  • status: open,
  • product: Applications (gnome-music)
  • words: music

3. Note the different status: UNCONFIRMED, NEW, ASSIGNED, REOPENED, NEEDINFO. Open and review at least one from each category

4. In class, discuss what each category is, and come with a definition/short description for each.

5. Now follow the link https://bugzilla.gnome.org/browse.cgi?product=gnome-music to search for version-specific bug reports on gnome-music.


Part 3. Review existing bug reports

In this part, we’ll try to confirm the existence of a bug that was already reported in Bugzilla. We’ll test the existence of the bug in both, the installed (stable) version of the software, and also in the lab-3-built unstable version. Then, using the “Additional Comments” textbox we can add our own comments to confirm the existence of the bug. Also, if the original bug report is not very clear, it is incomplete, or it contains wrong information, we should include this in our comments.


Part 4. File a bug

To file for a new bug, you should follow the following link:

  • Click on the New link in the upper left corner of the screen
  • Then select the product for which you are filing the bug report. For gnome-music you should click on Applications, then gnome-music (or use this link: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-music )
  • Then you will have to select the version, severity of the bug, the OS, a summary, and a description of the bug. You can also add attachments to support your report.


Deliverables:

A new bug report will be created.

Assessment:

Comments:

ACM BoK
Area & Unit(s)

SDF/Development Methods, SE/Software Verification and Validation

ACM BoK
Topic(s)

Bug reports, testing

Difficulty

Medium

Estimated Time
to Complete

60-120 minutes

Environment /
Materials
Author(s)

Razvan A. Mezei, Suzanne Mello-Stark, and Mohsen Doroodchi

Source

50 Ways to be a FOSSer

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png


Suggestions for the Open Source Project

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox