a bug tracking story danny r. faught tejas software consulting asee software engineering process...

22
A Bug Tracking Story Danny R. Faught Tejas Software Consulting www.tejasconsulting.com ASEE Software Engineering Process Improvement Workshop 2002

Upload: norah-barker

Post on 24-Dec-2015

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

A Bug Tracking Story

Danny R. FaughtTejas Software Consultingwww.tejasconsulting.com

ASEE Software Engineering Process Improvement Workshop

2002

Page 2: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 2ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

You know you are finishedwhen the only bugs left

are the ones that you decide you can live with

at least for now! –Robert Sabourin, I am a Bug

Page 3: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 3ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Outline

• Background

• Bug Reporting Skills

• Bug Communication

• The Bug Tracking Tool

• Results and Current Status

Page 4: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 4ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Background

Page 5: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 5ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Background

• The experiences related in this talk are from a real project, started last summer and expected to continue for at least another year

• I am a consultant on the project, and until recently, served as interim SQA manager

• We track bugs both for internally developed software and for software from an outsourced development team

Page 6: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 6ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Credit

• I will mention several process improvements…

• Some were my idea, others were conceived and/or implemented by the bugmeister who preceded me and the SQA director

Page 7: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 7ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Bug Reporting

Skills

Page 8: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 8ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

How we improved bug reporting

• I wanted to improve the team’s bug reporting skills

• Started with a 90 minute training session with the SQA team, taken from my introductory SQA training course

• Followed up with on-the-spot coaching

Page 9: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 9ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Specific improvements

• Reproduce/simplify/generalize – I advocated: reproducing the bug more than

once, simplify the steps to reproduce, and generalize to find the worst possible consequence of the bug

• Step-by-step description – When there are more than a small handful of

steps, we use a numbered list to describe exactly how to reproduce the bug

Page 10: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 10

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Writing skills

• Writing a good title– Each bug needs a good one-line title

(also called the summary, headline, etc.)– This is a similar skill to writing a good

attention-grabbing newspaper headline

• Rejecting bad bug reports– If a bug report is poorly written, I return it to

the submitter for improvement (often a tough call if it’s a high severity bug)

Page 11: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 11

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Bug Communication

Page 12: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 12

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Incoming bugs

• Started using priorities (risk quantification)– The database of bugs for the outsourced vendor

grew to an overwhelming size until we started prioritizing

• Identify functional area for each bug– Shared the database between the outsourced

and internal components – started requiring that the component be clearly identified

Page 13: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 13

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Triage

• Stopped reviewing all bugs every week– Changed to a streamlined triage process for the

prototype phase, to deal efficiently with the large volume of bug reports

• Project manager became the bugmeister (in addition to running triage meeting)– Managing bug reports gave me background

information for the triage meeting that I needed to pick up anyway

Page 14: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 14

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Assignments

• Started using bug assignments more consistently– Whoever has the assignment is the person who

should do something next – the critical path

• Don't assign for verification until build is ready– Stopped assigning fixed bugs for verification

until the build with the fix was available

Page 15: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 15

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Fixes

• Make it clear when a bug is fixed– The outsourced vendor needed to make it clear

when responding to a bug whether they had implemented a fix

• Asking for an explanation for each fix– For sanity’s sake, we won’t close a bug unless

we have a brief description of how it was addressed

Page 16: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 16

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

The Bug Tracking Tool

Page 17: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 17

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Bugs in the bug tracking tool

• We encountered many bugs in the bug tracking tool itself– E.g., tool crashes, anomalies in summary

reports, missing email notifications

• Reported these (using the same tool) to the local admin/vendor contact

• Note – I’ve never met a bug tracking tool I liked at first glance

Page 18: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 18

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Bug submit screen

• Added a severity field on the submit form– Severity is set by the submitter, priority is set

by the bugmeister and reviewed during triage

• Used a pick list for version– Maintained a list of recent software versions for

the version field

Page 19: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 19

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Web access

• Need direct access to the bug tracking tools for the outsourced vendor – Working on exporting the web interface to a

secure extranet web server

• Found limitations in the web version of the tool– Still not resolved, otherwise we could have

used web access for easier report automation

Page 20: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 20

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Results and Current Status

Page 21: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 21

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Status

• About 600 bugs found so far, and the list is rapidly growing!– 200 bugs closed

• Planning to make improvements to the tool after the prototype release

• Small improvements to the process have reduced heartburn for all stakeholders

Page 22: A Bug Tracking Story Danny R. Faught Tejas Software Consulting  ASEE Software Engineering Process Improvement Workshop 2002

Slide 22

ASEE Software Engineering

Process Improvement Workshop / 2002

© 2002 Danny R. FaughtTejas Software Consulting

Thanks for listening!

Questions and war stories about your own bug tracking experiences are welcome…

Danny Faught,

Software Quality Consultant

Tejas Software Consulting

817-294-3998

[email protected]

www.tejasconsulting.com