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

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

16 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

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

16 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

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

16 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

16 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

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

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

16 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

16 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

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

16 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

16 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

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

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

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

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

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

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

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

16 years agohelper methods for creating/destroying vservers
Tony Mack [Wed, 26 Mar 2008 00:39:27 +0000 (00:39 +0000)]
helper methods for creating/destroying vservers

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

16 years agosimplify
Tony Mack [Wed, 26 Mar 2008 00:35:08 +0000 (00:35 +0000)]
simplify

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

16 years agocopy of vtest-nightly file from build module. will use this to automate creating...
Tony Mack [Wed, 26 Mar 2008 00:33:24 +0000 (00:33 +0000)]
copy of vtest-nightly file from build module. will use this to automate creating vservers on compatible machines

16 years ago-added popen3
Tony Mack [Wed, 26 Mar 2008 00:31:34 +0000 (00:31 +0000)]
-added popen3

16 years ago-added popen3(), verbose output
Tony Mack [Wed, 26 Mar 2008 00:30:29 +0000 (00:30 +0000)]
-added popen3(), verbose output

16 years ago- removed some hardcoded values. modified start_xmlrpc_server to use popen instead...
Tony Mack [Wed, 26 Mar 2008 00:29:02 +0000 (00:29 +0000)]
- removed some hardcoded values. modified start_xmlrpc_server to use popen instead of commands.

16 years agoremoved hardcoded rootkey
Tony Mack [Wed, 26 Mar 2008 00:26:24 +0000 (00:26 +0000)]
removed hardcoded rootkey

16 years agomodified load() to load confg elements as dicts, not lists
Tony Mack [Wed, 26 Mar 2008 00:25:03 +0000 (00:25 +0000)]
modified load() to load confg elements as dicts, not lists

16 years agochanged some configuration values. removed some hardcoded values
Tony Mack [Wed, 26 Mar 2008 00:24:26 +0000 (00:24 +0000)]
changed some configuration values. removed some hardcoded values

16 years agosystem testing script
Tony Mack [Wed, 26 Mar 2008 00:23:32 +0000 (00:23 +0000)]
system testing script

16 years agofirst draft to clean up TestSsh, but bug not fixed for remote qemu nodes -a sigh
Thierry Parmentelat [Tue, 25 Mar 2008 20:37:02 +0000 (20:37 +0000)]
first draft to clean up TestSsh, but bug not fixed for remote qemu nodes -a sigh

16 years agouse new names
Thierry Parmentelat [Tue, 25 Mar 2008 17:32:23 +0000 (17:32 +0000)]
use new names

16 years agoadd a check on brctl module when configuring the qemu network
Thierry Parmentelat [Tue, 25 Mar 2008 16:35:24 +0000 (16:35 +0000)]
add a check on brctl module when configuring the qemu network

16 years agoremote plcs are broken for now, Im giving up
Thierry Parmentelat [Tue, 25 Mar 2008 15:16:13 +0000 (15:16 +0000)]
remote plcs are broken for now, Im giving up

16 years agooops
Thierry Parmentelat [Tue, 25 Mar 2008 14:54:23 +0000 (14:54 +0000)]
oops

16 years agobetter give the hostname to ssh
Thierry Parmentelat [Tue, 25 Mar 2008 14:53:33 +0000 (14:53 +0000)]
better give the hostname to ssh

16 years agofirst step towards a cleaner TestSsh, buildname provided to constructor
Thierry Parmentelat [Tue, 25 Mar 2008 14:48:49 +0000 (14:48 +0000)]
first step towards a cleaner TestSsh, buildname provided to constructor

16 years ago5th
Thierry Parmentelat [Tue, 25 Mar 2008 14:29:30 +0000 (14:29 +0000)]
5th

16 years ago4th fix
Thierry Parmentelat [Tue, 25 Mar 2008 14:25:11 +0000 (14:25 +0000)]
4th fix

16 years agofixing repo url
Thierry Parmentelat [Tue, 25 Mar 2008 13:49:58 +0000 (13:49 +0000)]
fixing repo url

16 years agofixed typo
Thierry Parmentelat [Tue, 25 Mar 2008 13:34:28 +0000 (13:34 +0000)]
fixed typo

16 years agoworking boxes have new names and functions now that the new build box is up and running
Thierry Parmentelat [Tue, 25 Mar 2008 11:41:19 +0000 (11:41 +0000)]
working boxes have new names and functions now that the new build box is up and running

16 years agooops
Thierry Parmentelat [Tue, 25 Mar 2008 10:47:11 +0000 (10:47 +0000)]
oops

16 years agostarts untangling; testssh should be built out of a hostname and possibly a key,...
Thierry Parmentelat [Tue, 25 Mar 2008 10:46:18 +0000 (10:46 +0000)]
starts untangling; testssh should be built out of a hostname and possibly a key, *not* from a caller

16 years agoattempt to fix missing method TestSsh.hostname + various redesign
Thierry Parmentelat [Tue, 25 Mar 2008 10:20:12 +0000 (10:20 +0000)]
attempt to fix missing method TestSsh.hostname + various redesign

16 years agocall config.load with qa/config.py to get the test setup
Marc Fiuczynski [Sat, 22 Mar 2008 01:14:41 +0000 (01:14 +0000)]
call config.load with qa/config.py to get the test setup

16 years agotypo: tempfname -> tmpfname
Marc Fiuczynski [Sat, 22 Mar 2008 01:10:52 +0000 (01:10 +0000)]
typo: tempfname -> tmpfname

16 years agotemporary back to the old nodes configuration *with real nodes(mac+ip @)*
Thierry Parmentelat [Thu, 20 Mar 2008 17:02:45 +0000 (17:02 +0000)]
temporary back to the old nodes configuration *with  real nodes(mac+ip @)*

16 years agopatch to force the kill_qemus step
Thierry Parmentelat [Thu, 20 Mar 2008 11:42:24 +0000 (11:42 +0000)]
patch to force the kill_qemus step

16 years agousing vnodes(new mac+ip@) for the TestFrame nodes simultion
Thierry Parmentelat [Wed, 19 Mar 2008 14:43:11 +0000 (14:43 +0000)]
using vnodes(new mac+ip@) for the TestFrame nodes simultion

16 years agomac addresses allocated to the pool of vnodes
Thierry Parmentelat [Wed, 19 Mar 2008 12:34:17 +0000 (12:34 +0000)]
mac addresses allocated to the pool of vnodes

16 years agocall plc.start_xmlrpc_server incause the default server didnt start
Tony Mack [Tue, 18 Mar 2008 23:22:06 +0000 (23:22 +0000)]
call plc.start_xmlrpc_server incause the default server didnt start

16 years ago-fix errors. - added verbose output
Tony Mack [Tue, 18 Mar 2008 23:17:12 +0000 (23:17 +0000)]
-fix errors. - added verbose output

16 years agoadded start_xmlrpc_server() which is used to start a standalone xmlrpc server alterna...
Tony Mack [Tue, 18 Mar 2008 23:10:17 +0000 (23:10 +0000)]
added start_xmlrpc_server() which is used to start a standalone xmlrpc server alternate ports. Useful for running multiple api servers on the same machine

16 years agocleanup
Tony Mack [Tue, 18 Mar 2008 21:14:38 +0000 (21:14 +0000)]
cleanup

16 years agoupdated to support remote plcs and nodes
Tony Mack [Tue, 18 Mar 2008 21:14:14 +0000 (21:14 +0000)]
updated to support remote plcs and nodes

16 years agofix commands() method
Tony Mack [Tue, 18 Mar 2008 21:11:16 +0000 (21:11 +0000)]
fix commands() method

16 years ago- Added Node, Site, Slice, Person, and PLC classes useful for defining a default...
Tony Mack [Tue, 18 Mar 2008 21:10:43 +0000 (21:10 +0000)]
- Added Node, Site, Slice, Person, and PLC classes useful for defining a default instantiation of these objects. PLCs have there own separate config/api object.  - Added Remote class which is inherited by any object that may have a remote home other than the machine we are running on.