selena deckelmann [email protected] twitter/irc: …€¦ · • liespotting: proven...

52
Mistakes were made Selena Deckelmann [email protected] Twitter/IRC: @selenamarie

Upload: others

Post on 19-Jun-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Mistakes were made

Selena [email protected]

Twitter/IRC: @selenamarie

Page 2: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

SCALE is awesome!Thank you, volunteers.

Page 3: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

We are obsessed with failure.

Page 4: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Just not our own.

Page 5: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Every 1000 lines of code contains 2 to 75 bugs.

T.J. Ostrand and E.J. Weyuker, The Distribution of Faults in a Large Industrial Software System, Proc. Int'l Symp. Software Testing and Analysis, ACM Press, 2002, pp. 55-64.

Page 6: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

“We don’t need a risk management plan,” he emphatically stated, “because this project can’t be allowed to fail.”

- Jim Hightower, http://jimhighsmith.com/2012/01/09/can-do-thinking-makes-risk-

management-impossible/

Page 7: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops
Page 8: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure is an option.

Page 9: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

http://thisisindexed.com/2010/03/boys-do-cry/

Honesty is hard.

Page 10: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

“Ratio between success and failure is pretty stable.”

Tina SeeligStanford Technology Ventures Program

http://ecorner.stanford.edu/authorMaterialInfo.html?mid=2270

Page 11: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Free and open source projects are

learning communities.

Page 12: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

(We fail a lot. Publicly.)

http://images.t-nation.com/forum_images/2/c/2cb85_ORIG-I_LIKE_WHERE_THIS_THREAD_IS_GOING.jpg

Page 13: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

We are experts in studying failure,collaboratively.

Page 14: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Teach the world to fail

✓ Plan for the worst.

✓ Minimize risk.

✓ Fail.

✓ Recover, gracefully.

Page 15: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops
Page 16: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

"I think getting two accidents of this type at the same time is a freak occurrence."

-David Cunliffe, NZ Communications Minister

Page 17: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops
Page 18: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

“Further damage was incurred on Tuesday afternoon and our engineers returned to repair the damage,” said Virgin Media.

Page 19: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Plan for when things fail.

Page 20: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops
Page 21: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops
Page 22: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Tales of failure to...

Document

Test

Verify

Imagine

Implement

Page 23: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure to document.

Page 24: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Moving Day

Thanks, David Prior!

Page 25: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Prevent documentation failures.

✓ Write documentation.

✓ Update documentation.

✓ Make documenting a step in your written process.

✓ Assign a fixed amount of time to that step.

Page 26: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Documentation tools

• Our baby is ugly.We need graphic designers.

• Make and keep timelines for updates.

• Use bug tracking.

• Ordered todo lists.

Page 27: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure to test.

Page 28: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

“My first day posing as a sysadmin (~1990, no previous training....) I deleted all zero length files on a Sun workstation.”

Page 29: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Prevent testing failures.

✓ Verify success criteria.

✓ Write tests.

✓ Test with a buddy.

✓ Have a plan.

Page 30: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Testing tools

• All-pairs testing: http://1.usa.gov/dfwu4h

• Your favorite test framework

• Repeatable shell scripts

• Staging environments

Page 31: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure to verify.

Page 32: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

“What does ‘-d’ actually do?”

Page 33: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Prevent verification failures.

✓ Have a plan for things going wrong.

✓ Have a staging environment.

✓ Test your rollback plan, not just your implementation plan.

Page 34: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Verification tools

• Staging environments

• Your buddy

Page 35: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure to imagine.

Page 36: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

For my group the bottom line was

"don't trust anyone".

Thanks, Maggie!

Page 37: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Recover from failures to imagine.

✓ Share your stories of failure.

✓ Talk with people who are different from you.

✓ Act out implementation scenarios.

Page 38: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure to implement.

Page 39: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Re-implement

✓ Fail fast and frequently.

✓ Learn from mistakes.

✓ Try again.

Page 40: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Making the change

Page 41: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Who is affected?

✓ Customers

✓ People making the change

✓ Others

Making the change

Page 42: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Before a change

✓ Plan to do a post-mortem.

✓ Document the plan with numbered steps and a timeline.

✓ Test the plan and the rollback plan.

✓ Identify a “point of no return”.

Making the change

Page 43: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

During a change

✓ Share screens: UNIX screen, VNC

✓ Use a Chatroom: IRC, AIM, bots, logs

✓ Use Voice: Campfire, Skype, VOIP, POTS

✓ Have Headsets!

✓ Designate a time-keeper

✓ Update documentationMaking the change

Page 44: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

When to you’ve failed

• Know when the “point of no return” is

• Decide how to decide (“3 strikes”)

• Decide who will make the call

Making the change

Page 45: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

After a change

• Use “5 whys” to explore failures.

• Hold a post-mortem to identify areas of success and areas for improvement.

• Limit improvements to 1-2 things.

Making the change

Page 46: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Succeed with a Post-Mortem

✓ Set expectation for 100% participation

✓ Designate a note keeper & time keeper

✓ Everyone shares a success, failure, something to do better

✓ Vote anonymously on what to do next

✓ Communicate meeting notes outMaking the change

Page 47: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Failure is an Option: Failure Barriers and New Firm Performance -by Robert Eberhart, Charles Eesley, Kathleen Eisenhardt

January 10, 2012http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1982819

When you change the institutional expectation for failure, people take more and better risks.

Page 48: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Examples of how to lower failure barriers

• Prioritize documentation

• Fund staging environments

• Schedule maintenance during normal working hours

Page 49: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Lower the barriers to failure.

Page 50: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Things to read

• Checklist Manifesto, Atul Gawande

• Liespotting: Proven Techniques to Detect Deception, Pam Meyer

• Everything is Obvious, Duncan Watts

• Ops presentations by Etsy.com

• DailyWTF, Full Disclosure, Bruce Schneier

Page 52: Selena Deckelmann selena@primeradiant.com Twitter/IRC: …€¦ · • Liespotting: Proven Techniques to Detect Deception, Pam Meyer • Everything is Obvious, Duncan Watts • Ops

Photo credits

• Flickr: sheepguardingllama

• (thereifixedit link)