34
LOCKHEED MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

  • Upload
    doquynh

  • View
    217

  • Download
    2

Embed Size (px)

Citation preview

Page 1: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

LOCKHEED MARTIN PROPRIETARY INFORMATION

Are we measuring the right thing?

Robin YemanLM Fellow

2017

Page 2: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

2LOCKHEED MARTIN COPYRIGHT

Robin YemanLM Fellow ; Enterprise Agile CoachBusiness Performance Program Operations

Lockheed Martin Business Unit Email: [email protected]: 571-535-5854

Introduction

Career Highlights : 22 Years at Lockheed Martin, 15 Years of Agile

Roles: Software Engineer, Systems Engineer, Test Engineer, Capture Manager, Engineering Program Manager (EPM), Subcontracts Program Manager (SPM), Program Manager (PM)

Certifications: Certified Enterprise Coach (CEC); Scrum Master (CSM), Certified Scrum Practitioner (CSP), Professional Scrum Master (PSM), Scaled Agile Program Consultant(SPC), Certified Systems Engineer (CSEP), Program Management Professional (PMP), Program Management Agile Professional (PMI-ACP), ITIL Foundations v3

Education:Syracuse University B.S. Management Information SystemsRensselaer Polytechnic Institute M.S. Software Engineering

Page 3: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

3LOCKHEED MARTIN COPYRIGHT

Agenda

1. What is DevOps2. Measures3. Results from DevOps

Page 4: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

4LOCKHEED MARTIN COPYRIGHT

1.0 DevOps

Page 5: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

5LOCKHEED MARTIN COPYRIGHT

DevOps

DevOps is “a cross-disciplinary community of practice dedicated to the study of building, evolving and operating

rapidly-changing resilient systems at scale.”- Jez Humble

Copyright 2015 Lockheed Martin

Page 6: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

6LOCKHEED MARTIN COPYRIGHT

Why is it confusing?

Cloud and VirtualizationSubject Matter Experts

OperationsAnd Monitoring

Process Engineering

DevelopersSecurity

System AdministratorsConfigurationManagement

https://blog.openshift.com/what-is-devops-really/

Page 7: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

7LOCKHEED MARTIN COPYRIGHT

DevOps Manifesto

We are uncovering better ways of running systems by doing it and helping others do it. Through this work we have come to value:

DevOps ManifestoIndividuals and interactions over processes and toolsWorking systems over comprehensive documentationCustomer collaboration over contract negotiationResponding to change over following a plan

Page 8: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

8LOCKHEED MARTIN COPYRIGHT

DevOps Principles

Our highest priority is to satisfy the

customer through early and continuous delivery of valuable

functionality

Business people, operations and

developers must work together daily

throughout the project.

Welcome changing requirements even

late in development, Agile processes

harness change for competitive Advantage

Build projects around motivated individuals. Give

them the environment and

support they need, and trust them to get the job done

Deliver functionality frequently, from a

couple of weeks to a couple of months,

with a preference to the shorter timescale

The most efficient and effective method

of conveying information to and

within a development team is face-to-face

conversation

DevOps Principals

Infrastructure is code and should

be developed and managed as

such

Page 9: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

9LOCKHEED MARTIN COPYRIGHT

DevOps Principles (continued)

Working software successfully

delivered by sound systems

is the primary measure of progress.

Simplicity--the art of maximizing the

amount of work not done

is essential.(KISS Principal)

Agile processes promote sustainable

development.The sponsors,

developers, operations, and users

should be ableto maintain a constant pace

indefinitely

The best architectures,

requirements, and designs

emerge from self-organizing teams

Continuous attention to technical excellence

and good design enhances agility

At regular intervals, the team reflects on

how to become more effective, then tunes

and adjusts its behavior accordingly

DevOps Principals

Page 10: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

10LOCKHEED MARTIN COPYRIGHT

Why Measure

• Enable us to predict success against business goals• Evaluate status against goal• Establish baseline for future comparison

Page 11: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

11LOCKHEED MARTIN COPYRIGHT

2.0 Measures

Page 12: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

12LOCKHEED MARTIN COPYRIGHT

Biggest Problem with our measures

Measuring Output instead of Outcomes

Source Lines of Code (SLOC)Defects

Velocity

Utilization

Requirements

Resources

Lead time

Mean Time To Restore

Deployment Frequency

Change fail percentage

Inputs Outputs Outcomes

Page 13: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

13LOCKHEED MARTIN COPYRIGHT

Source Lines of Code (Sloc)

• Incentivizes team incorrectly• Varies greatly outside of procedural languages• Adversely affects estimation

SLOC

Page 14: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

14LOCKHEED MARTIN COPYRIGHT

Defects

• Incentivizes team to find bugs as opposed minimizing defects in implementation in first place.

• Not all code is created equal• Does not reflect severity

Page 15: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

15LOCKHEED MARTIN COPYRIGHT

Velocity

• Team Dependent• Teams game velocity

Uni

ts

Time

Velocity - Average number ofStory points a team can completePer time box.

Velocity

Page 16: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

16LOCKHEED MARTIN COPYRIGHT

Utilization

• Once utilization gets high there is not any spare capacity to handle unplanned work or changes.

• Reduction in quality levels• Burnout

Page 17: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

17LOCKHEED MARTIN COPYRIGHT

Measure Outcomes not people

CapabilityNCapability

2Capability1

Capability Started

AnalysisComplete

DesignComplete

ImplementationComplete

TestComplete

CapabilityDelivered

OutcomeAchieved

• Hours• Utilization• Speed

Cycle Time of Capability

Page 18: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

18LOCKHEED MARTIN COPYRIGHT

You will get what you measure

SLOC

Page 19: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

19LOCKHEED MARTIN COPYRIGHT

Measures will be gamed

• Choose Carefully• Pick metrics that only improve when gamed

Page 20: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

20LOCKHEED MARTIN COPYRIGHT

What should I measure

Things the business cares about

Page 21: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

21LOCKHEED MARTIN COPYRIGHT

What do businesses care about

• Profit• Value Delivered• Quality• Cost• Schedule

Page 22: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

22LOCKHEED MARTIN COPYRIGHT

Good options

Metric Description1. Deployment

FrequencyHow frequent we deploy

2. Lead Time Time from a needed capability is identified to the time customer receives

3. Change Failure Rate

% of Failures for every baseline change

4. Mean Time To Recover (MTTR)

How quickly we recover from a failure

Page 23: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

23LOCKHEED MARTIN COPYRIGHT

Deployment Frequency

Increase deployment frequency• Drives value quicker• Increases learning from feedback• Drives down risk

Page 24: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

24LOCKHEED MARTIN COPYRIGHT

Lead Time

Shorter lead times:• Increase profit• Increase Quality• Reduce Cost• Reduce Risk

FeatureRequest

FeatureStarted

FeatureDelivered

LeadTime

CycleTime

Page 25: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

25LOCKHEED MARTIN COPYRIGHT

Change Fail Percentage

! %

Reducing the percentage of failures when making changes to the baseline • Increase flexibility to make change• Reduce risk of changes• Increase Value to our customers• Higher profit for the business

Page 26: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

26LOCKHEED MARTIN COPYRIGHT

Mean Time to Restore

Shorter mean time to repair• Increases stability• Reduces the amount of time teams are working on unplanned work• Reduce Life cycle cost for customers• Increases profit for the business

Page 27: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

27LOCKHEED MARTIN COPYRIGHT

3.0 Results from DevOps

Page 28: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

28LOCKHEED MARTIN COPYRIGHT

Results from high performing organizations

46xMore frequent deployments

5xlower

Change failure rate

96xFaster recovery

From failures

440xShorter lead

times

Puppet and DORA (DevOps Research and Assessment)2017 State of DevOps Report

Page 29: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

29LOCKHEED MARTIN COPYRIGHT

High performing organizations are twice aslike to achieve or exceed business goals

• Productivity• Profitability• Market Share• # of Customers

• Quantity of Products• Operating Efficiency• Customer Satisfaction• Quality of Products• Mission Goals

Commercial Non- Commercial

2xPuppet and DORA (DevOps Research and Assessment)

2017 State of DevOps Report

Page 30: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

30LOCKHEED MARTIN COPYRIGHT

Who was measured

Puppet and DORA (DevOps Research and Assessment)2017 State of DevOps Report

27,000 Responses

Page 31: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

31LOCKHEED MARTIN COPYRIGHT

Performance Drivers to obtain these results

Puppet and DORA (DevOps Research and Assessment)2017 State of DevOps Report

Page 32: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

32LOCKHEED MARTIN COPYRIGHT

By 2020, half of the CIO’s who have not transformed their teams will be displaced from their organizations’ digital leadership teams.Gartner

Page 33: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017
Page 34: P11-Yeman-DevOps Are We Measuring The Right … MARTIN PROPRIETARY INFORMATION Are we measuring the right thing? Robin Yeman LM Fellow 2017

34LOCKHEED MARTIN COPYRIGHT

DevOps. Where Do We Start?

34