Great, glad to know our test infrastructure is becoming more and more powerful now. One question, do you have a simple script or a document, how to setup such kind of test environment? For example, from a fresh new Ubuntu installation, to a workable Jenkins test slave with devcloud environment ready.
> -----Original Message----- > From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of > Prasanna Santhanam > Sent: Tuesday, January 15, 2013 1:31 AM > To: CloudStack Dev > Subject: [CI] Continuous Integration with DevCloud > > I've setup a simple job on the jenkins instance [1] that will monitor the git > repo for commits and run basic tests within devcloud to ensure essential > functionality isn't broken. Once stabilized and trustworthy in its reporting > I'll > move it to builds.a.o post permission from #asfinfra. > > I've put up a wiki page [2] describing how this was done and shared the > appliance for others to reuse and improve. The first improvement should > probably be the run time which is currently at 20m per checkin. > Let the list know if you have any ideas on improving this. > > The code is available via github [3] and I'm happy to move it to CloudStack- > extras so it becomes a central repo for our CI related work. Also, I've begun > playing with devcloud-kvm so we can do the same tests using a similar > appliance for our advanced zone tests. > > Comments, Suggestions and Contributions welcome > > Many thanks to Ahmad Emneina, Edison Su and Rohit Yadav for their ideas > and suggestions. > > [1] http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/ > [2] > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Devcloud+Conti > nuous+Tests > [3] https://github.com/vogxn/devcloud-ci > > Thanks, > > -- > Prasanna., > > On Sun, Jan 13, 2013 at 11:28:25PM -0500, Prasanna Santhanam wrote: > > On Sun, Jan 13, 2013 at 05:34:28PM -0500, Sebastien Goasguen wrote: > > > > > > On Jan 12, 2013, at 10:55 AM, Rohit Yadav <rohit.ya...@citrix.com> > wrote: > > > > > > > On master branch devcloud in basic zone should work, at my end I > > > > make sure at the end of the day to run integration tests once > > > > using DevCloud :) > > > Can you describe how you run the tests with devcloud ? > > > thx > > > > > Once you have the mgmt server and hosts up and running you can run the > > tests with marvin as belows: > > > > $ nosetests --with-marvin --marvin-config=tools/devcloud/devcloud.cfg > > --load -a tags='devcloud' -w test/integration/smoke/ > > > > You'll need marvin and it's nose plugin registered for this. > > > > That will pick up all the tests marked as 'devcloud' runnable. > > http://jenkins.cloudstack.org/view/debug/job/testcloud-master-basic/ > > > > The scripts for the CI are coming from here: > > https://github.com/vogxn/devcloud-ci > > > > I'm setting this up via jenkins CI so we don't have to run it by hand. > > but it's got some weird issue with xcp-xapi not coming up during > > devcloud2 bootup. After that it should be rolling. > > > > > > -- > > Prasanna.,