22 Commits

Author SHA1 Message Date
Rohit Yadav
b011c9bad4 Add missing license headers from recent branch merge 3c429ee
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 11:03:54 +05:30
Leo Simons
9166848482 Stop using rvm 2015-03-16 11:35:35 +01:00
Ian Southam
725c040d5c Added code to configure netusage for vpc and domR devices
Removed code from existing scripts that does the same
Fixed some more issues with CsNetfilter
Added rsync for/etc/iptables in rsync
2015-03-16 11:35:27 +01:00
Ian Southam
7e9a0fac0d Do not update etc or you will bring in a load of files that will have their
configuration overwritten
2015-03-16 11:35:19 +01:00
Sander Botman
fac3bdecd2 Adding the Vagrant configuration that will build xen and db servers. 2015-03-16 11:35:14 +01:00
Leo Simons
6e49675cf5 Have Vagrantfile errors go to STDERR so output is machine-parseable. 2015-03-16 11:35:13 +01:00
Leo Simons
f5e5b74646 Add more nics by default 2015-03-16 11:35:13 +01:00
Leo Simons
712fa9c92c Tests for update_config.py
These are failing on my machine with cloud.log lines like

  2014-08-07 14:34:09,509 Add dev eth2 table Table_eth2 10.0.2.0/24
  2014-08-07 14:34:09,511 Address 10.0.2.106/24 on device eth2 not configured
  2014-08-07 14:34:10,513 Device eth2 cannot be configured - device was not found

I think it's correct that they are failing -- this is work in progress.
2015-03-16 11:35:12 +01:00
Leo Simons
5f87bde909 Set up rsync for systemvm patches.
Note the convenience of 'vagrant rsync-auto'.
2015-03-16 11:35:12 +01:00
Ian Southam
348167db51 This was a good one
Any cd command will cause rvm to override the trap handler in the shell
These means that vagrant_destroy will not get called at the end because in the node function it cds

Run the nose tests in a subshell
2015-03-16 11:35:11 +01:00
Leo Simons
e405e94797 Replace serverspec with nose in systemvm test.sh
Also remove the serverspec-specific files.
2015-03-16 11:35:10 +01:00
Leo Simons
2188d8d633 Pure python tests for systemvm
This approach is instead of serverspec, but filling the same purpose. It's
main advantage is that it uses nose and python, just like the existing
marvin-based integration test suite.
2015-03-16 11:35:09 +01:00
Leo Simons
66b5260c90 Documentation and license headers for new systemvm testing tools. 2015-03-16 11:35:08 +01:00
Leo Simons
731a3bf9c3 Missing gem for vagrant magic 2015-03-16 11:35:08 +01:00
Leo Simons
8fb1deb33e Massively simpler serverspec invocation
Give up on using test-kitchen, busser, and more of its complexity and
simply run serverspec directly, via SSH.
2015-03-16 11:35:07 +01:00
Leo Simons
04ad01a064 Commit missing .kitchen.yml 2015-03-16 11:35:07 +01:00
Leo Simons
58537c76fa Use bundler to exec test-kitchen 2015-03-16 11:35:07 +01:00
Leo Simons
edfa79b770 junit report output for vagrant systemvm tests 2015-03-16 11:35:07 +01:00
Leo Simons
274b746365 A working test-kitchen setup for testing systemvm boxes. 2015-03-16 11:35:06 +01:00
Leo Simons
afd2c21893 Tuning/reformatting/defensible-ing Vagrantfile 2015-03-16 11:35:02 +01:00
Ian Southam
8d9a4be9dd Remove scripts directory no longer necessary 2015-03-16 11:35:01 +01:00
Ian Southam
0e82637807 Vagrant virtualbox based testing suite 2015-03-16 11:35:00 +01:00