tests.git
17 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

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

17 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

17 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

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

17 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

17 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.

17 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

17 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

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

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

17 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.

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

17 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.

17 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

17 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

17 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()

17 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

17 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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

17 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

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

17 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

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

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

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

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

17 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

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

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

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

17 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

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

17 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.

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

17 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

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

17 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

17 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

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

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

17 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

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

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

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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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.

17 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

17 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

17 years agotrashed
Thierry Parmentelat [Mon, 31 Mar 2008 09:31:53 +0000 (09:31 +0000)]
trashed

17 years ago2 test boxess for 2 archs
Thierry Parmentelat [Mon, 31 Mar 2008 09:00:32 +0000 (09:00 +0000)]
2 test boxess for 2 archs

17 years agocleaned, with marc's agreement
Thierry Parmentelat [Mon, 31 Mar 2008 06:53:43 +0000 (06:53 +0000)]
cleaned, with marc's agreement

17 years agoclean pid file, it prevents qemu to restart otherwise
Thierry Parmentelat [Fri, 28 Mar 2008 16:04:33 +0000 (16:04 +0000)]
clean pid file, it prevents qemu to restart otherwise

17 years agoimprovements
Thierry Parmentelat [Fri, 28 Mar 2008 16:01:56 +0000 (16:01 +0000)]
improvements

17 years agoset ssh options on the command line
Thierry Parmentelat [Fri, 28 Mar 2008 15:46:37 +0000 (15:46 +0000)]
set ssh options on the command line

17 years agodoes not scratch disk image if already existing
Thierry Parmentelat [Fri, 28 Mar 2008 12:26:15 +0000 (12:26 +0000)]
does not scratch disk image if already existing

17 years agocosmetic
Thierry Parmentelat [Fri, 28 Mar 2008 12:19:28 +0000 (12:19 +0000)]
cosmetic

17 years agochanged timers for nightly mode
Thierry Parmentelat [Fri, 28 Mar 2008 12:13:19 +0000 (12:13 +0000)]
changed timers for nightly mode

17 years agohelper for rewriting some parts of a config - typically for running on another testbox
Thierry Parmentelat [Fri, 28 Mar 2008 12:07:01 +0000 (12:07 +0000)]
helper for rewriting some parts of a config - typically for running on another testbox

17 years agofixed kill_qemus : uses qemu -pidfile for locating pids
Thierry Parmentelat [Fri, 28 Mar 2008 11:05:38 +0000 (11:05 +0000)]
fixed kill_qemus : uses qemu -pidfile for locating pids

17 years agoobsolete stuff for vmplayer
Thierry Parmentelat [Fri, 28 Mar 2008 09:12:45 +0000 (09:12 +0000)]
obsolete stuff for vmplayer

17 years ago*Run qemu with qemu_system_x86-64 without the kqemu module.
Tony Mack [Wed, 26 Mar 2008 18:06:45 +0000 (18:06 +0000)]
*Run qemu with qemu_system_x86-64 without the kqemu module.
*Temporary skip the step check_tcp.
*Temporary use only one node.
*increase the standby time since we  temporary run without the accelerator patch

17 years agofix qemu for x86_64 kernel
Tony Mack [Wed, 26 Mar 2008 13:00:18 +0000 (13:00 +0000)]
fix qemu for x86_64 kernel

17 years agodeleted
Tony Mack [Wed, 26 Mar 2008 00:43:36 +0000 (00:43 +0000)]
deleted

17 years agosupports multiple plcs
Tony Mack [Wed, 26 Mar 2008 00:41:17 +0000 (00:41 +0000)]
supports multiple plcs

17 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:40:44 +0000 (00:40 +0000)]
simplify

17 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:40:31 +0000 (00:40 +0000)]
simplify

17 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:40:19 +0000 (00:40 +0000)]
simplify

17 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:40:07 +0000 (00:40 +0000)]
simplify

17 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:39:51 +0000 (00:39 +0000)]
simplify