Upload
itrevolution
View
538
Download
0
Embed Size (px)
DESCRIPTION
Anders Walgren, Chief Technology Officer, Electric Cloud at DevOps Enterprise Summit 2014 Link to video: https://www.youtube.com/watch?v=G_coTcbj1FU Huawei is a $40B company delivering communications technologies for telecom carriers, enterprise and consumers. This talk will provide an overview of Huawei’s Continuous Delivery and DevOps transformation initiatives in a complex embedded software evironment. Ting Zhou Principal Solution Architect for Huawei, alongside Electric Cloud’s CTO Anders Wallgren, will present the business drivers and benefits of their Continuus Delivery solution encompassing build, infrastructure provisioning, deployment and testing plus reporting including release pipeline visualization and progress dashboards. Huawei’s CD and DevOps implementation is a centralized, shared cloud service currently used by 2,000 developers supporting 20 applications and is in process of being extended to 40,000 developers servicing over 1000 applications. Some additional statistics on our current implementation: – More than 2000 releases per year – More than 50,000 compile & builds per day – More than 1million test cases run per day – More than 30million LoC, product is complicated – More than 480K code review/analysis per year – More than 170k system integration testing per year The benefits of our solution include: – Reduced cost of delivering software – Increased resource utilization and productivity – Shorter time to market with higher quality
Citation preview
© Electric Cloud | electric-cloud.com
Anders Wallgren
CTO, Electric Cloud
Huawei’s journey to Continuous Delivery
© Electric Cloud | electric-cloud.com
Who is Huawei?
An Innovative Industry Contributor
An ICT Industry Leader
A privately-owned Global Company
© Electric Cloud | electric-cloud.com
Who is Huawei?
Revenue by business
Devices
Devices Chipset
Devices Cloud
ConsumerBusiness Group
Fixed Network
Wireless Network
Telecom Software
and Core Network
Service
Carrier
Business Group
Enterprise
Networking
UC&C
IT
SecoSpace
service
Enterprise Business Group
22%Consumer
5%Enterprise
73%Carrier
(2012)
© Electric Cloud | electric-cloud.com
16R&D Centers
140+ Countries
14Regional HQs
28Joint Innovation
Centers
150KEmployees
Worldwide
45Training
Centers
33.4%
14.5%
17%
35.1%
Revenue by Geo
China
EMEA
Asia Pacific
Americas
70KR&D Employees
(2012)
© Electric Cloud | electric-cloud.com
• 41,948 patents in China
• 14,494 patents in ROW
• 12,453 international PCTs
• USD$300 million/yr royalties
• 150+ standards organizations
• 30,000+ standards proposal
1.5Bn
2Bn
2.7Bn
3.8Bn
4.8Bn
2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012
Accumulated R&D investments:
USD 23 billion
© Electric Cloud | electric-cloud.com
Makin’ it real
Huawei Phone - 2012 Huawei Phone - 2014
© Electric Cloud | electric-cloud.com
Previous State
• Large scale R&D environment with
complicated tools requires multi-thousands
of CPU cores available on demand.
• Environment/tools provisioning is very time-
consuming; lab asset utilization is low.
PROD BUILD
300minPer 10M LOC
DEV BUILD
10minPer 5M LOC
FULL TEST
1440min
REGRESSION TEST
240min
FEATURE DELIVERY TIME
30days
© Electric Cloud | electric-cloud.com
What next?
© Electric Cloud | electric-cloud.com
The Evalution
Premise 1:
© Electric Cloud | electric-cloud.com
The Evaluation
Design
modeling
Code analysis
CI
Redmine
Func TestingRequirement
Analysis
Project Mgmt
SCM
Collaboration
Design Development Testing
gUnit,cppUnit
Automation
Unit Testing Selenium
Pef Testing
IOMeter
Others
Hadoop
Provision
Chef
Tra
vis-C
I
memcached
Gith
ub
Reviewboard
Trac
Puppet
RabbitMQ
ActiveMQ
Hive
HBase
CFEngine
SubversionNagios
Monitor
CloudStackOpenStackCloud Platform
Sourc
eForg
e
Jenkin
s PcLint valgrind
Jmeter
MobitestgMock,JMock
CppCheckCpplint
Page Speed
JIRA
GIT
Gerrit
Mercurial
OpenGrok
Bugzilla
Orchestration Jenkins RunDeck ThoughtWorks Go Electric Cloud
CloudFoundry
Docker
© Electric Cloud | electric-cloud.com
The implementation: CD-DevOps Solution
20Rockstars
3Months to V1
>1000CD Pipelines on
Commander/Day
© Electric Cloud | electric-cloud.com
“Asked for volunteers to try out the system.”
© Electric Cloud | electric-cloud.com
Where are we on our journey?
• Bridging the gap between Dev and Ops
• Multi-layer / multi-platform infrastructure
• Devs gaining control over production environment
• Concise definition and automation of processes
• Globally distributed R&D teams
PROD BUILD
300minPer 10M LOC
DEV BUILD
10minPer 5M LOC
FULL TEST
1440min
REGRESSION TEST
240min
FEATURE DELIVERY TIME
30days
PROD BUILD
10minPer 10M LOC
(was 300)
DEV BUILD
1minPer 5M LOC
(was 10)
FULL TEST
360min(was 1440)
REGRESSION TEST
60min(was 240)
FEATURE DELIVERY TIME
7days(was 30 days)
© Electric Cloud | electric-cloud.com
What’s “faster?”
Hours to MinutesCompile and Build
Days to HoursHardware Emulation
Hours to MinutesCode Analysis
DevelopDesign
Days to HoursArchitect Evaluation
Product Validation
Days to HoursFull Regression (System)
Days to MinutesFull Regression (Software)
Weeks to DaysFull Functional Testing
Solution Validation
Months to WeeksSolution Testing
© Electric Cloud | electric-cloud.com
>1MSystem
Integrations/ye
ar
10K+ Releases/year
30MLines of Code
100KBuilds/day
480KCode
reviews/year
100MTest cases run/day
© Electric Cloud | electric-cloud.com
Now… Who else wants some?
© Electric Cloud | electric-cloud.com
Thanks
Questions?