tests.git
16 years agorotate logfile before booting
Tony Mack [Fri, 18 Apr 2008 21:38:11 +0000 (21:38 +0000)]
rotate logfile before booting

16 years agoadded rotate_logfile()
Tony Mack [Fri, 18 Apr 2008 21:36:15 +0000 (21:36 +0000)]
added rotate_logfile()

16 years ago-fix is_ready(). -Now check if NodeManager has started and vuseradd has stopped
Tony Mack [Fri, 18 Apr 2008 20:55:05 +0000 (20:55 +0000)]
-fix is_ready(). -Now check if NodeManager has started and vuseradd has stopped

16 years agominor fix
Tony Mack [Fri, 18 Apr 2008 16:48:05 +0000 (16:48 +0000)]
minor fix

16 years agominor update
Tony Mack [Fri, 18 Apr 2008 16:04:48 +0000 (16:04 +0000)]
minor update

16 years agofix on the check_slice step, Now NM is doing more things so time between getting...
Tony Mack [Fri, 18 Apr 2008 15:22:10 +0000 (15:22 +0000)]
fix on the check_slice step, Now NM is doing more things so time between getting ssh inside the node and having slice  created is being  more longer

16 years agoupdated/fixed. -log output to node's logfile
Tony Mack [Fri, 18 Apr 2008 00:46:27 +0000 (00:46 +0000)]
updated/fixed. -log output to node's logfile

16 years ago-dont recreate vm's disk image if its already created. -increate some sleeps. -write...
Tony Mack [Fri, 18 Apr 2008 00:45:42 +0000 (00:45 +0000)]
-dont recreate vm's disk image if its already created. -increate some sleeps. -write boot output to node's logfile. -increase vm's disk size

16 years agominor updates
Tony Mack [Fri, 18 Apr 2008 00:38:08 +0000 (00:38 +0000)]
minor updates

16 years ago-added methods to help scp files to / from Remotes
Tony Mack [Fri, 18 Apr 2008 00:37:11 +0000 (00:37 +0000)]
-added methods to help scp files to / from Remotes

16 years ago-change default redir_ssh_port
Tony Mack [Fri, 18 Apr 2008 00:36:24 +0000 (00:36 +0000)]
-change default redir_ssh_port

16 years agoadded 'host_rootkey' to fields
Tony Mack [Fri, 18 Apr 2008 00:34:57 +0000 (00:34 +0000)]
added 'host_rootkey' to fields

16 years ago-added various methods to help execute remote commands. -added is_ready(). -fixes
Tony Mack [Fri, 18 Apr 2008 00:33:01 +0000 (00:33 +0000)]
-added various methods to help execute remote commands. -added is_ready().  -fixes

16 years agoadd date to log's filename by default
Tony Mack [Fri, 18 Apr 2008 00:29:40 +0000 (00:29 +0000)]
add date to log's filename by default

16 years agoinit node's logfile before returning it in get_node()
Tony Mack [Fri, 18 Apr 2008 00:29:02 +0000 (00:29 +0000)]
init node's logfile before returning it in get_node()

16 years agominor update/fixes
Tony Mack [Fri, 18 Apr 2008 00:27:33 +0000 (00:27 +0000)]
minor update/fixes

16 years agoincrease the disk space due to the MINIMUM_DISK_SIZE requirement
Thierry Parmentelat [Wed, 16 Apr 2008 11:13:20 +0000 (11:13 +0000)]
increase the disk space due to the MINIMUM_DISK_SIZE requirement

16 years agoincrease delay for the nodes_ssh step
Thierry Parmentelat [Fri, 11 Apr 2008 08:31:01 +0000 (08:31 +0000)]
increase delay for the nodes_ssh step

16 years agominor fixes
Thierry Parmentelat [Thu, 10 Apr 2008 17:14:31 +0000 (17:14 +0000)]
minor fixes

16 years ago-fixed logic for executing commands on nodes booted with qemu. Added ssh '-q' option...
Tony Mack [Wed, 9 Apr 2008 22:11:16 +0000 (22:11 +0000)]
-fixed logic for executing commands on nodes booted with qemu. Added ssh '-q' option. - Added 'host_rootkey'to Node.fields

16 years agoadded 'key' to 'fields'
Tony Mack [Wed, 9 Apr 2008 22:08:55 +0000 (22:08 +0000)]
added 'key' to 'fields'

16 years agosupport commandline arguments. check if vserver exists before trying create it
Tony Mack [Wed, 9 Apr 2008 15:12:23 +0000 (15:12 +0000)]
support commandline arguments. check if vserver exists before trying create it

16 years agoAdd deleteNode api method
Thierry Parmentelat [Wed, 9 Apr 2008 11:55:20 +0000 (11:55 +0000)]
Add deleteNode api method

16 years agocosmetic - more readable names for testlogs
Thierry Parmentelat [Tue, 8 Apr 2008 20:08:08 +0000 (20:08 +0000)]
cosmetic - more readable names for testlogs

16 years agono longer neede. functionality moved to boot_node.py
Tony Mack [Tue, 8 Apr 2008 18:41:26 +0000 (18:41 +0000)]
no longer neede. functionality moved to boot_node.py

16 years agomoved to node directory
Tony Mack [Tue, 8 Apr 2008 18:39:24 +0000 (18:39 +0000)]
moved to node directory

16 years ago-fix booting remote virtual node. - increased virtual disk and memory size. -redirect...
Tony Mack [Tue, 8 Apr 2008 18:37:33 +0000 (18:37 +0000)]
-fix booting remote virtual node. - increased virtual disk and memory size. -redirect boot console output to logfile and execute boot command in background. -kill other qemu processes associated with node before attempting to boot

16 years agoupdated 'plc' check to 'plcs' check.
Tony Mack [Tue, 8 Apr 2008 18:33:59 +0000 (18:33 +0000)]
updated 'plc' check to 'plcs' check.

16 years agochanged call parameters. Accept a dict of config options rather than single config...
Tony Mack [Tue, 8 Apr 2008 18:32:21 +0000 (18:32 +0000)]
changed call parameters. Accept a dict of config options rather than single config option/value pair

16 years ago-m removed plc.start_xmlrpc_server call
Tony Mack [Tue, 8 Apr 2008 18:29:58 +0000 (18:29 +0000)]
-m removed plc.start_xmlrpc_server call

16 years ago-added verbose output
Tony Mack [Tue, 8 Apr 2008 18:26:47 +0000 (18:26 +0000)]
-added verbose output

16 years agoupdated config
Tony Mack [Tue, 8 Apr 2008 18:25:26 +0000 (18:25 +0000)]
updated config

16 years ago-removed start_xmlrpc_server() method.
Tony Mack [Tue, 8 Apr 2008 18:18:08 +0000 (18:18 +0000)]
-removed start_xmlrpc_server() method.

16 years ago-added get_path() method
Tony Mack [Tue, 8 Apr 2008 18:15:57 +0000 (18:15 +0000)]
-added get_path() method

16 years agomodify header() to make logging output optional.
Tony Mack [Tue, 8 Apr 2008 18:15:08 +0000 (18:15 +0000)]
modify header() to make logging output optional.

16 years agochanged 'plc' attribute to plural 'plcs'. Some object may belong to more than 1 plc
Tony Mack [Tue, 8 Apr 2008 18:13:32 +0000 (18:13 +0000)]
changed 'plc' attribute to plural 'plcs'. Some object may belong to more than 1 plc

16 years agomove logfile to /var/log/ for now
Tony Mack [Tue, 8 Apr 2008 18:10:50 +0000 (18:10 +0000)]
move logfile to /var/log/ for now

16 years agocall update_api() on plc before returning it in get_plc()
Tony Mack [Tue, 8 Apr 2008 18:10:14 +0000 (18:10 +0000)]
call update_api() on plc before returning it in get_plc()

16 years agoremove (some) dependencies on open fd's - give up using tee - make sure that runtest...
Thierry Parmentelat [Tue, 8 Apr 2008 17:24:18 +0000 (17:24 +0000)]
remove (some) dependencies on open fd's - give up using tee - make sure that runtest returns

16 years agofix for when a test involving remote qemu boxes is run twice
Thierry Parmentelat [Tue, 8 Apr 2008 15:25:50 +0000 (15:25 +0000)]
fix for when a test involving remote qemu boxes is run twice

16 years agofix check_tcp - display iptables before running qemu - get test specs in build summary
Thierry Parmentelat [Tue, 8 Apr 2008 14:46:23 +0000 (14:46 +0000)]
fix check_tcp - display iptables before running qemu - get test specs in build summary

16 years agothis needs to be executable
Thierry Parmentelat [Tue, 8 Apr 2008 12:49:43 +0000 (12:49 +0000)]
this needs to be executable

16 years agotoo fast, not saved
Thierry Parmentelat [Tue, 8 Apr 2008 12:40:05 +0000 (12:40 +0000)]
too fast, not saved

16 years agooops, this needs to move as well
Thierry Parmentelat [Tue, 8 Apr 2008 12:32:21 +0000 (12:32 +0000)]
oops, this needs to move as well

16 years agomove steps definition where it belongs
Thierry Parmentelat [Tue, 8 Apr 2008 12:29:44 +0000 (12:29 +0000)]
move steps definition where it belongs

16 years agostart_node needs to return True
Thierry Parmentelat [Tue, 8 Apr 2008 12:20:39 +0000 (12:20 +0000)]
start_node needs to return True

16 years agoopen up traffic to qemu nodes + miscell
Thierry Parmentelat [Tue, 8 Apr 2008 12:02:32 +0000 (12:02 +0000)]
open up traffic to qemu nodes + miscell

16 years agoquick fix for qemu start/stop on remote testboxes
Thierry Parmentelat [Mon, 7 Apr 2008 21:10:54 +0000 (21:10 +0000)]
quick fix for qemu start/stop on remote testboxes

16 years agocleanup
Thierry Parmentelat [Mon, 7 Apr 2008 09:16:11 +0000 (09:16 +0000)]
cleanup

16 years agoclears known_hosts for test nodes
Thierry Parmentelat [Mon, 7 Apr 2008 08:52:17 +0000 (08:52 +0000)]
clears known_hosts for test nodes

16 years agofix typo
Thierry Parmentelat [Mon, 7 Apr 2008 08:07:36 +0000 (08:07 +0000)]
fix typo

16 years agopass sh options to scp as well
Thierry Parmentelat [Sun, 6 Apr 2008 10:21:00 +0000 (10:21 +0000)]
pass sh options to scp as well

16 years agotrying without shutting down firewall
Thierry Parmentelat [Sat, 5 Apr 2008 08:51:24 +0000 (08:51 +0000)]
trying without shutting down firewall

16 years agocorrect retcod - was always returning OK because of the tee thing
Thierry Parmentelat [Sat, 5 Apr 2008 08:27:29 +0000 (08:27 +0000)]
correct retcod - was always returning OK because of the tee thing

16 years agofix
Thierry Parmentelat [Fri, 4 Apr 2008 14:56:25 +0000 (14:56 +0000)]
fix

16 years agofix
Thierry Parmentelat [Fri, 4 Apr 2008 13:49:23 +0000 (13:49 +0000)]
fix

16 years agofix
Thierry Parmentelat [Fri, 4 Apr 2008 13:43:51 +0000 (13:43 +0000)]
fix

16 years agonew way to get called
Thierry Parmentelat [Fri, 4 Apr 2008 13:30:01 +0000 (13:30 +0000)]
new way to get called

16 years agoruntest is now a shell script
Thierry Parmentelat [Fri, 4 Apr 2008 13:19:24 +0000 (13:19 +0000)]
runtest is now a shell script

16 years agoreplacing runtest for logging output
Thierry Parmentelat [Fri, 4 Apr 2008 13:18:59 +0000 (13:18 +0000)]
replacing runtest for logging output

16 years agofixes
Thierry Parmentelat [Fri, 4 Apr 2008 13:11:33 +0000 (13:11 +0000)]
fixes

16 years agoanother round of rework
Thierry Parmentelat [Fri, 4 Apr 2008 12:42:54 +0000 (12:42 +0000)]
another round of rework

16 years agouse different methods for interacting with host machine virtual nodes are on
Tony Mack [Wed, 2 Apr 2008 23:09:29 +0000 (23:09 +0000)]
use different methods for interacting with host machine virtual nodes are on

16 years agofix errors
Tony Mack [Wed, 2 Apr 2008 23:08:21 +0000 (23:08 +0000)]
fix errors

16 years agomove some logic out of get_remote_command to more general call get_command.
Tony Mack [Wed, 2 Apr 2008 23:06:01 +0000 (23:06 +0000)]
move some logic out of get_remote_command to more general call get_command.

16 years agomove verbose check here
Tony Mack [Wed, 2 Apr 2008 23:03:48 +0000 (23:03 +0000)]
move verbose check here

16 years agoadded methods for interacting with host machine
Tony Mack [Wed, 2 Apr 2008 23:03:08 +0000 (23:03 +0000)]
added methods for interacting with host machine

16 years agoupdate api server settings
Tony Mack [Wed, 2 Apr 2008 23:02:31 +0000 (23:02 +0000)]
update api server settings

16 years agovarious changes all over the place
Thierry Parmentelat [Wed, 2 Apr 2008 19:27:42 +0000 (19:27 +0000)]
various changes all over the place

16 years agoget the right hostname for cleaning the known_hosts file
Thierry Parmentelat [Wed, 2 Apr 2008 08:57:20 +0000 (08:57 +0000)]
get the right hostname for cleaning the known_hosts file
scan the public keys from the right hostname and not from *nodename

16 years agorenumbering fake mac addresses
Thierry Parmentelat [Wed, 2 Apr 2008 06:44:04 +0000 (06:44 +0000)]
renumbering fake mac addresses

16 years agoforcing small test for now
Thierry Parmentelat [Wed, 2 Apr 2008 06:33:27 +0000 (06:33 +0000)]
forcing small test for now

16 years agoattempt to avoid remote qemus from hanging
Thierry Parmentelat [Wed, 2 Apr 2008 06:31:27 +0000 (06:31 +0000)]
attempt to avoid remote qemus from hanging

16 years agono longer needed
Tony Mack [Wed, 2 Apr 2008 01:38:43 +0000 (01:38 +0000)]
no longer needed

16 years agoupdated node configuration
Tony Mack [Wed, 2 Apr 2008 01:36:44 +0000 (01:36 +0000)]
updated node configuration

16 years agoadded qemu option '-redir'
Tony Mack [Wed, 2 Apr 2008 01:31:21 +0000 (01:31 +0000)]
added qemu option '-redir'

16 years agoadded 'redir_port' attribute
Tony Mack [Wed, 2 Apr 2008 01:30:25 +0000 (01:30 +0000)]
added 'redir_port' attribute

16 years agofix slice checking
Thierry Parmentelat [Tue, 1 Apr 2008 21:00:58 +0000 (21:00 +0000)]
fix slice checking

16 years agoremote chroot-myplc and remote qemu testbox should almost work
Thierry Parmentelat [Tue, 1 Apr 2008 15:57:00 +0000 (15:57 +0000)]
remote chroot-myplc and remote qemu testbox should almost work

16 years agooops rename the qemu conf file
Thierry Parmentelat [Tue, 1 Apr 2008 15:55:14 +0000 (15:55 +0000)]
oops rename the qemu conf file

16 years agopass the MAC address varaible to the qemu run command
Thierry Parmentelat [Tue, 1 Apr 2008 15:33:17 +0000 (15:33 +0000)]
pass the MAC address varaible to the qemu  run command
increase the RAM size to 1G

16 years agopass the MAC address and the HOSTNAME to the qemu conf file
Thierry Parmentelat [Tue, 1 Apr 2008 15:28:28 +0000 (15:28 +0000)]
pass the MAC address and the HOSTNAME to the qemu conf file
rename the qemu conf file to qemu.conf

16 years agoenable the use of mac address for vnodes
Thierry Parmentelat [Tue, 1 Apr 2008 15:26:19 +0000 (15:26 +0000)]
enable the use of mac address for vnodes

16 years ago-i option for setting IPs applies to nodes as well as plcs
Thierry Parmentelat [Tue, 1 Apr 2008 13:55:56 +0000 (13:55 +0000)]
-i option for setting IPs applies to nodes as well as plcs

16 years agoother fixes needed for remapped hostnames
Thierry Parmentelat [Tue, 1 Apr 2008 08:53:41 +0000 (08:53 +0000)]
other fixes needed for remapped hostnames

16 years agoRestore check_tcp step
Tony Mack [Tue, 1 Apr 2008 07:41:45 +0000 (07:41 +0000)]
Restore check_tcp step

16 years agomust remember test data is stored in dicts now, not lists. use .values() to get list...
Tony Mack [Tue, 1 Apr 2008 00:32:20 +0000 (00:32 +0000)]
must remember test data is stored in dicts now, not lists. use .values() to get list from dict

16 years agofix errors
Tony Mack [Mon, 31 Mar 2008 23:37:34 +0000 (23:37 +0000)]
fix errors

16 years agoupdate remote_command() to check if hostname from config file matchs the hostname...
Tony Mack [Mon, 31 Mar 2008 20:39:03 +0000 (20:39 +0000)]
update remote_command() to check if hostname from config file matchs the hostname of the machine we are running on when constructing the remote command

16 years agofix mapper logic
Thierry Parmentelat [Mon, 31 Mar 2008 19:49:25 +0000 (19:49 +0000)]
fix mapper logic

16 years agoremoved to eliminate naming conflict
Tony Mack [Mon, 31 Mar 2008 16:47:49 +0000 (16:47 +0000)]
removed to eliminate naming conflict

16 years agouse qa_config.py instead of config.py
Tony Mack [Mon, 31 Mar 2008 16:46:05 +0000 (16:46 +0000)]
use qa_config.py instead of config.py

16 years agorename config.py to qa_config.py to eliminate naming conflict
Tony Mack [Mon, 31 Mar 2008 16:44:57 +0000 (16:44 +0000)]
rename config.py to qa_config.py to eliminate naming conflict

16 years agosmarter way to write configs, provide structure and map to avail. resources (testboxe...
Thierry Parmentelat [Mon, 31 Mar 2008 15:47:40 +0000 (15:47 +0000)]
smarter way to write configs, provide structure and map to avail. resources (testboxes, ips, ..) later on

16 years agofix image name as it actually is 5G large
Thierry Parmentelat [Mon, 31 Mar 2008 15:08:44 +0000 (15:08 +0000)]
fix image name as it actually is 5G large

16 years agoAllows to set spec fields at arbitrary depth
Thierry Parmentelat [Mon, 31 Mar 2008 12:23:03 +0000 (12:23 +0000)]
Allows to set spec fields at arbitrary depth

16 years agono need for grace time, we wait beforehand anyway
Thierry Parmentelat [Mon, 31 Mar 2008 12:20:47 +0000 (12:20 +0000)]
no need for grace time, we wait beforehand anyway

16 years agoMoving to vnode0* in static network configuration,giving up with dhcp config not...
Thierry Parmentelat [Mon, 31 Mar 2008 10:23:06 +0000 (10:23 +0000)]
Moving to vnode0* in static network configuration,giving up with dhcp config not really useful.

16 years agono need any more for node's MAC address
Thierry Parmentelat [Mon, 31 Mar 2008 10:17:17 +0000 (10:17 +0000)]
no need any more for node's MAC address

16 years agousing the qcow2 format file for the hda image disk
Thierry Parmentelat [Mon, 31 Mar 2008 10:16:22 +0000 (10:16 +0000)]
using the qcow2 format file for the hda image disk
rework the qemu run command no need any more for the mac address