SlideShare a Scribd company logo
In-cluster Open Source
Testing Framework
For Docker containers
Neil Gehani – Sr. Product Manager, HPE-SW
@GehaniNeil
About me
– Former Software Engineer
– 10+ Years as a Product Manager
– Previously at: LinkedIn, Founder of eCommerce startup, Check Point Software
– Twitter: @GehaniNeil, Website: gehani.me
– Current Role (HPESW-ADM): Solving problems for modern development teams building apps as services
in containers
– Published on Slideshare.net
– Product Portfolio Planning
– In-cluster testing framework
– Cloud-native ALM
– Medium Article on DevOps and In-Cluster Open Source Testing Framework
– Dabble in writing code, geeking out new technologies, conquering the hills of the bay area on my bike
Applications are changing – accelerate to a digital enterprise
3
Courtesy of
Our mission
In a recent NGINX survey [Finding #7], the “biggest
challenge holding back developers”
• Having to constantly trade-off between quality of code and
expected speed of delivery
• Multiple and increasingly complex environments
• Lack of automation tools and processes
4
To solve problems for Developers building
cloud-native applications as “services” in containers.
Target users: Modern “2 pizza” development teams
Business process
Teams should be built around business value
5
Microservices
Business
activity
Taxonomy – Modern Application Development & Delivery
– Applications or Systems are set of “services”
– “Service” = business value
– Cloud-native is a design pattern
– Microservices is an architecture
– Containers are portable. “If it works on my machine, it will run in production” is real
– Platform to deploy “services” (PaaS)
– Infrastructure to run “services (IaaS) – Developers don’t care how
– Serverless is compute on-demand
– DevOps is a practice – App Transformation and DevOps are two sides of the same coin
6
DevOps goal: Maximize business value by reducing cycle time
Time value of money principle applied to software delivery
Feel the need for speed
Balancing Time Value of Money
– Time value of delivery
– Time value of shipping
8
Source: Brandon Chu - Time Value of Shipping
Reducing cycle time minimizes risk, improves quality, speed
9
VS.
Faster release cycle Less code to validate Easier to schedule
Longer test cycles
Less predictability
Unable to adapt to
change
Principles of Microservices
API Gateway
Start Decoupling From Your Monolith
11
Monolith
API Gateway
New Feature 1
New Feature 2
Re-factor Feature 3
UI
New UI Features
The challenge
New matrix from hell
12Courtesy of
Introducing TUGBOT.IO
An HPE Open Source Project
13
MONITORPLAN TESTTESTTESTTEST
ALM Octane - AnalyticsVisualization (Kibana)ElasticSearch
Run Collect
Env: Dev
Run Collect
Env: Test
Run Collect
Env: Stage
Run Collect
Env: Prod
Test results
Tugbot—in-cluster testing framework for Docker Containers
Developers IT Operations
Use cases—make continuous testing real (24x7x365)
– Simplify & standardize testing in any environment
– Any test, Any tool (integration, functional, performance, security, chaos, etc.)
– E.G test backing services or based on operational activities
– Event driven testing - trigger tests on events
– Docker events:image update, new container, etc.
– Timer events: CRON – once in time interval
– Host events: kernel update, host restart, package update, config 

update, etc.
– External event: someone asked to run tests, etc.
– Standardize collection of test results from all machines
– Aggregate and analyze test results over time to track quality improvements
– Test context: Events, Docker containers, Host configuration, user defined context
– Share “Test Containers”
– ”Social-testing” (e.g. Docker security bench test)
“Tugbot” workflow
Kibana
Test 

containers
1. Discover test
containers
4. Publish 

results to ES
ALM OctaneFrom github.com
3. Collect 

rresults
2. Run

tests (Tugbot)
5. Visualize
Micro services
Open Sourced
Tugbot components
“Test Container” Dockerfile
Docker
Tugbot
Example - “test container” Dockerfile.xxx
LABEL tugbot.event.docker=[list of Docker events]
Demo flow
– Deploy app
– Deploy Tugbot services
– Run, collect, result
– Elasticsearch + Kibana
– Launch app
– Vote
– Deploy 1st run of Tugbot
– Inject failures
– Functional and integration
– View results
– Inject chaos (Pumba)
– View results
Source: DockerCon 2016
Demo
How to get an “Oculus VR Gear” headset?
– Open to anyone that wants to develop or contribute to the open source community
– Make sure we can reach you if you are contributing
– Deadline: December 9th, 2016 - Winner is chosen
– Our S/W Engineering Team will select
– Contribute to and/or open issues for one of these repos: (contributions w/+reactions are weighted higher)
– Tugbot / Leader / Kubernetes - Standalone, Swarm, Kubernetes
– Tugbot Collect = Tugbot-result-service
– Tugbot Results Service-es
– Join and contribute to the Slack channel: https://tugbot.slack.com
– Example Voting App
21
HPESW-ADM Open Source contributions
– In-cluster testing framework for microservices in containers
– Tugbot – open sourced (github) - slides
– Published in docker’s weekly newsletter
– DEMO App (same one used at DockerCon16) – github
– Chaos injection tool – “Pumba” – open sourced (github) – Resiliency testing for microservices in
containers
– Chaos injection with network emulation – Pumba with netem – open sourced – github
– Used in the DEMO App
– Containerized Docker Bench security testing
– References
– 12factor.net
– Testing Strategies for Microservices - Martin Fowler
22
Orchestration and Scheduling - Swarm, Kubernetes, Marathon
Application Lifecycle Management on modern platforms
Future
Web console
Agile ALM Predictive ALM Cloud-native ALM
Application Lifecycle Management (ALM Octane)
HPESW Services
Container Platform (PaaS, DC/OS, DiDC)
vSphereAWSOpenStack Docker Engine
Docker Trusted Registry
H/W
We gladly accept pull requests
https://github.com/gaia-docker/tugbot
@GehaniNeil
Join us on Slack: tugbot-public.slack.com (public)
For Developers/Contributors: tugbot.slack.com
TUGBOT.IO is live!

More Related Content

What's hot (20)

PDF
Intro to Kubernetes SIG Contributor Experience
Bob Killen
 
PDF
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
Natale Vinto
 
PDF
GlueCon kubernetes & container engine
brendandburns
 
PDF
Continuous Deployment with Kubernetes, Docker and GitLab CI
alexanderkiel
 
PDF
Introduction to Kubernetes - Docker Global Mentor Week 2016
Opsta
 
PDF
DockerCon SF 2015: Docker in the New York Times Newsroom
Docker, Inc.
 
PDF
Containerd + buildkit breakout
Docker, Inc.
 
PDF
Introduction to Kubernetes
Amy Chen
 
PDF
Lean Cloud Starterkit - Beta
Dennis Seidel
 
PDF
Using Docker for Testing
Mukta Aphale
 
PPTX
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
devopsdaysaustin
 
PDF
Quarkus: From developer joy to Kubernetes nirvana! | DevNation Tech Talk
Red Hat Developers
 
PDF
CI/CD with Openshift and Jenkins
Ari LiVigni
 
PDF
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker, Inc.
 
PPTX
Cloud Native Okteto Cloud
sangam biradar
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
PDF
Debugging Go in Kubernetes
Alexei Ledenev
 
PDF
Ultimate DevOps - Jenkins Enterprise & Red Hat OpenShift
Andy Pemberton
 
PDF
Jenkins vs. AWS CodePipeline (AWS User Group Berlin)
Steffen Gebert
 
Intro to Kubernetes SIG Contributor Experience
Bob Killen
 
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
Natale Vinto
 
GlueCon kubernetes & container engine
brendandburns
 
Continuous Deployment with Kubernetes, Docker and GitLab CI
alexanderkiel
 
Introduction to Kubernetes - Docker Global Mentor Week 2016
Opsta
 
DockerCon SF 2015: Docker in the New York Times Newsroom
Docker, Inc.
 
Containerd + buildkit breakout
Docker, Inc.
 
Introduction to Kubernetes
Amy Chen
 
Lean Cloud Starterkit - Beta
Dennis Seidel
 
Using Docker for Testing
Mukta Aphale
 
2016 - Continuously Delivering Microservices in Kubernetes using Jenkins
devopsdaysaustin
 
Quarkus: From developer joy to Kubernetes nirvana! | DevNation Tech Talk
Red Hat Developers
 
CI/CD with Openshift and Jenkins
Ari LiVigni
 
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker, Inc.
 
Cloud Native Okteto Cloud
sangam biradar
 
Gitlab ci, cncf.sk
Juraj Hantak
 
Debugging Go in Kubernetes
Alexei Ledenev
 
Ultimate DevOps - Jenkins Enterprise & Red Hat OpenShift
Andy Pemberton
 
Jenkins vs. AWS CodePipeline (AWS User Group Berlin)
Steffen Gebert
 

Viewers also liked (14)

PPTX
Introducing "Tugbot" for Docker Containers
Neil Gehani
 
PDF
Multi-cloud Container Management for vRealize Automation
Jim Bugwadia
 
PPTX
Architecting Multi-Cloud Environments
RightScale
 
PDF
Multi-Cloud Microservices - DevOps Summit Silicon Valley 2015
Jim Bugwadia
 
PDF
Docker and Containers for Development and Deployment — SCALE12X
Jérôme Petazzoni
 
PDF
Modern Security with OAuth 2.0 and JWT and Spring by Dmitry Buzdin
Java User Group Latvia
 
PDF
Cloud Native Applications Maturity Model
Jim Bugwadia
 
PDF
In-Cluster Continuous Testing Framework for Docker Containers
Neil Gehani
 
PDF
Achieving CI/CD with Kubernetes
Ramit Surana
 
PPTX
The Role of Enterprise Integration in Digital Transformation
Kasun Indrasiri
 
PDF
Testing strategies for Docker containers
Alexei Ledenev
 
PPTX
Revamping Development and Testing Using Docker – Transforming Enterprise IT b...
Docker, Inc.
 
PDF
There is no such thing as a microservice! (oracle code nyc)
Chris Richardson
 
PDF
Developing applications with a microservice architecture (SVforum, microservi...
Chris Richardson
 
Introducing "Tugbot" for Docker Containers
Neil Gehani
 
Multi-cloud Container Management for vRealize Automation
Jim Bugwadia
 
Architecting Multi-Cloud Environments
RightScale
 
Multi-Cloud Microservices - DevOps Summit Silicon Valley 2015
Jim Bugwadia
 
Docker and Containers for Development and Deployment — SCALE12X
Jérôme Petazzoni
 
Modern Security with OAuth 2.0 and JWT and Spring by Dmitry Buzdin
Java User Group Latvia
 
Cloud Native Applications Maturity Model
Jim Bugwadia
 
In-Cluster Continuous Testing Framework for Docker Containers
Neil Gehani
 
Achieving CI/CD with Kubernetes
Ramit Surana
 
The Role of Enterprise Integration in Digital Transformation
Kasun Indrasiri
 
Testing strategies for Docker containers
Alexei Ledenev
 
Revamping Development and Testing Using Docker – Transforming Enterprise IT b...
Docker, Inc.
 
There is no such thing as a microservice! (oracle code nyc)
Chris Richardson
 
Developing applications with a microservice architecture (SVforum, microservi...
Chris Richardson
 
Ad

Similar to In cluster open source testing framework - Microservices Meetup (20)

PDF
Containerised Testing at Demonware : PyCon Ireland 2016
Thomas Shaw
 
PPTX
Tugbot - Testing Framework for Docker Containers
Neil Gehani
 
PPTX
DevOps Practices @Pipedrive
Renno Reinurm
 
PDF
Test Driven Design & Deployment
Jan Collijs
 
PDF
Prod-Like Integration Testing for Distributed Containerized Applications
VMware Tanzu
 
PDF
Play Framework + Docker + CircleCI + AWS + EC2 Container Service
Josh Padnick
 
PDF
Microservices 101: From DevOps to Docker and beyond
Donnie Berkholz
 
PDF
Docker Enables DevOps - Keep C.A.L.M.S. and Docker on ...
Boyd Hemphill
 
PDF
Microservices rubyconf-2013
Mohit Thatte
 
PDF
Efficient Parallel Testing with Docker
Laura Frank Tacho
 
PPTX
Continuous deployment of polyglot microservices: A practical approach
Juan Larriba
 
PDF
Keep calms and Docker On ... Innotech
Boyd Hemphill
 
PDF
Continuous Delivery at Snyk
Anton Drukh
 
PDF
Efficient Parallel Testing with Docker by Laura Frank
Docker, Inc.
 
PPTX
DevOps 101+: From collaboration to microservices
Donnie Berkholz
 
PDF
Building Efficient Parallel Testing Platforms with Docker
Laura Frank Tacho
 
PDF
DockerCon EU 2015: Day 1 General Session
Docker, Inc.
 
PPTX
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
PPTX
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
Ambassador Labs
 
PDF
[QE 2017] Dawid Pacia, Tomasz Janiszewski - SQA w erze TestOps
Future Processing
 
Containerised Testing at Demonware : PyCon Ireland 2016
Thomas Shaw
 
Tugbot - Testing Framework for Docker Containers
Neil Gehani
 
DevOps Practices @Pipedrive
Renno Reinurm
 
Test Driven Design & Deployment
Jan Collijs
 
Prod-Like Integration Testing for Distributed Containerized Applications
VMware Tanzu
 
Play Framework + Docker + CircleCI + AWS + EC2 Container Service
Josh Padnick
 
Microservices 101: From DevOps to Docker and beyond
Donnie Berkholz
 
Docker Enables DevOps - Keep C.A.L.M.S. and Docker on ...
Boyd Hemphill
 
Microservices rubyconf-2013
Mohit Thatte
 
Efficient Parallel Testing with Docker
Laura Frank Tacho
 
Continuous deployment of polyglot microservices: A practical approach
Juan Larriba
 
Keep calms and Docker On ... Innotech
Boyd Hemphill
 
Continuous Delivery at Snyk
Anton Drukh
 
Efficient Parallel Testing with Docker by Laura Frank
Docker, Inc.
 
DevOps 101+: From collaboration to microservices
Donnie Berkholz
 
Building Efficient Parallel Testing Platforms with Docker
Laura Frank Tacho
 
DockerCon EU 2015: Day 1 General Session
Docker, Inc.
 
DockerCon 15 Keynote - Day 2
Docker, Inc.
 
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
Ambassador Labs
 
[QE 2017] Dawid Pacia, Tomasz Janiszewski - SQA w erze TestOps
Future Processing
 
Ad

Recently uploaded (20)

PDF
Executive Business Intelligence Dashboards
vandeslie24
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Executive Business Intelligence Dashboards
vandeslie24
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 

In cluster open source testing framework - Microservices Meetup

  • 1. In-cluster Open Source Testing Framework For Docker containers Neil Gehani – Sr. Product Manager, HPE-SW @GehaniNeil
  • 2. About me – Former Software Engineer – 10+ Years as a Product Manager – Previously at: LinkedIn, Founder of eCommerce startup, Check Point Software – Twitter: @GehaniNeil, Website: gehani.me – Current Role (HPESW-ADM): Solving problems for modern development teams building apps as services in containers – Published on Slideshare.net – Product Portfolio Planning – In-cluster testing framework – Cloud-native ALM – Medium Article on DevOps and In-Cluster Open Source Testing Framework – Dabble in writing code, geeking out new technologies, conquering the hills of the bay area on my bike
  • 3. Applications are changing – accelerate to a digital enterprise 3 Courtesy of
  • 4. Our mission In a recent NGINX survey [Finding #7], the “biggest challenge holding back developers” • Having to constantly trade-off between quality of code and expected speed of delivery • Multiple and increasingly complex environments • Lack of automation tools and processes 4 To solve problems for Developers building cloud-native applications as “services” in containers. Target users: Modern “2 pizza” development teams
  • 5. Business process Teams should be built around business value 5 Microservices Business activity
  • 6. Taxonomy – Modern Application Development & Delivery – Applications or Systems are set of “services” – “Service” = business value – Cloud-native is a design pattern – Microservices is an architecture – Containers are portable. “If it works on my machine, it will run in production” is real – Platform to deploy “services” (PaaS) – Infrastructure to run “services (IaaS) – Developers don’t care how – Serverless is compute on-demand – DevOps is a practice – App Transformation and DevOps are two sides of the same coin 6 DevOps goal: Maximize business value by reducing cycle time Time value of money principle applied to software delivery
  • 7. Feel the need for speed
  • 8. Balancing Time Value of Money – Time value of delivery – Time value of shipping 8 Source: Brandon Chu - Time Value of Shipping
  • 9. Reducing cycle time minimizes risk, improves quality, speed 9 VS. Faster release cycle Less code to validate Easier to schedule Longer test cycles Less predictability Unable to adapt to change
  • 11. API Gateway Start Decoupling From Your Monolith 11 Monolith API Gateway New Feature 1 New Feature 2 Re-factor Feature 3 UI New UI Features
  • 12. The challenge New matrix from hell 12Courtesy of
  • 13. Introducing TUGBOT.IO An HPE Open Source Project 13
  • 14. MONITORPLAN TESTTESTTESTTEST ALM Octane - AnalyticsVisualization (Kibana)ElasticSearch Run Collect Env: Dev Run Collect Env: Test Run Collect Env: Stage Run Collect Env: Prod Test results Tugbot—in-cluster testing framework for Docker Containers Developers IT Operations
  • 15. Use cases—make continuous testing real (24x7x365) – Simplify & standardize testing in any environment – Any test, Any tool (integration, functional, performance, security, chaos, etc.) – E.G test backing services or based on operational activities – Event driven testing - trigger tests on events – Docker events:image update, new container, etc. – Timer events: CRON – once in time interval – Host events: kernel update, host restart, package update, config 
 update, etc. – External event: someone asked to run tests, etc. – Standardize collection of test results from all machines – Aggregate and analyze test results over time to track quality improvements – Test context: Events, Docker containers, Host configuration, user defined context – Share “Test Containers” – ”Social-testing” (e.g. Docker security bench test)
  • 16. “Tugbot” workflow Kibana Test 
 containers 1. Discover test containers 4. Publish 
 results to ES ALM OctaneFrom github.com 3. Collect 
 rresults 2. Run
 tests (Tugbot) 5. Visualize Micro services
  • 18. “Test Container” Dockerfile Docker Tugbot Example - “test container” Dockerfile.xxx LABEL tugbot.event.docker=[list of Docker events]
  • 19. Demo flow – Deploy app – Deploy Tugbot services – Run, collect, result – Elasticsearch + Kibana – Launch app – Vote – Deploy 1st run of Tugbot – Inject failures – Functional and integration – View results – Inject chaos (Pumba) – View results Source: DockerCon 2016
  • 20. Demo
  • 21. How to get an “Oculus VR Gear” headset? – Open to anyone that wants to develop or contribute to the open source community – Make sure we can reach you if you are contributing – Deadline: December 9th, 2016 - Winner is chosen – Our S/W Engineering Team will select – Contribute to and/or open issues for one of these repos: (contributions w/+reactions are weighted higher) – Tugbot / Leader / Kubernetes - Standalone, Swarm, Kubernetes – Tugbot Collect = Tugbot-result-service – Tugbot Results Service-es – Join and contribute to the Slack channel: https://tugbot.slack.com – Example Voting App 21
  • 22. HPESW-ADM Open Source contributions – In-cluster testing framework for microservices in containers – Tugbot – open sourced (github) - slides – Published in docker’s weekly newsletter – DEMO App (same one used at DockerCon16) – github – Chaos injection tool – “Pumba” – open sourced (github) – Resiliency testing for microservices in containers – Chaos injection with network emulation – Pumba with netem – open sourced – github – Used in the DEMO App – Containerized Docker Bench security testing – References – 12factor.net – Testing Strategies for Microservices - Martin Fowler 22
  • 23. Orchestration and Scheduling - Swarm, Kubernetes, Marathon Application Lifecycle Management on modern platforms Future Web console Agile ALM Predictive ALM Cloud-native ALM Application Lifecycle Management (ALM Octane) HPESW Services Container Platform (PaaS, DC/OS, DiDC) vSphereAWSOpenStack Docker Engine Docker Trusted Registry H/W
  • 24. We gladly accept pull requests https://github.com/gaia-docker/tugbot @GehaniNeil Join us on Slack: tugbot-public.slack.com (public) For Developers/Contributors: tugbot.slack.com TUGBOT.IO is live!