[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] xen-api build and test environment


  • To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxx>
  • Date: Wed, 16 Apr 2014 14:38:00 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Apr 2014 14:38:24 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHPWV8Bt8UcEkIwwEqNWYz9DUMAWZsULqYA
  • Thread-topic: [Xen-API] xen-api build and test environment

Hi Edwin,

On 16 Apr 2014, at 11:36, Zhai, Edwin <edwin.zhai@xxxxxxxxx> wrote:

> All,
> We are trying to add some new feature in xen-api and test in openstack 
> environment. But build xen-api accroding to README.markdown at 
> https://github.com/xapi-project/xen-api.git on ubuntu 12.04 always failed. 
> There are dependences not in documents, like blktap-dev, and also some basic 
> build failure, like obuild.
> 
> Just curious how xen-api developer do the build? Build it stand-alone, or 
> with xenserver? Do you have frequent fresh build test?

For components like ‘xenopsd’, ‘xcp-networkd’ etc I prefer to install all the 
dependencies in CentOS (or Debian) via xenserver-core[1]. I can then clone the 
repo and build the binaries.

For ‘xapi’ itself the xenserver-core .spec file references a branch with a 
couple of build fixes in it. These need to be tidied up and merged to master— 
Bob Ball (cc:d) and I are trying to sort this out.

I think we should try to create a ‘vagrant box’ configuration to help people 
set this up — what do you think?

> Another question is how you do the test? Do you have some simple unit test 
> tools to verify API function, or you test it in XCP environment?

For ‘xapi’, there are a few unit tests which run as part of the build. There’s 
also a program called ‘quicktest’ (in the xen-api repo) which can install VMs, 
suspend/resume, migrate etc. After that we normally run system tests via 
xenrt[2]

> Do you have plan do do some test in openstack environment? You know, libvirt 
> in openstack doesn't support xen well.

I think xapi is tested as part of the XenServer openstack CI[3]

HTH,
Dave
[1] https://github.com/xenserver/xenserver-core
[2] 
http://www.xenserver.org/discuss-virtualization/virtualization-blog/entry/introducing-open-source-xenrt.html
[3] https://wiki.openstack.org/wiki/XenServer/XenServer_CI

> 
> 
> Best Rgds,
> Edwin
> 
> _______________________________________________
> Xen-api mailing list
> Xen-api@xxxxxxxxxxxxx
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.