Commit graph

964 commits

Author SHA1 Message Date
Tiago Ilieve
f210bfc132 Add nose-cov dependency to tox integration tests 2015-04-16 22:22:49 +02:00
Anders Ingemann
5a46a0b1ab Yup, same goes for bytes.py.... 2015-04-16 22:22:49 +02:00
Anders Ingemann
f397ba5f08 Yeah... 94bd938 really wasn't very smart
Next time I should probably try to run tox after doing any kind of rename like this :-)
2015-04-16 22:22:49 +02:00
Anders Ingemann
a2cf28b054 Revert 03efa0f (#210)
It seems the bug was only present on my old dev bootstrapping machine

This reverts commit 03efa0ffdf1ee0d3cf81905e6e4d9f5f6aa62143.
2015-04-16 22:22:49 +02:00
Anders Ingemann
f1e4d34eb9 Fix error mentioned in #152 (Pyro4 shouldn't be a dependency) 2015-04-16 22:22:49 +02:00
Anders Ingemann
d9adb293eb Simplify enhanced networking check 2015-04-16 22:22:48 +02:00
Anders Ingemann
3c17c756a1 Fix typo in docs 2015-04-16 22:22:48 +02:00
Anders Ingemann
c4637af0cf Integration testing for S3 backed PVM instances 2015-04-16 22:22:48 +02:00
Anders Ingemann
d81ac0972f Simpler checks for manifest support 2015-04-16 22:22:48 +02:00
Anders Ingemann
a4bd52bf9e Check for termination string in ec2 tests
Pretty much copy&paste from vbox
2015-04-16 22:22:48 +02:00
Anders Ingemann
bfe58dd4a8 Implement PR #201 by @jszwedko 2015-04-16 22:22:48 +02:00
Anders Ingemann
53c9eb572e Support testing of EC2 S3 backed instances 2015-04-16 22:22:48 +02:00
Anders Ingemann
6726df1c91 Simplify test harness architecture
by reducing the amount of interfacing between generic and provider specific code
2015-04-16 22:22:48 +02:00
Anders Ingemann
287c5441ce All ebs backed hvm image combinations are now working! 2015-04-16 22:22:48 +02:00
Anders Ingemann
0b49943383 Add some logging to the test harness 2015-04-16 22:22:48 +02:00
Anders Ingemann
3c5d385a69 Fix grub boot on ec2 hvm jessie 2015-04-16 22:22:48 +02:00
Anders Ingemann
f4851ac06d fix typo in comment 2015-04-16 22:22:48 +02:00
Anders Ingemann
9101b2e9ec Add a little helpful not to tasklist ordering warning 2015-04-16 22:22:47 +02:00
Anders Ingemann
caf5d6af15 Add salt dependencies in the right phase 2015-04-16 22:22:47 +02:00
Anders Ingemann
9ad79cbf60 Remove some unnecessary dependencies across phases 2015-04-16 22:22:47 +02:00
Anders Ingemann
97ad69df5e extlinux now works with gpt on hvm instances 2015-04-16 22:22:47 +02:00
Anders Ingemann
50297d790c Fix problem with 1 MiB too large volume when combining gpt and grub 2015-04-16 22:22:47 +02:00
Anders Ingemann
736852a959 Enable grub for hvm AMIs 2015-04-16 22:22:47 +02:00
Anders Ingemann
411578a498 *Always* use link_dm_node() when install grub 1.99
Grub install fails when in a chrooted environment,
it has nothing to do with the volume being a loopback volume
2015-04-16 22:22:47 +02:00
Anders Ingemann
8364f824b0 Fix typo 2015-04-16 22:22:47 +02:00
Anders Ingemann
4ad1d51624 Take @ssgelm's advice in #155 and copy the mount table
df warnings no more :-)
2015-04-16 22:22:47 +02:00
Anders Ingemann
80ac206fb4 Issue warning when specifying pre/successors across phases 2015-04-16 22:22:47 +02:00
Anders Ingemann
b582bac853 Generally deny installing grub on squeeze 2015-04-16 22:22:47 +02:00
Anders Ingemann
b843cbe089 Remove skipped tests that test functionality that'll probably never be implemented 2015-04-16 22:22:47 +02:00
Anders Ingemann
e47d67bc4f Launch ec2 test instances inside a VPC 2015-04-16 22:22:46 +02:00
Anders Ingemann
7f4d46a330 Fix serialization error when ManifestException is thrown
("__init__() takes at least 3 arguments (2 given)")
2015-04-16 22:22:46 +02:00
Anders Ingemann
c18e8800b5 Simplify ebs_pvm test suite 2015-04-16 22:22:46 +02:00
Anders Ingemann
59f19fe164 Rename ec2 testsuite to ec2_ebs_pvm 2015-04-16 22:22:46 +02:00
Anders Ingemann
29fd2d928a Add tests for all ebs 64 bit pvgrub booted instances 2015-04-16 22:22:46 +02:00
Anders Ingemann
0c20acce11 Fix positional argument handling in tox
It's now possible to pass a single test through tox to nosetest
2015-04-16 22:22:46 +02:00
Anders Ingemann
694f46923b Fix snapshot deletion on AMI testing cleanup 2015-04-16 22:22:26 +02:00
Anders Ingemann
e9736f58a8 Add _stable to vbox test names, that test Debian stable 2015-04-16 22:22:26 +02:00
Anders Ingemann
b33577a023 Remove ec2 default instance type 2015-04-16 22:22:26 +02:00
Anders Ingemann
07e4c97c09 Fix PEP8 nitpick 2015-04-16 22:22:26 +02:00
Anders Ingemann
a3fdeddd79 Rename virtualbox_tests.py to be less tautological 2015-04-16 22:21:46 +02:00
Anders Ingemann
25051d4c04 Improve __getstate__ for bootstrapinfo
This approach may be a little hacked, but it works for now and
if it breaks at some point in the future because of e.g. circular references
that bridge will have to be crossed then
2015-04-16 22:21:46 +02:00
Anders Ingemann
51bb3dd57f Integration testing for EC2 2015-04-16 22:21:46 +02:00
Anders Ingemann
ec96de3a0e fix log_call logging when command is a string 2015-04-16 22:21:46 +02:00
Anders Ingemann
d26ba8bea4 Simplify exception throwing in sed_i 2015-04-16 22:21:46 +02:00
Anders Ingemann
f63d3c73aa Use subn to count the actual replacements done in inline_replace() 2015-04-16 22:21:46 +02:00
Anders Ingemann
e035f83edf Fix problem when (de-)serializing bootstrapinfo twice 2015-04-16 22:21:46 +02:00
Anders Ingemann
3c642e0b02 Fix serialization of DictClass
using it in Queue.put somehow broke it
2015-04-16 22:21:46 +02:00
Anders Ingemann
51e9e29b24 Move server control code to the top 2015-04-16 22:21:46 +02:00
Anders Ingemann
4582ea1498 Better termination when exiting while connecting to the RPC daemon 2015-04-16 22:21:46 +02:00
Anders Ingemann
9505110d4a *first* start the callback server *then* the RPC daemon
This way we don't stop logging before the daemon is shut down.
2015-04-16 22:21:46 +02:00