oana feidi - debugging - root cause analysis - codecamp-10-may-2014

33
Debugging: Root cause analysis Oana Feidi 10.05.2014

Upload: codecampiasi

Post on 28-Nov-2014

102 views

Category:

Software


0 download

DESCRIPTION

Debugging - Root cause analysis

TRANSCRIPT

Page 1: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Debugging: Root cause analysis

Oana Feidi10.05.2014

Page 2: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014
Page 3: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Motivation

Symptoms of the problem OBVIOUS

Underlying causes NOT OBVIOUS

Page 5: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Cultural backgroundPower distance index, driven by respect to authority and attitude towards hierarchy

Malcolm Gladwell - “Outliers: The Story of Success”

Page 6: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

The problem: Financial audit failed due to inconsistencies in financial

report data.

Initial root cause:Incorrect rounding of “totalPayment”

parameter.

SYMPTOM

Page 7: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Why didn’t the validation team

detect this?

TC defined for this scenario?

TC defined according to

specification?

Results of the test run?

How was the review

performed?

Page 8: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Why was this not detected at code review?

Review content?

Reviewer’s experience?

Result of the module test

run?

How was the change

handled?

Page 9: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Motivation

http://www.roystonrobertson.co.uk/trade.htm

Page 10: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Simplest 5 Why analysis

http://raisedbymydaughter.blogspot.ro/2013/01/on-kids-asking-why-and-cruel.html

Page 11: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why approach

• Why?• Because1 • Why?

• Because2 • Why?• Because3

• Why?• Because4 • Why?

• Because5

Why did we have the problem?Why did the problem go to the customer?

Page 12: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why : Unhappy customer

1. Why is our client unhappy?

Because we didn't deliver our services when we said we would.

http://www.mindtools.com/pages/article/newTMC_5W.htm

Page 13: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why : Unhappy customer

2. Why were we unable to meet the agreed-upon timeline or schedule for delivery?

Because the job took much longer than we thought it would.

Page 14: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why : Unhappy customer

3. Why did it take so much longer?

Because we underestimated the complexity of the job.

Page 15: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why : Unhappy customer

4. Why did we underestimate the complexity of the job?

Because we made a quick estimate of the time needed to complete it, and didn't list the individual stages needed to complete the project.

Review planning

Template with most common

activities

Page 16: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 Why : Unhappy customer

5. Why didn't we do this?

Because we were running behind on other projects.

Synch projects prioritization

Page 17: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

CODECAMP is a successful event

• 12 editions; consistently increase number of participants

WHY?

Page 18: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 WHY

ROOT CAUSE ANALYSIS

LESSONS LEARNED

Page 19: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014
Page 20: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Release retrospective

• Provide a structure for output upfront

Page 21: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Release retrospective Meeting execution

• Look for solutions!!!!! & K.I.S.S• Always ask:

what can be done differently?• 1 responsible / clear deadlines• Agree within the team

Page 22: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Release retrospective Next meeting

• Check effectiveness of the previous actions• Did we derive the correct actions?• Why we keep making the same mistakes?

• Indentify if new situations appeared & derive new actions

Page 23: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014
Page 24: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

http://www.business2community.com/product-management/9-lessons-learned-in-project-management-0292183

Page 26: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Lessons learned – End of projectStep 1

• organize a lessons learned workshop @ end of project

• provide a structure for output upfront ~ 2 weeks• POSITIVE, as well as NEGATIVE• technical, as well project management related• prepare SPECIFIC examples, no general things

Page 27: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Lessons learned – End of projectStep 2

• do the workshop• focus on SOLUTIONS that prove to work & useful for other projects – K.I.S.S.

• no personal attacks• always ask:

what can we do differently in the next project?

• output result : situation + SOLUTION

Page 28: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Lessons learned – End of projectStep 3

• agree on the lessons to be transferred in the database (generic, general)

• clear key words

Page 29: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Lessons learned - Start of project

Select the lessons learned that are applicable for your project

Define specific actions/activities to keep under control the hints from the lessons learned

Regular check of the effectiveness of the actions/activities defined at previous step• Refine/update the actions/activities

based on the effectiveness result• Update database with your own best practices/results

Page 30: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

5 WHY

ROOT CAUSE ANALYSIS

LESSONS LEARNED

Page 32: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014
Page 33: Oana Feidi - Debugging - Root cause analysis - CodeCamp-10-may-2014

Debugging: Root cause analysisOana Feidi10.05.2014

Please fill in your evaluation form