Download - CloudStack and testing
![Page 1: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/1.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/2.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/3.jpg)
We'll fix it for you!No we won't!
![Page 4: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/4.jpg)
We'll fix it for you!No we won't!Citrix mightOr ShapeBlueOr me (too expensive)
![Page 5: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/5.jpg)
#cloudstackworksWhy?
Because of Careful design Good development process Function point analysis Unit testing Component testing Integration testing Functional tests
![Page 6: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/6.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/7.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/8.jpg)
What is Leaseweb
![Page 9: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/9.jpg)
![Page 10: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/10.jpg)
Possible problem areas
• UI• SystemVM Template• SystemVM ISO• Packaging• Core• Your favorite plugin• ...
![Page 11: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/11.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/12.jpg)
Possible problem areas
• UI• SystemVM Template• SystemVM ISO• Packaging• Core
New Centos 7 packaging.No war deploy (yet)
![Page 13: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/13.jpg)
Possible problem areas
• UI• SystemVM Template• SystemVM ISO• Packaging• Core
Your requirements may be specialOthers may have special objectives
![Page 14: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/14.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/15.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/16.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/17.jpg)
To doStandard report formatdatamodel for supported-db
![Page 18: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/18.jpg)
THREE SLIDE PRESENTATION:
![Page 19: CloudStack and testing](https://reader031.vdocuments.us/reader031/viewer/2022022202/587d546a1a28abee158b54df/html5/thumbnails/19.jpg)
????