SCM Team Shanghai IS-IT Dept 2008-07-02
description
Transcript of SCM Team Shanghai IS-IT Dept 2008-07-02
SCM TeamShanghai IS-IT Dept2008-07-02
Bugzilla Training
Bugzilla Training
Date: 2008.07.02 Page 2
Functions
Bugzilla is the new Bug Tracking tool, replacing ClearDDTS from 2009 products
Allow to track PR/CR Life Cycle and fields evolutions, using the same process as DDTS
Bugzilla is an open source tool developed by the Mozilla foundation: www.bugzilla.org
Bugzilla can be accessed by any Web browser
Background: PR means Problem Report (bug), CR means Change Request
Bugzilla Training
Date: 2008.07.02 Page 3
Summary
Login to Bugzilla New account request Submit a PR/CR PR/CR fields PR/CR Life Cycle Updating PR/CR PR/CR history Search a PR/CR Advanced search Saving/editing Search Cloning and clone synchronization MTK PR/CR synchronization QCT SR update Request an action with Bugzilla flags Check flags status Setting preferences Introduction to Bugzilla reports
Bugzilla Training
Date: 2008.07.02 Page 4
Login to Bugzilla 1/2 Access Bugzilla production server
http://bugzilla.tcl-ta.com
Bugzilla Test server is accessible withhttp://172.24.61.17
Enter Shanghai Active Directory login/passwd Shanghai employees: Windows login/passwd Shenzhen employees: Specific login/passwd created on Shanghai AD Employees connecting to Shanghai VPN: VPN login/passwd PLM users: same account VPN for SAP: same account
Any account problem: [email protected] [email protected] for Shenzhen
Bugzilla Training
Date: 2008.07.02 Page 5
Login to Bugzilla 2/2
1
2
3
Bugzilla Training
Date: 2008.07.02 Page 6
New account request
For Shanghai employees, Bugzilla account is created when joining the company
For Shenzhen employees, contact [email protected] with CC: to your Team Leader
For employees in LATAM and EMEA, ask [email protected] or [email protected] for account creation
Don’t forget to precise which projects you need to be granted access to:
MTK QCT CDMA Data Card …
Bugzilla Training
Date: 2008.07.02 Page 7
Submit a PR/CR 1/4 To submit a PR/CR, click on the “New” link and access the classifications menu
Click on the class name (“SW” for Software, “DT” for VAL) and access the products menu
Click on the product name and access the submit form
Enter the PR information, by at least filling mandatory fields (red fields)
If you need to submit an attachment, click on the “Add an attachment” button and fill the needed information (path to the file to attach or URL to the document, description of the attachment)
Click on the “Commit” button
If any information is missing or a problem occurs, either a popup or a text message informs you
Bugzilla Training
Date: 2008.07.02 Page 8
Submit a PR/CR 2/4
Bugzilla Training
Date: 2008.07.02 Page 9
Submit a PR/CR 3/4
Write the first letters of the name or press the down-arrow key to display the whole list
Bugzilla Training
Date: 2008.07.02 Page 10
Submit a PR/CR 4/4
Bugzilla Training
Date: 2008.07.02 Page 11
PR/CR fields 1/2 Mandatory fields
Reporter Automatic: the current Bugzilla user
Product Automatic: the chosen product
Issue Type One of “PR” / “CR” – Default is PR
Summary Summary title of the PR/CR
Release SW release that contains the PR or from where the CR should be analyzed
Component Component (module) that is concerned by the PR/CR
Function Function concerned by the PR/CR
Priority One of P0/P1/P2/P? to describe the urgency of the PR/CR
Severity From 2 to 10 to describe the gravity of the PR
Frequency From 2 to 10 to describe how the PR can be reproduced
Detection From 2 to 10 to describe how easy the PR can be detected
IPR value Automatic: Indication to Prevent Risk = Severity * Frequency * Detection
Assign To Must be a valid Bugzilla user – Default is the component assignee
Description Describe the PR/CR by following the provided template
Bugzilla Training
Date: 2008.07.02 Page 12
PR/CR fields 2/2 Optional fields
Initial State Default is NEW. Allow to modify IPR, summary title, release… Can be set directly to ASSIGNED but most of fields values will be frozen.
Default CC Automatic: indicate the people who are assigned by default to the selected component
Cc Allow to add more people to the mailing list linked to the PR/CR
Estimated Hours
Estimation on the workload needed to solve or implement this PR/CR
Deadline Indicate a deadline for which the PR/CR should be delivered / validated
URL Can be used to link the PR/CR to any documentation (spec, design…)
Attachment If “Add an attachment” is clicked, more fields become available
- File Mandatory (if no URL): specify the path to the file to attach
- URL Mandatory (if no file has been provided): URL to concerned documentation
- Description Mandatory: describe the attachment
- Content Type Optional: can be auto-detected, selected or manually entered
- Flag Optional: set a Bugzilla user as reviewer of the attachment (doc review)
Bugzilla Training
Date: 2008.07.02 Page 13
PR/CR Life Cycle 1/5
Bugzilla Training
Date: 2008.07.02 Page 14
PR/CR Life Cycle 2/5
NEW: New PR/CR, submitted Can only be updated to ASSIGNED (with a specific resolution: To investigate, To correct, To correct again, To decide) “Next Ref” may indicate the target release for this PR/CR Summary, Release, IPR can be modified Empowered users can add a “Comment from CEA” Empowered users can set the PR to CLOSED directly
ASSIGNED: PR/CR assigned to a technical team member for analyze
Summary, Release and IPR cannot be modified anymore PR/CR can be OPENED (Accepted or Refused) An “External Ref” can be provided to give workaround or explanation concerning a PR PR/CR can be REASSIGNED to another user PR/CR can be POSPONED (a postponed release is provided)
Bugzilla Training
Date: 2008.07.02 Page 15
PR/CR Life Cycle 3/5
OPENED: The PR/CR analyze or fix/implementation begins Can be updated to INVESTIGATED (DT class). The “deadline” must be provided to indicate INT Team when the PR/CR must be delivered. The target delivery can be indicated using the “next ref” field Can be updated to RESOLVED (SW class) If PR/CR is set to RESOLVED, you can ask another user to deliver it
POSTPONED: The PR/CR is postponed PR/CR can be postponed before analyze: not urgent PR PR/CR can be postponed after resolution: the PR will be delivered later, in a MNT release for example Postponed PR/CR can be closed by empowered users (when rejected for example) Else, postponed PR/CR are REASSIGNED when needed
Bugzilla Training
Date: 2008.07.02 Page 16
PR/CR Life Cycle 4/5
INVESTIGATED: The PR/CR analyze has been done Automatically done in DT class when cloning PR/CR in SW class Set manually for non-clone PR/CR, a deadline is mandatory
RESOLVED: The PR/CR is implemented PR/CR reasons have been identified: originator of the PR/CR, sub module concerned, cause of the PR/CR, inherited PR from an old project PR/CR resolution must be explained in a comment DT PR are automatically set to RESOLVED when SW clone PR is VERIFIED-Validated PR/CR can be set to DELIVERED. If so, you can ask someone to verify it PR/CR delivery can also be POSTPONED
Bugzilla Training
Date: 2008.07.02 Page 17
PR/CR Life Cycle 5/5
DELIVERED: The PR/CR implementation is delivered “New Ref” mandatory = patch implementing the PR/CR or product release where the PR/CR is delivered For SW class, a reviewer must be granted. He/she is notified and must review the code modification
VERIFIED: The PR/CR fix/implementation is verified Can be Validated or Refused Must be reviewed positively (review = “+” in SW) to be validated Refused PR/CR are set to REASSIGNED after investigation. Refusal must be explained in a dedicated comment
CLOSED: The PR/CR process is closed All fields cannot be modified anymore If the PR/CR is set to CLOSED with an “non-normal” reason, an explanation must be provided in a dedicated comment “Duplicate” status is a specific case where a PR/CR is doubled in the database. The duplicated PR/CR ID must be provided in this case
Bugzilla Training
Date: 2008.07.02 Page 18
Updating PR/CR 1/5 Update fields:
Modify values of select boxes Input text in text area Add or remove people from the Cc list …
Add additional comments using text area. By clicking on the “Reply” link, your comment is recorded below a copy of the previous comment
Note: description and comments cannot be modified nor removed. Only empowered users can set the desc/comments as “private” (invisible for other users)
Mandatory fields are marked as red. Fields are mandatory ONLY if you update the PR/CR to next status
If you don’t update the PR/CR status, no need to fill red fieldsEx: “Next Ref” ONLY mandatory when updating PR/CR from RESOLVED to DELIVERED
Bugzilla Training
Date: 2008.07.02 Page 19
Updating PR/CR 2/5
PR/CR status update Use radio button at the bottom of the page Only authorized values appear (defined by the Life Cycle) Enter specific information (resolution, reason, answer, new assignee…) if needed
Click on the “Commit” button to submit changes
To add attachment, click on the “Add an attachment” link Another html form is loaded to enter attachment info Enter the file path or the URL toward the document Enter a description (mandatory) Optional: you can add a comment that is displayed in the PR/CR comments list WARNING: when adding attachment, all PR/CR modification are not taken into account! 1) Modify PR/CR values/status 2) Click on the “Commit” button to submit the changes 3) Click on “Add an attachment” after having updated PR/CR values
Bugzilla Training
Date: 2008.07.02 Page 20
Updating PR/CR 3/5
Modify fields using select boxes or text area
Add additional comments to the PR/CR
Red fields are mandatory ONLY if you change the bug status: here a reviewer must be set when updating the PR/CR to DELIVERED
Update the status with radio buttons
Add information about resolution or future release
Click on “Commit” to submit your modifications
Bugzilla Training
Date: 2008.07.02 Page 21
Updating PR/CR 4/5Another example Leave to current status
Update resolution information concerning current status
Update to another status according to Life Cycle possibilities
Add information according to the chosen status
When reassigning PR/CR:• Select “Reassign” status• Enter the new assignee email address from the Bugzilla users list• Choose the appropriate resolution (action to perform)
168
When closing PR/CR as duplicate:• Select “duplicate” status• Enter the PR/CR number that report the same problem or change request
Bugzilla Training
Date: 2008.07.02 Page 22
Updating PR/CR 5/5Adding attachment Click on the link
WARNING: another HTML page is displayed, no modification from the PR/CR page is kept. Be sure to have submitted your changes if needed
File or URL to add
Mandatory description of the attachment
Set a reviewer for the attachment by selecting “?” and entering the Bugzilla user from the list
Add a comment to the PR/CRNote: the comment is added in the PR/CR comment list
Submit the attachment and its information
Add a comment to the PR/CR…..
Bugzilla Training
Date: 2008.07.02 Page 23
PR/CR historyOn the PR/CR page, check the “Related actions” and click on the “View Bug Activity” link
Display all changes during the PR/CR life
1- User who modified the PR/CR
1 2
2- Date of modification
3
3- Concerned field
4
4- Old value
5
5- New valueTo go back to the PR/CR page
Bugzilla Training
Date: 2008.07.02 Page 24
Search a PR/CR 1/2
Permanent search boxes in header and footer
Enter the PR/CR ID number for a direct access to the PR/CR page
Or enter some keywords to get the list of PR/CR containing these keyword in the summary title or PR/CR comments
Click on “Search” to access the search form
Bugzilla Training
Date: 2008.07.02 Page 25
Search a PR/CR 2/2
Status Open: NEW, ASSIGNED, OPENED, INVESTIGATED or POSTPONED Closed: RESOLVED, DELIVERED, VERIFIED or CLOSED All: all status
Product All products Within a specific product (sorted by classification)
Words Enter one or several keywords to specify the search Let it empty to get the list of PR/CR concerning specific product/status
Bugzilla Training
Date: 2008.07.02 Page 26
Advanced search 1/7Click on the “Advanced Search” tab to access the form
Notes: All provided information restricts the searchAn empty search the list of all PR/CRSelecting several values for one field provides the list of all the bugs that match at least one of the valuesExample: If you select SW.TOOLS and SW.SCM products, the result list contains both bugs from SW.TOOLS and SW.SCM products
Select a class and/or product to reduce the search scope Enter information
concerning a specific field
Click on “Search” to get the PR/CR list
Bugzilla Training
Date: 2008.07.02 Page 27
Advanced search 2/7
Text search Search on textual fields such as summary, comments, URL… String: used for a set of characters
=> searching “bug” returns words like “bug”, “bugs”, “bugzilla”… Word: used for a specific word
=> searching “bug” only returns results containing the exact word “bug” Exact case: case-sensitive search
=> “bug” is different from “Bug” All: returns results that contain all words/strings (AND search) Any: returns results that contain at least one of the words/strings (OR search)
Select box Click on the value you want to select Press <Ctrl> key and click another value to select several values Press <Ctrl> key and click on a selected value to cancel selection
Bugzilla Training
Date: 2008.07.02 Page 28
Advanced search 3/7 Search on main fields
Select the needed values by pressing <Ctrl> key Press <Ctrl> key to unselect values
Email addresses Select the role your search is about Enter the Bugzilla user from the list
Bug Numbers Search a precise set of PR/CR Enter the bugs IDs “Include” or “exclude” these PR/CR from the search result
Bugzilla Training
Date: 2008.07.02 Page 29
Advanced search 4/7
Track bugs changes Enter the period of time to track changes on Use “Now” for the current date
Track fields changes Select precise fields that has changed Use <Ctrl> key to select several values or to unselect
Precise new value Select one single field to track Enter the new value you are looking forExample: To get all PR/CR delivered for b7_x_v1.0_sw543
=> Enter a period of time=> Select “Next Ref” field=> Enter “b7_x_v1.0_sw543” as new
value
Select the sorting you need and save it as default
Bugzilla Training
Date: 2008.07.02 Page 30
Advanced search 5/7 Advanced Search Using Boolean Charts
Precise a field for your search Precise the condition to use on this field Propose a value that is coherent with the chosen field and the condition
Bugzilla Training
Date: 2008.07.02 Page 31
Advanced search 6/7 Advanced Search Using Boolean Charts
Precise a field for your search Precise the condition to use on this field Propose a value that is coherent with the chosen field and the condition
Quote “Not” box to get the opposite result=> Here, we get IPR different from 500
Click on the “Or” button to display a new condition=> Perform a search like “IPR=500 or IPR=600”
Click on the “And” button to display a new condition that restricts the search=> Perform a search like “IPR=500 and reporter is
Bugzilla Training
Date: 2008.07.02 Page 32
Advanced search 7/7 Advanced Search Using Boolean Charts
In this more advanced example, we try to find PR/CR:- concerning Audio or Driver components- with a Detection and Frequency higher than 2- that have been assigned to Cissy Xu or Loic Poysat
If you use “Not” statement, you get all PR/CR that was not included in the previous search
You can also “Add another boolean chart” to specify other search criteria=> The search result matches both charts (AND search)
Bugzilla Training
Date: 2008.07.02 Page 33
Saving/editing search 1/2
To saved your search- Enter the search name in the text box in the bottom right corner- Click on the “Remember search” button- This create a new link at the bottom of the web page- Click on the link to retrieve the bug list- Click on the “Forget Search” link to remove the search link from the page
Modify your search by clicking on the “Edit Search” link
Training search
Bugzilla Training
Date: 2008.07.02 Page 34
To change display other fields- Click on the “Change Columns” link- Select the new columns you want to display- Click on the “Change Columns” button
You can export the bug list in several format- CVS- XML- Long Format (get more details on PR/CR during review)
Saving/editing search 2/2
Bugzilla Training
Date: 2008.07.02 Page 35
Cloning and clone synchronization 1/7
Bugzilla Training
Date: 2008.07.02 Page 36
Cloning and clone synchronization 2/7
A PR is first entered by Validation in DT class (Status = NEW) Then the PR is assigned to the Validation engineer in charge (Status = ASSIGNED) When Validation engineer analyses a Software problem, he clones the PR in SW class, using the link “Transfer this Bug to SW class” Cloning synchronization:
- SW PR is created by copying PR values and assigned to INT team- DT PR is automatically set to INVESTIGATED- DT PR will be automatically set to RESOLVED when SW PR is VERIFIED Validated
DT PR
Bugzilla Training
Date: 2008.07.02 Page 37
Cloning and clone synchronization 3/7
SW cloned PR
Inherited values from the parent clone in DT class
Parent/Child link created between the DT and SW PRs
Bugzilla Training
Date: 2008.07.02 Page 38
Cloning and clone synchronization 4/7
SW PR is delivered:
Resolution indications are fulfilled in patch_deliver
“New Ref“ is set to the patch label
Description of the patch is set as PR comment
PR status is set to DELIVERED
Patch reviewer is informed
SCM Web is updated
Bugzilla Training
Date: 2008.07.02 Page 39
Cloning and clone synchronization 5/7
Verifying SW PR:
Fulfill resolution indications for the DT parent PR
Ensure that the patch has been reviewed positively
Set the PR status to VERIFIED with resolution Validated
SW PR VERIFIED => Parent PR is automatically set to RESOLVED in DT class
Bugzilla Training
Date: 2008.07.02 Page 40
Cloning and clone synchronization 6/7DT PR delivery:
Enter the release delivery that contains the PR/CR implementation in “New Ref” field
Note: resolution indications have been automatically updated by PR synchronization
Update the PR status to DELIVERED
Once the Software delivery has been released, Validation tests the new software and update the PR status to VERIFIED Validated or Refused
Bugzilla Training
Date: 2008.07.02 Page 41
Cloning and clone synchronization 7/7
Create a Brother link Just reference the same PR/CR for two different projects No synchronization between brother PRs
Bugzilla Training
Date: 2008.07.02 Page 42
MTK PR/CR synchronization 1/2
Select SW.XX_PLATFORM product that refers to the concerned MTK project
Enter mandatory fields (marked as red) for MTK:
Summary Issue Class: Bug, Change Feature, New Feature, Question Priority: 1-High, 2-Medium, 3-Low Due Date: ~ deadline Bug Category: from list MTK Project: from list MTK Release: from list Description Attachment if needed
Enter Mandatory internal fields (marked as red) : Issue Type (PR/CR) Component and Function IPR settings Assign to yourself or to the JRD contact in charge
Click on the “Commit” button
Bugzilla Training
Date: 2008.07.02 Page 43
MTK PR/CR synchronization 2/2
You cannot submit more comment nor attachment until MTK accepts the PR/CR
When MTK accepts the PR/CR, it provides an “Issue ID”
It is then possible to submit more comments (using the “Additional Comment” text area) or attachments (using the “Add an attachment” button)
MTK information, provided as comments or fields update, are synchronized according to MTK feedback
MTK comments and updates are made by [email protected] Bugzilla user (fake user)
Any problem with MTK synchronization, contact [email protected]
Bugzilla Training
Date: 2008.07.02 Page 44
QCT PR/CR update 1/2
No synchronization available to submit information to Qualcomm
SR creation and additional notes are managed on Qualcomm SR System https://support.cdmatech.com/login/
Weekly synchronization is performed under Bugzilla (import of Excel reports)
JRD employee is owner of the Bugzilla PR
[email protected] is used for Qualcomm’s comments and information updates (fake user)
Attachments are not synchronized; can be manually imported under Bugzilla if needed
Internal fields can be set and updated (Component, Function, SW Team, IPR settings…)
Bugzilla Training
Date: 2008.07.02 Page 45
QCT PR/CR update 2/2
PR internal information
PR information concerning QCT
Detailed Problem Description, entered on QCT SR System, imported under Bugzilla and owned by JRD Bugzilla account
Comment from Qualcomm engineer, available on QCT SR System and imported on Bugzilla with cc_qct account
Bugzilla Training
Date: 2008.07.02 Page 46
Request an action with Bugzilla flags 1/2
Bugzilla Flags = status that can be set on bugs or attachments to indicate that the bugs/attachments are in a certain state or to require specific actions on the bugs
4 kinds of flags are used: Review flag: ask someone to review a patch (mandatory for SW class) Attachment flag: used to ask someone to review an attachment Deliver this PR: to ask someone to deliver a PR Verify this PR: to ask someone to verify a PR
SW patch must be reviewed with “+” before the PR can be VERIFIED and synchronized with DT PR
Email notification to inform coworker that a PR is ready to be delivered or verified
Bugzilla Training
Date: 2008.07.02 Page 47
Set a flag by selecting “?” and entering the Bugzilla user you request in the text box
Valid a flag by selecting “+” if the patch review or attachment is OK
In case of problem, select “-” to refuse the patch or attachment
Request an action with Bugzilla flags 2/2
? [email protected]+ [email protected]
Patch review OK
Problem with the attachment
Actions required: only “?” is used
?
Bugzilla Training
Date: 2008.07.02 Page 48
Browse open requests by selecting “My Requests” from the header or footer
Look at open requests limited by other requesters, requestees, and flag names from the “My Requests” page
Check flags status
Requester: person who asked
Requestee: person who must perform the action
Other filters: by product, flag, component…Example grouped by flag
Bugzilla Training
Date: 2008.07.02 Page 49
Setting preferences 1/4
Click on “Preferences” in the header or footer menu
Use preferences tabs to display general and email preferences, edit saved searches and display your Bugzilla permissions
Bugzilla Training
Date: 2008.07.02 Page 50
Setting preferences 2/4Set your preferences:
- Skin
- Automatic CC
- Update display
- Description and comments display
Bugzilla permissions
They determine which product you have access to
At first login, only act group is granted for internal applications and tools
Other permissions (mtk, qct, cdma, datacard…) must be granted by your Bugzilla administrator
Bugzilla Training
Date: 2008.07.02 Page 51
Setting preferences 3/4
Saved searches management:
- List your saved searches
- Run the searches
- Edit them
- Remove searches
- Manage searches display
- Share your searches with the other members of your Bugzilla groups
- Manage the shared searches
Bugzilla Training
Date: 2008.07.02 Page 52
Setting preferences 4/4
Watching users
Receive same emails as the watched users
Useful when team members are on business trip or on holiday
Email Preferences
Enable or disable emails according to:- the action performed on PR/CR- your role (reporter, assignee, CC member)
It is not recommended to disable all emails, or disable flag emails
To receive confirmation email when you submit a PR/CR or when you modify fields values, unselect the last line boxes
Bugzilla Training
Date: 2008.07.02 Page 53
Introduction to Bugzilla reports 1/4
Select the kind of report you need:
- Snapshot reports (current status) Search: provide list of bugs Tabular: provide tables and links to graphic views Graphical: provide graphs (including pie chart)
- Change-over-time reports (based on products statistics)
Bugzilla Training
Date: 2008.07.02 Page 54
Introduction to Bugzilla reports 2/4
Select horizontal and vertical axis values
Add a third value if you want to display several tables
Precise your search using the form
Bugzilla Training
Date: 2008.07.02 Page 55
Introduction to Bugzilla reports 3/4
PR/CR count displayed in the defined tables
Display graphical views or export data in CSV format
Edit the report
Bugzilla Training
Date: 2008.07.02 Page 56
Introduction to Bugzilla reports 4/4
Check the evolution of PR/CR over the time
Select which status / resolution and product you want to track
Check the number of PR/CR that are under certain status and watch the evolution
You can also create new dynamic reports
Cron jobs need at least 14 days to display the evolution of your report
Don’t hesitate to visit Bugzilla website for more information
Bugzilla Training
Date: 2008.07.02 Page 57
Thank You谢谢
TCL通讯科技控股有限公司www.tclcom.com