w00t! Contrats and thanks Ian for pulling that off. On 14-Aug-2014, at 3:42 pm, Ian Duffy <i...@ianduffy.ie> wrote:
> Hi All, > > TL;DR: See https://github.com/imduffy15/Cloudstack-Clone specifically > .travis.yml and tools/travis/* > > Myself, Sebastien and Rohit have been looking at executing Cloudstack's > integration tests against the simulator using http://travis-ci.org. Sorry, I cannot share the credit as I was not the one(s) who pulled this off. Sebastien took the initiative and Ian found the way to pull it off, kudos to both of them for a cheap @$$ BVT infra! > Doing this will enable us to execute the integration tests on all branches > for free. It also means all community forks could make use of the travis-ci > service too. > > > Currently all tests are executing, there appears to be some tests failing > on the simulator specifically: > > test_routers test_secondary_storage test_service_offerings test_ssvm > test_templates test_vm_ha test_vm_life_cycle test_vm_sync test_volumes > test_vpc_vpn > > Running these tests both locally and on travis-ci on the 4.4 branch I'm > seeing failures. Anybody know why? Yeah, they are failing at least the vm_life_cycles ones are definitely failing. Cheers. > > Full console output of test execution available at > https://travis-ci.org/imduffy15/Cloudstack-Clone/builds/32530691 > > For those interested in how all this is working: > > I have a fork of the Cloudstack source on my github: > https://github.com/imduffy15/Cloudstack-Clone > > In the root of this repository you will find a .travis.yml file. This file > executes a few different stages: > > before install: Installs all dependencies and build tools. > install: compiles cloudstack > before_script: starts up cloudstack and deploys the setup/dev/advanced.cfg > script: executes the nosetests > > One limitation with travis-ci is that a job is not allowed to run for > longer than 50mins. > > In order to get around this 3 separate environments are provisioned. They > are described as below: > > Environment 1 runs test_affinity_groups test_deploy_vm > test_deploy_vms_with_varied_deploymentplanners > test_disk_offerings test_global_settings test_guest_vlan_range test_iso > test_multipleips_per_nic > test_network test_non_contigiousvlan > > Environment 2 runs: test_over_provisioning test_portable_publicip > test_primary_storage test_privategw_acl > test_public_ip_range test_pvlan test_regions test_reset_vm_on_reboot > test_resource_detail" > > Environment 3 runs: test_routers test_secondary_storage > test_service_offerings test_ssvm test_templates > test_vm_ha test_vm_life_cycle test_vm_sync test_volumes test_vpc_vpn > > Thanks! > > Ian Regards, Rohit Yadav Software Architect, ShapeBlue M. +41 779015219 | rohit.ya...@shapeblue.com Blog: bhaisaab.org | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.