Bob Lantz
635e8f11f3
Add -q option to apt-get for quieter logging
2014-11-10 19:37:11 -08:00
Bob Lantz
abcdf18547
Uninstall ntpd to disable it more reliably
2014-11-10 14:09:35 -08:00
Bob Lantz
060d46a282
Set VM date based on host date.
...
This should fix #398 for real; note that if we try to shut down ntpd
right at boot, it doesn't work! ;-(
However, setting the Unix time in the traditional manner using seconds
since 1970 should do the trick!
2014-11-05 16:18:13 -08:00
Bob Lantz
6159e923e6
Add VM port forwarding option: --forward tcp:2222:22
2014-10-09 14:30:09 -07:00
Bob Lantz
629e58ca5b
Add 'use' test for using VM interactively
2014-10-02 18:45:54 -07:00
Bob Lantz
d6da13d4e3
ntpd doesn't take a server argument
2014-10-01 17:32:15 -07:00
Bob Lantz
92a4f2ddbf
Try using ntpd since ntpdate doesn't always work
2014-10-01 17:29:04 -07:00
Bob Lantz
ded25a9ef8
disableNtpd: wait 1 second and print out date just to be sure
2014-10-01 14:42:43 -07:00
Bob Lantz
1bae1aab03
Turn of ntpd and set date manually before tests
...
This should fix the problem where we see the first test
taking negative time, as well as possibly other issues
with performance tests which may be sensitive to changes
in wall clock time.
Fixes #398
2014-10-01 14:20:59 -07:00
Bob Lantz
dedb06b2f5
Wait for crlf after OK/FAILED for better -v output
2014-09-25 18:43:07 -07:00
Bob Lantz
61760eabc5
Make sure we 'sudo kill' our sudo pexpect process in close().
...
This should more reliably shut down pexpect subprocesses when
build.py exits before completion.
2014-09-24 11:57:46 -07:00
Bob Lantz
0333d3dbf4
qcow2size(): use qemu-image instead of file
...
file no longer returns image size on 14.04
fixes #373
2014-09-04 21:51:21 -07:00
Bob Lantz
f2458d1dcf
Accept 'ISO' or 'boot' in file *.iso command output
...
Fixes #372
2014-09-04 06:50:54 -07:00
Brian O'Connor
1285fb22dc
updaing build.py to use 12.04.5 and extract kernel using noload
2014-08-14 15:38:31 -07:00
Bob Lantz
2935000485
Add utopic/Ubuntu 14.10
2014-07-15 04:32:52 -07:00
Brian O'Connor
e49c9d2600
build.py: making ovf generation more generic
2014-06-06 21:21:13 -07:00
Brian O'Connor
8b215af818
slight refactoring of util/vm/build.py to make it more extensible
2014-05-28 22:22:20 -07:00
Bob Lantz
c3bf407adf
Added Ubuntu 14.04.
2014-04-23 14:28:09 -07:00
Bob Lantz
2286ef4b36
Remove GRUB_TERMINAL=serial from /etc/default/grub
...
This is added because we install Ubuntu from a serial console.
Fixes #265
2014-01-24 15:44:49 -08:00
Bob Lantz
dfd79bde56
Add OperatingSystemSection to OVF template
...
should facilitate importing 64-bit image
2014-01-15 10:47:06 -08:00
Bob Lantz
317d6482e4
Fix typo/minor error.
2014-01-14 20:26:40 -08:00
Bob Lantz
5f51abd142
Allow -b to specify install or test branch
2014-01-14 20:08:22 -08:00
Bob Lantz
b9288efc4a
Allow specification of branch to install
2014-01-14 19:42:55 -08:00
Bob Lantz
c90fb34d6d
If specified, add Branch to build dir name
2014-01-13 23:35:15 -08:00
Bob Lantz
75abd94bf5
Add #streamOptimized to fix .ovf for VirtualBox 4.3.2
...
fixes #261
2014-01-10 18:07:08 -08:00
Bob Lantz
55e48112f8
Remove trailing spaces
2014-01-10 18:06:29 -08:00
Brian O'Connor
fb51cdaca3
adding output file to build.py
2013-12-12 18:38:20 -08:00
Brian O'Connor
49994c8915
adding noneTest to Mininet vm build script
2013-12-12 15:38:45 -08:00
Bob Lantz
5da9376222
Depend: add dnsmasq (needed), remove landscape-client (not)
2013-11-20 22:15:26 -08:00
Bob Lantz
3151804cf8
Add option to set pexpect timeout
2013-09-19 02:02:03 -07:00
Bob Lantz
700c5bf5b5
Add date to ovf name
2013-09-18 21:39:09 -07:00
Bob Lantz
568f6424e5
Add --memory option for VM memory size (for large tests)
2013-09-18 18:49:21 -07:00
Bob Lantz
e0b50c8a70
Fix var name change
2013-09-18 00:04:20 -07:00
Bob Lantz
0294f5ec55
Add options to run commands before or after tests
2013-09-18 00:03:16 -07:00
Bob Lantz
f59858543c
Fix walkthrough test path
2013-09-18 12:44:54 -07:00
Bob Lantz
4ccfe242e8
Remove extra expect (paste error) that broke bootAndRunTests()
2013-09-17 18:02:06 -07:00
Bob Lantz
2ca1ea92ff
Clarify log message
2013-09-17 15:56:09 -07:00
Bob Lantz
8f546d89b4
Backing out attempt to identify kernel binary format
2013-09-17 15:40:52 -07:00
Bob Lantz
6d3cb5bcd3
Add arch to vm name, and check kernel for boot arch
2013-09-17 14:50:41 -07:00
Bob Lantz
b7548e68a8
Add walkthrough test and log build exceptions
2013-09-16 11:22:26 -07:00
Bob Lantz
2f3e8c2bd3
Log failed test output.
2013-09-16 11:06:12 -07:00
Bob Lantz
fce7f5c56b
Add --zip option to archive VM.
2013-09-16 07:45:32 -07:00
Bob Lantz
4e242e9211
Add -v so that we can see exampletest results
2013-09-12 14:14:55 -07:00
Bob Lantz
7bd9a79b12
Add --test {test} and --branch {branch} options, and exampletest
2013-09-11 22:59:50 -07:00
Bob Lantz
501a164eba
Added --test option to boot and test a VM
2013-09-11 12:00:17 -07:00
Bob Lantz
9e725cb28a
Add 'mininet' prefix to output files
2013-09-11 12:00:17 -07:00
Bob Lantz
e02cdc0c54
XML file cannot begin with a newline :(
2013-09-11 12:00:17 -07:00
Bob Lantz
0038720c01
Add generateOVF to finally create the OVF descriptor file!
2013-09-11 12:00:17 -07:00
Bob Lantz
d4279559fa
Add options; generate virtimage file (in progress)
2013-09-11 12:00:17 -07:00
Bob Lantz
d82e0ef5c2
Add mtools to dependencies
2013-09-11 12:00:17 -07:00