FUNCTEST IN DEPTH
Jose Lausuch (Ericsson)
OPNFV Summit 2015
jose.lausuch@ericsson.com
Agenda
09/11/2015 Functest in Depth, OPNFV Summit 2015 2
What is Functest?
Test cases
Repository structure
CI & Automation
Brahmaputra Release
OPNFV Projects ecosystem
09/11/2015 Functest in Depth, OPNFV Summit 2015 3
TEST Projects
Yardstick
Qtip
VPerf
…
FEATURE Projects
VPN
SFC
SDN Contr.
Resource mgmt.
…
PHAROS
Testbed
OCTOPUS (CI)
RELENG
INSTALLER Projects
Fuel
Foreman
JOID
Compass
…
Functest
TestbedTestbed TestbedTestbed
What is Functest?
09/11/2015 Functest in Depth, OPNFV Summit 2015 4
What we do…
Focus on verifying the OpenStack deployment and
the SDN Controllers
Have a full integration and automation mechanism
Provide comprehensive testing methodology
09/11/2015 Functest in Depth, OPNFV Summit 2015 5
Base System Functionality Testing
09/11/2015 Functest in Depth, OPNFV Summit 2015 6
ETSI NFV Reference
WE DON’T:
Performance tests
HW tests
Frameworks
The gang…
09/11/2015 Functest in Depth, OPNFV Summit 2015 7
The project…
09/11/2015 Functest in Depth, OPNFV Summit 2015 8
source: Bitergia (http://projects.bitergia.com/opnfv)
date: November 2015
Functest Testcases
Arno
09/11/2015 Functest in Depth, OPNFV Summit 2015 9
Functest Testcases
vPing test case
Create machines and verify connectivity
ODL test case
Robot framework, ODL functional testing
Rally bench tests
Benchmark the OpenStack deployment
Tempest test
OpenStack native tests (100+ smoke-tests)
09/11/2015 Functest in Depth, OPNFV Summit 2015 10
Functest Testcases
vPing test case
Create machines and verify connectivity
09/11/2015 Functest in Depth, OPNFV Summit 2015 11
VM2
vPing test case
09/11/2015 Functest in Depth, OPNFV Summit 2015 12
VM1
provisional Neutron network
Functest Testcases
ODL test case
Robot framework, ODL functional testing
09/11/2015 Functest in Depth, OPNFV Summit 2015 13
ODL test case
09/11/2015 Functest in Depth, OPNFV Summit 2015
14
Dashboard/API
(Horizon)
Compute Storage
Networking
(Neutron)
…..
ML2 Plug-in
Northbound API
ODL – Neutron REST API
OVSDB
OVS Nodes
ODL test cases
09/11/2015 Functest in Depth, OPNFV Summit 2015 15
Borrowed from ODL repository
4 basic test cases:
Check ODL Restconf
Create/Delete/Check Network
Create/Delete/Check Subnet
Create/Delete/Check Port
Functest Testcases
Rally bench tests
Benchmark the OpenStack deployment
09/11/2015 Functest in Depth, OPNFV Summit 2015 16
Rally
09/11/2015 Functest in Depth, OPNFV Summit 2015 17
Rally is a
benchmarking tool that
answers the question:
“How does OpenStack
work at scale?”.
Rally - scenario example
09/11/2015 Functest in Depth, OPNFV Summit 2015 18
Runners:
• Serial: launch scenario N times in one thread
• Constant: launch scenario N times in M parallel threads
• RPS: generates N threads per second M times
Success criteria (SLA)
• You can define a maximum time per iteration
• It will skip the test if 1 iteration fails
Context:
• Contexts needed for this scenario (tenants/users)
Rally - output
09/11/2015 Functest in Depth, OPNFV Summit 2015 19
Functest Testcases
Tempest test
OpenStack native tests (100+ smoke-tests)
09/11/2015 Functest in Depth, OPNFV Summit 2015 20
Tempest test
09/11/2015 Functest in Depth, OPNFV Summit 2015 21
Tempest is a set of integration tests to be run against
a live OpenStack cluster
Rally performs the tempest installation and generation
of tempest.conf
Functest Structure
today
09/11/2015 Functest in Depth, OPNFV Summit 2015 22
Directory structure
09/11/2015 Functest in Depth, OPNFV Summit 2015 23
Main configuration script. Installs needed tools (Rally, Robot, …)
Configuration parameters
SDN Controllers test suites
Openstack related tests (Rally, Tempest)
vPing test case
Dockerfile and automation scripts
Format results to dashboard ready and other utils
vIMS test case
Configuration file
09/11/2015 Functest in Depth, OPNFV Summit 2015 24
Configuration yaml file
Predefined tested values
Can be given as an input to Functest
Possible to specify commit IDs of the
used repositories
Versioning control
CI & Aut
09/11/2015 Functest in Depth, OPNFV Summit 2015 25
tion
CI & Automation
09/11/2015 Functest in Depth, OPNFV Summit 2015 26
Functest Jenkins job
Triggered automatically
after a successful
deployment
One macro per test case
You can execute a single
test From Jenkins
CI & Automation
09/11/2015 Functest in Depth, OPNFV Summit 2015 27
Daily verification of OPNFV platform
New
Features
JENKINS
BUILD
DEPLOYMENT
FUNCTEST
YARDSTICK
….
Execution of tests
09/11/2015 Functest in Depth, OPNFV Summit 2015 28
Target POD
Jumphost
Don’t worry sir,
I’ll do it for you
jjob
Brahmaputra
release
09/11/2015 Functest in Depth, OPNFV Summit 2015
Functest in Brahmaputra release
Dockerization
Test Result collection
Dashboard
Virtual IMS test case
+ SDN Controllers tests
Feature projects
09/11/2015 Functest in Depth, OPNFV Summit 2015 30
Docker -ization
09/11/2015 Functest in Depth, OPNFV Summit 2015 31
Functest Docker
09/11/2015 Functest in Depth, OPNFV Summit 2015 32
$docker run -t opnfv/functest $dir/run_test.sh
Functest Docker
09/11/2015 Functest in Depth, OPNFV Summit 2015 33
Without Docker With Docker
• Have to install needed libraries in
your jumphost
• Maintain in the documentation
the needed libraries and
dependencies
• Possible OS dependencies
• Not portable
• Needed libraries preinstalled in
the docker image
• Update image when there is a
new software dependency and
push to the OPNFV Docker Hub
• No OS dependencies
• Portable
Execution of tests
09/11/2015 Functest in Depth, OPNFV Summit 2015 34
Target POD
Jumphost
Docker Hub
Don’t worry sir,
I’ll do it for you
jjob
MRF PCRF
CSCF
HSS
vIMS test case
09/11/2015 Functest in Depth, OPNFV Summit 2015 35
vIMS test case
Full automation of a core Open Source
vIMS solution on OPNFV from Clearwater
Deployment of an orchestrator (Cloudify)
to manage the VNF
Run suite of signaling tests on vIMS
Successfully tested from Jenkins on
LinuxFoundation POD2
09/11/2015 Functest in Depth, OPNFV Summit 2015 36
SIP
vIMS test case
09/11/2015 Functest in Depth, OPNFV Summit 2015 37
1) Deploy the orchestrator
2) Create the tenant
3) Create the VNF (10 VMs)
4) Launch test suite (more
than 100 signaling tests)
5) Collect results
6) Clean-up
SDN Controllers
09/11/2015 Functest in Depth, OPNFV Summit 2015 38
SDN Controllers
Extension of OpenDaylight test cases
Integration of ONOS test framework
Open Contrail test
09/11/2015 Functest in Depth, OPNFV Summit 2015 39
Test results collection
09/11/2015 Functest in Depth, OPNFV Summit 2015 40
Test results collection
09/11/2015 Functest in Depth, OPNFV Summit 2015 41
Test projects
Mongo
DB
REST API
VPerfYardstick QTIP BottlenecksFunctest …
Test results collection - API
Filter per test case
– http://<DB_Public_IP>/results?case=vPing
Filter per pod
– http://<DB_Public_IP>/results?pod=opnfv-jump-2
Filter per project
– http://<DB_Public_IP>/results?project=yardstick
Combination of filters
– http://<DB_Public_IP>/results?project=functest&case=Tempest&pod=opnfv-jump-2
09/11/2015 Functest in Depth, OPNFV Summit 2015 42
Dashboard
09/11/2015 Functest in Depth, OPNFV Summit 2015 43
Dashboard
Show all the results using simplistic graphs
Possible to filter per project/test case/…
Comparison of previous results with recent ones
…
09/11/2015 Functest in Depth, OPNFV Summit 2015 44
Dashboard Draft
09/11/2015 Functest in Depth, OPNFV Summit 2015 45
Beyond Brahmaputra
09/11/2015 Functest in Depth, OPNFV Summit 2015 46
New functional test (vCPE, vHGW, vCDN, …)
Results analytics
Better Rally usage
More SDN controllers test integration
Broaden test coverage (security, O&M, …)
Lessons learned in Arno
09/11/2015 Functest in Depth, OPNFV Summit 2015 47
Need for stable labs some weeks before the release
Need to run the tests on different PODs from CI
Complex troubleshooting
Functest cannot solve all problems
Challenges
09/11/2015 Functest in Depth, OPNFV Summit 2015 48
Different OpenStack installers
Different SDN controllers
Many features
Lots of combinations to be tested !!
…
…
Summary
09/11/2015 Functest in Depth, OPNFV Summit 2015 49
First test project in OPNFV
Validate a fresh OPNFV deployment
Umbrella for testing projects
Umbrella for feature projects
We don’t bite, come to us with questions 
09/11/2015 Functest in Depth, OPNFV Summit 2015 50
Thank you!
09/11/2015 Functest in Depth, OPNFV Summit 2015 51

More Related Content

PPTX
OPNFV: Open Source Carrier Networking Panel
PDF
System Testing and Integration: Test Strategy for Brahmaputra
PDF
Operating OPNFV: Deploy it, test it, run it
PPT
Open Platform for NFV (developer)
PDF
OPNFV: Platform Performance Acceleration
PDF
Summit 16: ARM Mini-Summit - OPNFV vision, contributions and offerings - Enea
PDF
Open Platform for NFV: Arno and Beyond
PPTX
Open stack gluon + opnfv netready
OPNFV: Open Source Carrier Networking Panel
System Testing and Integration: Test Strategy for Brahmaputra
Operating OPNFV: Deploy it, test it, run it
Open Platform for NFV (developer)
OPNFV: Platform Performance Acceleration
Summit 16: ARM Mini-Summit - OPNFV vision, contributions and offerings - Enea
Open Platform for NFV: Arno and Beyond
Open stack gluon + opnfv netready

What's hot (20)

PPTX
OPNFV: A Multi-Vendor, Interoperable, NFV Solution
PPTX
OPNFV overview
PDF
Summit 16: Open-O Mini-Summit - Orchestrating Network Connectivity Services
PPT
What is OPNFV? An Introduction
PPTX
Operating OPNFV
PPTX
Building OPNFV as a Platform
PPTX
Swimming upstream: OPNFV Doctor project case study
PDF
Automatic Integration, Testing and Certification of NFV in China Mobile
PDF
What is OPNFV? What does it deliver?
PDF
The Third Network: LSO, SDN and NFV
PDF
ONAP integration with opnfv via opera
PPTX
Opnfv testing + opnfv pharos + opnfv xci
PDF
Summit 16: ARM Mini-Summit - OpenDataPlane Monarch Release - Linaro
PDF
Evolution of OPNFV CI System: What already exists and what can be introduced
PDF
Summit 16: How to Compose a New OPNFV Solution Stack?
PDF
MEF's inter-domain orchestration delivering dynamic third networks [presente...
PPTX
OPNFV: Getting down to business
PPTX
Connection points between opnfv and etsi nfv tst working group
PDF
OPNFV: Road to Next-Generation Network
PDF
Summit 16: CI/CD and DevOps
OPNFV: A Multi-Vendor, Interoperable, NFV Solution
OPNFV overview
Summit 16: Open-O Mini-Summit - Orchestrating Network Connectivity Services
What is OPNFV? An Introduction
Operating OPNFV
Building OPNFV as a Platform
Swimming upstream: OPNFV Doctor project case study
Automatic Integration, Testing and Certification of NFV in China Mobile
What is OPNFV? What does it deliver?
The Third Network: LSO, SDN and NFV
ONAP integration with opnfv via opera
Opnfv testing + opnfv pharos + opnfv xci
Summit 16: ARM Mini-Summit - OpenDataPlane Monarch Release - Linaro
Evolution of OPNFV CI System: What already exists and what can be introduced
Summit 16: How to Compose a New OPNFV Solution Stack?
MEF's inter-domain orchestration delivering dynamic third networks [presente...
OPNFV: Getting down to business
Connection points between opnfv and etsi nfv tst working group
OPNFV: Road to Next-Generation Network
Summit 16: CI/CD and DevOps
Ad

Similar to Functest in Depth (20)

PPTX
How to Reuse OPNFV Testing Components in Telco Validation Chain
PDF
HKG15-204: OpenStack: 3rd party testing and performance benchmarking
PPTX
Upstream Testing Collaboration
PDF
Network Service Benchmarking
PDF
Summit 16: Multi-site OPNFV Testing Challenges
PDF
OPNFV/Functest: lessons learned and best practices for VNF test automation
PDF
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
PDF
Cloud-based Test Microservices JavaOne 2014
PPT
OPNFV: Overview and Approach to Upstream Integration
PDF
NFV testing landscape
PDF
PDF
PDF
Are We Done Yet ? Testing Your OpenStack Deployment
PDF
Tempest scenariotests 20140512
PDF
Art of unittesting in OpenStack - Paris 2014
PPTX
Recap of OpenStack Tokyo Summit
PDF
Summit 16: Automated Platform for Testing VNF Performance and Interoperabili...
PDF
Rally--OpenStack Benchmarking at Scale
PDF
Challenge in asia region connecting each testbed and poc of distributed nfv ...
PDF
Open Source and Cloud: Change Through Collaboration
How to Reuse OPNFV Testing Components in Telco Validation Chain
HKG15-204: OpenStack: 3rd party testing and performance benchmarking
Upstream Testing Collaboration
Network Service Benchmarking
Summit 16: Multi-site OPNFV Testing Challenges
OPNFV/Functest: lessons learned and best practices for VNF test automation
OPNFV Webinar – No Time to Wait: Accelerating NFV Time to Market Through Open...
Cloud-based Test Microservices JavaOne 2014
OPNFV: Overview and Approach to Upstream Integration
NFV testing landscape
Are We Done Yet ? Testing Your OpenStack Deployment
Tempest scenariotests 20140512
Art of unittesting in OpenStack - Paris 2014
Recap of OpenStack Tokyo Summit
Summit 16: Automated Platform for Testing VNF Performance and Interoperabili...
Rally--OpenStack Benchmarking at Scale
Challenge in asia region connecting each testbed and poc of distributed nfv ...
Open Source and Cloud: Change Through Collaboration
Ad

More from OPNFV (20)

PPTX
Energy Audit aaS with OPNFV
PPTX
Hands-On Testing: How to Integrate Tests in OPNFV
PDF
Storage Performance Indicators - Powered by StorPerf and QTIP
PDF
Big Data for Testing - Heading for Post Process and Analytics
PPTX
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
ODP
How Many Ohs? (An Integration Guide to Apex & Triple-o)
PPTX
Being Brave: Deploying OpenStack from Master
PDF
Enabling Carrier-Grade Availability Within a Cloud Infrastructure
PDF
Learnings From the First Year of the OPNFV Internship Program
PDF
OPNFV and OCP: Perfect Together
PDF
The Return of QTIP, from Brahmaputra to Danube
PDF
Improving POD Usage in Labs, CI and Testing
PDF
Run OPNFV Danube on ODCC Scorpio Multi-node Server - Open Software on Open Ha...
PDF
Distributed vnf management architecture and use-cases
PDF
Software-defined migration how to migrate bunch of v-ms and volumes within a...
PDF
Securing your nfv and sdn integrated open stack cloud- challenges, use-cases ...
PDF
My network functions are virtualized, but are they cloud-ready
ODP
Accelerated dataplanes integration and deployment
PPTX
Challenges in testing for composite vim platforms
PDF
Openstack Tacker - Moving into Pike
Energy Audit aaS with OPNFV
Hands-On Testing: How to Integrate Tests in OPNFV
Storage Performance Indicators - Powered by StorPerf and QTIP
Big Data for Testing - Heading for Post Process and Analytics
Testing, CI Gating & Community Fast Feedback: The Challenge of Integration Pr...
How Many Ohs? (An Integration Guide to Apex & Triple-o)
Being Brave: Deploying OpenStack from Master
Enabling Carrier-Grade Availability Within a Cloud Infrastructure
Learnings From the First Year of the OPNFV Internship Program
OPNFV and OCP: Perfect Together
The Return of QTIP, from Brahmaputra to Danube
Improving POD Usage in Labs, CI and Testing
Run OPNFV Danube on ODCC Scorpio Multi-node Server - Open Software on Open Ha...
Distributed vnf management architecture and use-cases
Software-defined migration how to migrate bunch of v-ms and volumes within a...
Securing your nfv and sdn integrated open stack cloud- challenges, use-cases ...
My network functions are virtualized, but are they cloud-ready
Accelerated dataplanes integration and deployment
Challenges in testing for composite vim platforms
Openstack Tacker - Moving into Pike

Recently uploaded (20)

PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Five Habits of High-Impact Board Members
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
DOCX
search engine optimization ppt fir known well about this
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
August Patch Tuesday
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPT
Geologic Time for studying geology for geologist
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
1 - Historical Antecedents, Social Consideration.pdf
Five Habits of High-Impact Board Members
sustainability-14-14877-v2.pddhzftheheeeee
Benefits of Physical activity for teenagers.pptx
A novel scalable deep ensemble learning framework for big data classification...
search engine optimization ppt fir known well about this
Univ-Connecticut-ChatGPT-Presentaion.pdf
The various Industrial Revolutions .pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Getting Started with Data Integration: FME Form 101
Group 1 Presentation -Planning and Decision Making .pptx
August Patch Tuesday
A review of recent deep learning applications in wood surface defect identifi...
Final SEM Unit 1 for mit wpu at pune .pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Geologic Time for studying geology for geologist
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf

Functest in Depth

  • 1. FUNCTEST IN DEPTH Jose Lausuch (Ericsson) OPNFV Summit 2015 jose.lausuch@ericsson.com
  • 2. Agenda 09/11/2015 Functest in Depth, OPNFV Summit 2015 2 What is Functest? Test cases Repository structure CI & Automation Brahmaputra Release
  • 3. OPNFV Projects ecosystem 09/11/2015 Functest in Depth, OPNFV Summit 2015 3 TEST Projects Yardstick Qtip VPerf … FEATURE Projects VPN SFC SDN Contr. Resource mgmt. … PHAROS Testbed OCTOPUS (CI) RELENG INSTALLER Projects Fuel Foreman JOID Compass … Functest TestbedTestbed TestbedTestbed
  • 4. What is Functest? 09/11/2015 Functest in Depth, OPNFV Summit 2015 4
  • 5. What we do… Focus on verifying the OpenStack deployment and the SDN Controllers Have a full integration and automation mechanism Provide comprehensive testing methodology 09/11/2015 Functest in Depth, OPNFV Summit 2015 5 Base System Functionality Testing
  • 6. 09/11/2015 Functest in Depth, OPNFV Summit 2015 6 ETSI NFV Reference WE DON’T: Performance tests HW tests Frameworks
  • 7. The gang… 09/11/2015 Functest in Depth, OPNFV Summit 2015 7
  • 8. The project… 09/11/2015 Functest in Depth, OPNFV Summit 2015 8 source: Bitergia (http://projects.bitergia.com/opnfv) date: November 2015
  • 9. Functest Testcases Arno 09/11/2015 Functest in Depth, OPNFV Summit 2015 9
  • 10. Functest Testcases vPing test case Create machines and verify connectivity ODL test case Robot framework, ODL functional testing Rally bench tests Benchmark the OpenStack deployment Tempest test OpenStack native tests (100+ smoke-tests) 09/11/2015 Functest in Depth, OPNFV Summit 2015 10
  • 11. Functest Testcases vPing test case Create machines and verify connectivity 09/11/2015 Functest in Depth, OPNFV Summit 2015 11
  • 12. VM2 vPing test case 09/11/2015 Functest in Depth, OPNFV Summit 2015 12 VM1 provisional Neutron network
  • 13. Functest Testcases ODL test case Robot framework, ODL functional testing 09/11/2015 Functest in Depth, OPNFV Summit 2015 13
  • 14. ODL test case 09/11/2015 Functest in Depth, OPNFV Summit 2015 14 Dashboard/API (Horizon) Compute Storage Networking (Neutron) ….. ML2 Plug-in Northbound API ODL – Neutron REST API OVSDB OVS Nodes
  • 15. ODL test cases 09/11/2015 Functest in Depth, OPNFV Summit 2015 15 Borrowed from ODL repository 4 basic test cases: Check ODL Restconf Create/Delete/Check Network Create/Delete/Check Subnet Create/Delete/Check Port
  • 16. Functest Testcases Rally bench tests Benchmark the OpenStack deployment 09/11/2015 Functest in Depth, OPNFV Summit 2015 16
  • 17. Rally 09/11/2015 Functest in Depth, OPNFV Summit 2015 17 Rally is a benchmarking tool that answers the question: “How does OpenStack work at scale?”.
  • 18. Rally - scenario example 09/11/2015 Functest in Depth, OPNFV Summit 2015 18 Runners: • Serial: launch scenario N times in one thread • Constant: launch scenario N times in M parallel threads • RPS: generates N threads per second M times Success criteria (SLA) • You can define a maximum time per iteration • It will skip the test if 1 iteration fails Context: • Contexts needed for this scenario (tenants/users)
  • 19. Rally - output 09/11/2015 Functest in Depth, OPNFV Summit 2015 19
  • 20. Functest Testcases Tempest test OpenStack native tests (100+ smoke-tests) 09/11/2015 Functest in Depth, OPNFV Summit 2015 20
  • 21. Tempest test 09/11/2015 Functest in Depth, OPNFV Summit 2015 21 Tempest is a set of integration tests to be run against a live OpenStack cluster Rally performs the tempest installation and generation of tempest.conf
  • 22. Functest Structure today 09/11/2015 Functest in Depth, OPNFV Summit 2015 22
  • 23. Directory structure 09/11/2015 Functest in Depth, OPNFV Summit 2015 23 Main configuration script. Installs needed tools (Rally, Robot, …) Configuration parameters SDN Controllers test suites Openstack related tests (Rally, Tempest) vPing test case Dockerfile and automation scripts Format results to dashboard ready and other utils vIMS test case
  • 24. Configuration file 09/11/2015 Functest in Depth, OPNFV Summit 2015 24 Configuration yaml file Predefined tested values Can be given as an input to Functest Possible to specify commit IDs of the used repositories Versioning control
  • 25. CI & Aut 09/11/2015 Functest in Depth, OPNFV Summit 2015 25 tion
  • 26. CI & Automation 09/11/2015 Functest in Depth, OPNFV Summit 2015 26 Functest Jenkins job Triggered automatically after a successful deployment One macro per test case You can execute a single test From Jenkins
  • 27. CI & Automation 09/11/2015 Functest in Depth, OPNFV Summit 2015 27 Daily verification of OPNFV platform New Features JENKINS BUILD DEPLOYMENT FUNCTEST YARDSTICK ….
  • 28. Execution of tests 09/11/2015 Functest in Depth, OPNFV Summit 2015 28 Target POD Jumphost Don’t worry sir, I’ll do it for you jjob
  • 29. Brahmaputra release 09/11/2015 Functest in Depth, OPNFV Summit 2015
  • 30. Functest in Brahmaputra release Dockerization Test Result collection Dashboard Virtual IMS test case + SDN Controllers tests Feature projects 09/11/2015 Functest in Depth, OPNFV Summit 2015 30
  • 31. Docker -ization 09/11/2015 Functest in Depth, OPNFV Summit 2015 31
  • 32. Functest Docker 09/11/2015 Functest in Depth, OPNFV Summit 2015 32 $docker run -t opnfv/functest $dir/run_test.sh
  • 33. Functest Docker 09/11/2015 Functest in Depth, OPNFV Summit 2015 33 Without Docker With Docker • Have to install needed libraries in your jumphost • Maintain in the documentation the needed libraries and dependencies • Possible OS dependencies • Not portable • Needed libraries preinstalled in the docker image • Update image when there is a new software dependency and push to the OPNFV Docker Hub • No OS dependencies • Portable
  • 34. Execution of tests 09/11/2015 Functest in Depth, OPNFV Summit 2015 34 Target POD Jumphost Docker Hub Don’t worry sir, I’ll do it for you jjob
  • 35. MRF PCRF CSCF HSS vIMS test case 09/11/2015 Functest in Depth, OPNFV Summit 2015 35
  • 36. vIMS test case Full automation of a core Open Source vIMS solution on OPNFV from Clearwater Deployment of an orchestrator (Cloudify) to manage the VNF Run suite of signaling tests on vIMS Successfully tested from Jenkins on LinuxFoundation POD2 09/11/2015 Functest in Depth, OPNFV Summit 2015 36 SIP
  • 37. vIMS test case 09/11/2015 Functest in Depth, OPNFV Summit 2015 37 1) Deploy the orchestrator 2) Create the tenant 3) Create the VNF (10 VMs) 4) Launch test suite (more than 100 signaling tests) 5) Collect results 6) Clean-up
  • 38. SDN Controllers 09/11/2015 Functest in Depth, OPNFV Summit 2015 38
  • 39. SDN Controllers Extension of OpenDaylight test cases Integration of ONOS test framework Open Contrail test 09/11/2015 Functest in Depth, OPNFV Summit 2015 39
  • 40. Test results collection 09/11/2015 Functest in Depth, OPNFV Summit 2015 40
  • 41. Test results collection 09/11/2015 Functest in Depth, OPNFV Summit 2015 41 Test projects Mongo DB REST API VPerfYardstick QTIP BottlenecksFunctest …
  • 42. Test results collection - API Filter per test case – http://<DB_Public_IP>/results?case=vPing Filter per pod – http://<DB_Public_IP>/results?pod=opnfv-jump-2 Filter per project – http://<DB_Public_IP>/results?project=yardstick Combination of filters – http://<DB_Public_IP>/results?project=functest&case=Tempest&pod=opnfv-jump-2 09/11/2015 Functest in Depth, OPNFV Summit 2015 42
  • 43. Dashboard 09/11/2015 Functest in Depth, OPNFV Summit 2015 43
  • 44. Dashboard Show all the results using simplistic graphs Possible to filter per project/test case/… Comparison of previous results with recent ones … 09/11/2015 Functest in Depth, OPNFV Summit 2015 44
  • 45. Dashboard Draft 09/11/2015 Functest in Depth, OPNFV Summit 2015 45
  • 46. Beyond Brahmaputra 09/11/2015 Functest in Depth, OPNFV Summit 2015 46 New functional test (vCPE, vHGW, vCDN, …) Results analytics Better Rally usage More SDN controllers test integration Broaden test coverage (security, O&M, …)
  • 47. Lessons learned in Arno 09/11/2015 Functest in Depth, OPNFV Summit 2015 47 Need for stable labs some weeks before the release Need to run the tests on different PODs from CI Complex troubleshooting Functest cannot solve all problems
  • 48. Challenges 09/11/2015 Functest in Depth, OPNFV Summit 2015 48 Different OpenStack installers Different SDN controllers Many features Lots of combinations to be tested !! … …
  • 49. Summary 09/11/2015 Functest in Depth, OPNFV Summit 2015 49 First test project in OPNFV Validate a fresh OPNFV deployment Umbrella for testing projects Umbrella for feature projects We don’t bite, come to us with questions 
  • 50. 09/11/2015 Functest in Depth, OPNFV Summit 2015 50
  • 51. Thank you! 09/11/2015 Functest in Depth, OPNFV Summit 2015 51