Commit graph

88 commits

Author SHA1 Message Date
Anders Ingemann
71c7d445ad Fix #217, by introducing class for comparison of releases 2015-04-29 21:38:06 +02:00
Anders Ingemann
40f66d48cc Don't test sectors with unimplemented abs() 2015-04-29 20:46:37 +02:00
Anders Ingemann
a34423c1a1 Rename sectors tests so it is actually run 2015-04-29 20:38:03 +02:00
Anders Ingemann
ad8d817c52 Add missing hashmark to link 2015-04-22 08:53:59 +02:00
Anders Ingemann
84de1de00f Docs for integration testing 2015-04-20 16:26:05 +02:00
Anders Ingemann
7a1187c639 Simplify virtualbox test manifest composition 2015-04-20 16:25:35 +02:00
Anders Ingemann
5942c665bc Fix some indentation and links 2015-04-20 13:04:17 +02:00
Anders Ingemann
d496c028cd Document the remote bootstrapping procedure 2015-04-19 19:28:13 +02:00
Anders Ingemann
01f5a2db04 Add structure for testing docs 2015-04-16 23:30:41 +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
c4637af0cf Integration testing for S3 backed PVM instances 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
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
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
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
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
a3fdeddd79 Rename virtualbox_tests.py to be less tautological 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
b067ada15e Introduce some awesome signal handling
We can now press Ctrl+C remotely  while any subprocess of the bootstrapping process is running,
previously SIGINTs weren't propagated to the bootstrapping process because there was a thread
in between it all. Now the bootstrapping process is in it's own process group.
2015-04-16 22:21:45 +02:00
Anders Ingemann
5b48ce58c5 Fix lock handling for virtualbox tests 2015-04-16 22:21:45 +02:00
Anders Ingemann
ef37cd257f Move build servers into separate module 2015-04-16 22:21:45 +02:00
Anders Ingemann
f1bfee24a0 Prepare integration testing framework to work with providers other than virtualbox
Also, convert with context handlers in classes to functions with generators
This makes the code a lot more readable
2015-04-16 22:21:45 +02:00
Anders Ingemann
b70e24a848 Switch to using 3 partitions when testing gpt+msdos
Make boot partition a little bigger
2015-04-16 22:21:45 +02:00
Anders Ingemann
d105d10c76 raise proper Skip exception rather than the plugin class 2015-04-16 22:21:44 +02:00
Anders Ingemann
0e19b4c1ed Fix boot detection and extend boot timeout 2015-04-16 22:21:44 +02:00
Anders Ingemann
0f82fbd6af Add some GPT tests 2015-04-16 22:21:44 +02:00
Anders Ingemann
f0402d6a9b Preserve stacktrace when reraising in vbox instance up() 2015-04-16 22:21:44 +02:00
Anders Ingemann
44dcdec0ec No need to skip jessie/extlinux tests any longer 2015-04-16 22:21:43 +02:00
Anders Ingemann
8d8a823092 Properly detect successful boot on jessie 2015-04-16 22:21:43 +02:00
Anders Ingemann
ac7e32d35e Preserve stacktraces when reraising exceptions 2015-04-16 22:21:43 +02:00
Anders Ingemann
767b32d20e Improve read_from_socket, a lot... 2015-04-16 22:21:43 +02:00
Anders Ingemann
7ef88d284d Don't try unlocking the machine before locking it
If it's already locked, that should be an error.
2015-04-16 22:21:43 +02:00
Anders Ingemann
0fe3c9e984 Cleanup adfter keyboard interrupts (also do a better job of cleaning up) 2015-04-16 22:21:42 +02:00
Anders Ingemann
87f2d889b7 Delete image after use, apparently the vbox version of delete is to do nothing 2015-04-16 22:21:42 +02:00
Anders Ingemann
bd4cf250a2 Fix spelling 2015-04-16 22:21:42 +02:00
Anders Ingemann
b537f2d987 Remove __abs__ from bytes and sectors, one should convert to int instead 2015-04-16 22:21:42 +02:00
Anders Ingemann
9a6975ce7d Add new Sectors unit, enhance Bytes unit, add unit tests for both 2015-04-16 22:21:12 +02:00
Anders Ingemann
6ade2a90c2 More verbose image name 2015-04-16 22:21:12 +02:00
Anders Ingemann
ce8dd02cbf Fix dict merge conflict in test_unpartitioned_extlinux_unstable 2015-04-16 22:18:58 +02:00
Anders Ingemann
a241842ef9 Better dict merging (less side-effectful) 2015-04-16 22:18:58 +02:00
Anders Ingemann
81060b2439 5ffbdc4 made no sense, apt_proxy was already a build setting 2015-04-16 22:18:57 +02:00