cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chip Childers <chip.child...@sungard.com>
Subject Re: [PROPOSAL] BVT for CloudStack checkins
Date Fri, 22 Mar 2013 19:49:40 GMT
On Fri, Mar 22, 2013 at 08:27:44PM +0530, Prasanna Santhanam wrote:
> On Sun, Mar 10, 2013 at 11:39:03AM -0400, Prasanna Santhanam wrote:
> > On Sat, Mar 09, 2013 at 05:01:49AM -0500, prasanna wrote:
> > > On 8 March 2013 22:24, Alex Huang <Alex.Huang@citrix.com> wrote:
> > > >
> > > > I'm going to start off a branch specifically to do BVT on
> > > > simulator and devCloud so that we can at least have system vms/vrs
> > > > and business logic tested.
> > > 
> > > Hey Alex - will you be writing new tests or revamping the simulator in
> > > the bvt branch? On the devcloud side of things I've kept the
> > > devcloud-ci (https://github.com/vogxn/devcloud-ci/commits/master) up
> > > to date with changes reqd for running devcloud workers in a CI
> > > envrionment. I'm looking into the devcloud-kvm infrastructure some of
> > > which I ear marked last week.
> > > 
> > 
> > Alex - After some hours with maven I've now removed the cyclic
> > dependency in the simulator build and it works again. I've pushed my
> > changes to the bvt branch for the further work on the BVT.
> > 
> > Here are the steps to build, run and test the setup of the simulator:
> > $ mvn -Pdeveloper clean install
> > $ mvn -Pdeveloper -pl developer -Ddeploydb
> > $ mvn -Pdeveloper -pl developer -Ddeploydb-simulator
> > $ mvn -pl client jetty:run
> > 
> > To deploy an adv. zone and test the server health:
> > $ mvn -Pdeveloper,marvin -Dmarvin.config=`find . -name simulator.cfg` -pl :cloud-marvin
test
> > 
> 
> Long pending follow up:
> 
> I've been integrating simulator, marvin and maven together to try and
> put together a basic test that does -
> 
> 1. zone deployment
> 2. system VM health check
> 3. deploy VM in the zone
> 
> This work is now on the bvt branch. Since this puts together python
> and maven which don't seem to interact in a friendly way I'd like some
> help testing in other developer environments to fix possible failures.
> 
> The steps for running this integrated test are on the wiki:
> Checkout the bvt branch before proceeding.
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch#Howtobuildonmasterbranch-IntegratedSimulatorMarvintest
>

Awesome!

After running through the steps, I get this error:

  mvn -Pdeveloper,marvin -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test
  ERROR: transport error 202: bind failed: Address already in use
  ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
  JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:741]
  FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
  [1]    28712 abort (core dumped)  mvn -Pdeveloper,marvin -Dmarvin.config=setup/dev/advanced.cfg
-pl  


I think that running the jetty server from mvn may be problematic, if steps
afterward are also going to require maven.  Is there a config to get around this?

Mime
View raw message