19
We'll fix it for you! The importance of running your own test suite against the open source CloudStack repository

CloudStack and testing

Embed Size (px)

Citation preview

Page 1: CloudStack and testing

We'll fix it for you!The importance of running your own test suite against the open source CloudStack repository

Page 2: CloudStack and testing

AGENDA

• What is this talk about• Who am i• What is Leaseweb (stolen slides)• Problem areas• Mitigation• Prevention

Question and remarks at any time!

Page 3: CloudStack and testing

We'll fix it for you!No we won't!

Page 4: CloudStack and testing

We'll fix it for you!No we won't!Citrix mightOr ShapeBlueOr me (too expensive)

Page 5: CloudStack and testing

#cloudstackworksWhy?

Because of Careful design Good development process Function point analysis Unit testing Component testing Integration testing Functional tests

Page 6: CloudStack and testing

Who am I

• Developer• Triathlete• Person

Cat, wife, +2 adultsGmail and onecht.net addresses for everybody

Apache CloudStack PMC memberSenior developer at Leaseweb (i think) [email protected]

Page 7: CloudStack and testing

What is Leaseweb

https://www.youtube.com/watch?v=VzIUqOXUHSg&list=PLGeM09tlguZSeNyOyQKJHNX4pxgK-yoTA&index=39

The following slides are stolen from a colleague that does a much better job at explaining what we are in:...

Page 8: CloudStack and testing

What is Leaseweb

Page 9: CloudStack and testing
Page 10: CloudStack and testing

Possible problem areas

• UI• SystemVM Template• SystemVM ISO• Packaging• Core• Your favorite plugin• ...

Page 11: CloudStack and testing

UI element obfuscation

Possible problem areas

• UI• SystemVM Template• SystemVM ISO• Packaging• Core

commit c4f64dce2127c8cef4e28aec5017c5f654c9e584Author: Boris Schrijver <[email protected]> 2015-11-08 18:22:39Committer: Boris Schrijver <[email protected]> 2015-11-08 18:22:39Parent: f948e96299f65f2c83ee902b0b46ea34a559064b (Merge pull request #1023 from ekholabs/fix/egress_state-CLOUDSTACK-8925)Child: 7e42978a7724758de4d2f479b41b2d60e5a679e2 (Merge pull request #1046 from borisroman/CLOUDSTACK-9044)Branches: CID-1338387, CLOUDSTACK-9023, CWE-190, gson-upgrade, master, daan/CID-1338387, daan/CLOUDSTACK-9023, daan/CWE-190, origin/4.6.0-RC20151110T1545, origin/master

CLOUDSTACK-9044: Add RBD Primary StorageRBD Primary Storage to the Zone Wizard.

Page 12: CloudStack and testing

Possible problem areas

• UI• SystemVM Template• SystemVM ISO• Packaging• Core

New Centos 7 packaging.No war deploy (yet)

Page 13: CloudStack and testing

Possible problem areas

• UI• SystemVM Template• SystemVM ISO• Packaging• Core

Your requirements may be specialOthers may have special objectives

Page 14: CloudStack and testing

mitigation

• DB upgrade tests• Continuous integration

● Jenkins slave● Your own

● Mini cloud● Nested environment

• Review your own and other contributions

Page 15: CloudStack and testing

prevention and solutions

• Use (global settings for customisations)• Get your changes submitted back• Learn Marvin and do continuous integration• Review

Page 16: CloudStack and testing

CI● http://jenkins.buildacloud.org/● https://analysis.apache.org/jenkins/job/cloudstack-master-maven/● https://analysis.apache.org/jenkins/job/cloudstack-master-maven2/● https://analysis.apache.org/dashboard/index/100206● https://builds.apache.org/view/A-D/view/Cloudstack/● http://travis-ci.com● http://jenkins.your.com● jenkins-slave.your.com

Page 17: CloudStack and testing

To doStandard report formatdatamodel for supported-db

Page 18: CloudStack and testing

THREE SLIDE PRESENTATION:

Page 19: CloudStack and testing

????