tests.git
17 years agodeclare a madwifi interface
Thierry Parmentelat [Fri, 7 Mar 2008 12:21:12 +0000 (12:21 +0000)]
declare a madwifi interface

17 years agofirst try to use the testFrame without option.path but being directly in the right...
Thierry Parmentelat [Thu, 6 Mar 2008 09:55:27 +0000 (09:55 +0000)]
first try to use the testFrame without option.path but being directly in the right directory with chdir option

17 years agotemp fix for getting right path when the testframe is remotely invoked
Thierry Parmentelat [Wed, 5 Mar 2008 15:41:10 +0000 (15:41 +0000)]
temp fix for getting right path when the testframe is remotely invoked

17 years agofix the right path for the configuration file
Thierry Parmentelat [Wed, 5 Mar 2008 11:19:58 +0000 (11:19 +0000)]
fix the right path for the configuration file

17 years agooops forgot to omit the step from the main
Thierry Parmentelat [Tue, 4 Mar 2008 17:06:20 +0000 (17:06 +0000)]
oops forgot to omit the step from the main

17 years agospliting step install_rpm was not basically a good idea, just check in one step if...
Thierry Parmentelat [Tue, 4 Mar 2008 17:01:13 +0000 (17:01 +0000)]
spliting step install_rpm was not basically a good idea, just check in one step if the rpm is there, if not curl it and then install it

17 years agosplit the install_rpm step into two steps
Thierry Parmentelat [Tue, 4 Mar 2008 16:30:41 +0000 (16:30 +0000)]
split the install_rpm step into two steps
first make the cache_rpm to get the rpm.
second install the rpm  locally

17 years agofirst step towards using testbox properly
Thierry Parmentelat [Mon, 3 Mar 2008 12:32:55 +0000 (12:32 +0000)]
first step towards using testbox properly

17 years agoTyping error
Thierry Parmentelat [Mon, 3 Mar 2008 11:06:58 +0000 (11:06 +0000)]
Typing error

17 years agoArgument missed when kill_all_quem() is called from stop_nodes method
Thierry Parmentelat [Mon, 3 Mar 2008 10:46:01 +0000 (10:46 +0000)]
Argument missed when kill_all_quem() is called from stop_nodes method

17 years agoknows its hostname and uses new locality
Thierry Parmentelat [Mon, 3 Mar 2008 07:52:37 +0000 (07:52 +0000)]
knows its hostname and uses new locality

17 years agouses explicit hostname
Thierry Parmentelat [Mon, 3 Mar 2008 07:51:50 +0000 (07:51 +0000)]
uses explicit hostname

17 years agocheck locality more appropriately
Thierry Parmentelat [Mon, 3 Mar 2008 07:50:54 +0000 (07:50 +0000)]
check locality more appropriately

17 years agosimpler arg passing to the start-qemu-node script
Thierry Parmentelat [Fri, 29 Feb 2008 15:55:22 +0000 (15:55 +0000)]
simpler arg passing to the start-qemu-node script

17 years agousing lowercase
Thierry Parmentelat [Fri, 29 Feb 2008 15:21:35 +0000 (15:21 +0000)]
using lowercase

17 years agovarious fixes
Thierry Parmentelat [Fri, 29 Feb 2008 15:19:19 +0000 (15:19 +0000)]
various fixes

17 years agonew node in wifilab, bios updated to A09
Thierry Parmentelat [Fri, 29 Feb 2008 11:54:02 +0000 (11:54 +0000)]
new node in wifilab, bios updated to A09

17 years ago*some cosmetic in Starting qemu node in local or remote host
Tony Mack [Wed, 27 Feb 2008 16:16:26 +0000 (16:16 +0000)]
*some cosmetic in Starting qemu node in local or remote host

17 years agotest misc Get and administrative methods
Tony Mack [Fri, 22 Feb 2008 18:19:04 +0000 (18:19 +0000)]
test misc Get and administrative methods

17 years agotest Messages, Sessions
Tony Mack [Thu, 21 Feb 2008 19:23:28 +0000 (19:23 +0000)]
test Messages, Sessions

17 years agoAndy's updates
Tony Mack [Wed, 20 Feb 2008 22:41:54 +0000 (22:41 +0000)]
Andy's updates

17 years agomore tests. fix errors
Tony Mack [Wed, 20 Feb 2008 22:34:58 +0000 (22:34 +0000)]
more tests. fix errors

17 years agoGiving up with the display mode for emulating Qemu nodes, now Qemu nodes run on seria...
Tony Mack [Tue, 19 Feb 2008 10:26:28 +0000 (10:26 +0000)]
Giving up with the display mode for emulating Qemu nodes, now Qemu nodes run on serial mode

17 years ago*Add TestSliver class.
Tony Mack [Tue, 19 Feb 2008 09:11:07 +0000 (09:11 +0000)]
*Add  TestSliver class.
*Add  checktcp step to  test the  connexion on both  client(slice*@node*) and server(slice**@node**) side.

17 years agofix errors
Tony Mack [Tue, 19 Feb 2008 00:08:49 +0000 (00:08 +0000)]
fix errors

17 years agoadded more tests
Tony Mack [Mon, 18 Feb 2008 23:07:01 +0000 (23:07 +0000)]
added more tests

17 years agoDuplicate uni tests on SMP
Andy Bavier [Mon, 18 Feb 2008 16:13:55 +0000 (16:13 +0000)]
Duplicate uni tests on SMP

17 years agoUse the buildname to set the right path for remote Qemu nodes
Marc Fiuczynski [Fri, 15 Feb 2008 14:20:14 +0000 (14:20 +0000)]
Use the buildname to set the right path for remote Qemu nodes

17 years agoAdd step chek_initscripts.
Marc Fiuczynski [Fri, 15 Feb 2008 12:01:12 +0000 (12:01 +0000)]
Add step chek_initscripts.
Redirect the output of  node's steps  to a specific log file

17 years agouse different defaults
Marc Fiuczynski [Thu, 14 Feb 2008 22:32:35 +0000 (22:32 +0000)]
use different defaults

17 years agowork around some odd bug when running runtest twice
Marc Fiuczynski [Thu, 14 Feb 2008 22:31:33 +0000 (22:31 +0000)]
work around some odd bug when running runtest twice

17 years agooops
Thierry Parmentelat [Thu, 14 Feb 2008 17:24:27 +0000 (17:24 +0000)]
oops

17 years agoexpose buildname to the various objects through the TestPlc instance
Thierry Parmentelat [Thu, 14 Feb 2008 17:23:08 +0000 (17:23 +0000)]
expose buildname to the various objects through the TestPlc instance

17 years agoexpose buildname in options to avoid filename conflicts on host boxes
Thierry Parmentelat [Thu, 14 Feb 2008 17:11:56 +0000 (17:11 +0000)]
expose buildname in options to avoid filename conflicts on host boxes

17 years agofine-grain kill of qemus - new step list_all_qemus
Thierry Parmentelat [Thu, 14 Feb 2008 13:15:53 +0000 (13:15 +0000)]
fine-grain kill of qemus - new step list_all_qemus

17 years agooops
Thierry Parmentelat [Thu, 14 Feb 2008 12:41:58 +0000 (12:41 +0000)]
oops

17 years agofine-grain & brute force qemu kill (kill_qemus and kill_all_qemus)
Thierry Parmentelat [Thu, 14 Feb 2008 12:39:46 +0000 (12:39 +0000)]
fine-grain & brute force qemu kill (kill_qemus and kill_all_qemus)

17 years agooops - wrong version got added
Thierry Parmentelat [Thu, 14 Feb 2008 12:00:31 +0000 (12:00 +0000)]
oops - wrong version got added

17 years agointroduces the TestBox class - review how qemu gets stopped
Thierry Parmentelat [Thu, 14 Feb 2008 11:32:30 +0000 (11:32 +0000)]
introduces the TestBox class - review how qemu gets stopped

17 years agofirst draft
Thierry Parmentelat [Wed, 13 Feb 2008 18:42:49 +0000 (18:42 +0000)]
first draft

17 years agochanged a few step names + generic standby steps + cosmetic
Thierry Parmentelat [Wed, 13 Feb 2008 15:24:35 +0000 (15:24 +0000)]
changed a few step names + generic standby steps + cosmetic

17 years agoRun a config with two Qemu emulated nodes
Marc Fiuczynski [Wed, 13 Feb 2008 10:11:44 +0000 (10:11 +0000)]
Run a config with two Qemu emulated nodes

17 years agofix the check_slices() method to manage the case we have more than one slice
Marc Fiuczynski [Tue, 12 Feb 2008 16:33:22 +0000 (16:33 +0000)]
fix the check_slices() method to manage the case we have more than one slice

17 years agoNo need to backslash the char '@'
Marc Fiuczynski [Tue, 12 Feb 2008 16:24:10 +0000 (16:24 +0000)]
No need to backslash the char '@'

17 years ago*Starting the kqemu patch module (if installed )
Marc Fiuczynski [Tue, 12 Feb 2008 15:59:15 +0000 (15:59 +0000)]
*Starting the kqemu patch module (if installed )
*Fix the hard disk size and memory extention for the Qemu emulated nodes.

17 years ago*correct a syntax bug in qemu config file.
Marc Fiuczynski [Tue, 12 Feb 2008 15:47:18 +0000 (15:47 +0000)]
*correct a syntax bug in qemu config file.
*Giving up with the vmware nodes emulation,no needed anymore, now let's use  Qemu emulated nodes(still with the display not in serial mode)

17 years agoupdate plc_configure to match Tony's previous update of storing plc variables in...
Marc Fiuczynski [Tue, 12 Feb 2008 03:42:09 +0000 (03:42 +0000)]
update plc_configure to match Tony's previous update of storing plc variables in plc_options

17 years agofirst stab at nannying a qemu booted node
Marc Fiuczynski [Tue, 12 Feb 2008 03:40:53 +0000 (03:40 +0000)]
first stab at nannying a qemu booted node

17 years agocatch exceptions when trying to create test instances
Tony Mack [Mon, 11 Feb 2008 21:38:17 +0000 (21:38 +0000)]
catch exceptions when trying to create test instances

17 years agooops - newly created tags dir was one step too low
Thierry Parmentelat [Mon, 11 Feb 2008 09:31:23 +0000 (09:31 +0000)]
oops - newly created tags dir was one step too low

17 years agocreate tags in tests/
Thierry Parmentelat [Mon, 11 Feb 2008 09:29:59 +0000 (09:29 +0000)]
create tags in tests/

17 years agocan now pass in config file as argument, which will then be used as the configuration...
Marc Fiuczynski [Fri, 8 Feb 2008 20:11:40 +0000 (20:11 +0000)]
can now pass in config file as argument, which will then be used as the configuration to the various tests

17 years agomake sure plc is stopped before configuring it, use mkstemp to create a temp file...
Marc Fiuczynski [Fri, 8 Feb 2008 20:08:41 +0000 (20:08 +0000)]
make sure plc is stopped before configuring it, use mkstemp to create a temp file, and other pretty things

17 years agomove the invocation of Config() into the __init__ function to delay invoking that...
Marc Fiuczynski [Fri, 8 Feb 2008 20:08:06 +0000 (20:08 +0000)]
move the invocation of Config() into the __init__ function to delay invoking that until runtime vs. module import time

17 years agoNeed to define a default PLC_API_HOST value for the case when plc is not running...
Marc Fiuczynski [Fri, 8 Feb 2008 19:04:27 +0000 (19:04 +0000)]
Need to define a default PLC_API_HOST value for the case when plc is not running at all when the qa stuff starts up. This is only needed for plc_configure and plc_start, as once those have run all subsequent tests can likely assume that the local plc shell will work and we wont need to go via the xmlrpc api

17 years agoProperly handle the case when keys exists and the new key does not handle the user...
Marc Fiuczynski [Fri, 8 Feb 2008 19:02:10 +0000 (19:02 +0000)]
Properly handle the case when keys exists and the new key does not handle the user's existing key

17 years agoremove white space in command
Marc Fiuczynski [Fri, 8 Feb 2008 19:01:06 +0000 (19:01 +0000)]
remove white space in command

17 years agostart of upgrade to integrated test
Marc Fiuczynski [Fri, 8 Feb 2008 13:56:53 +0000 (13:56 +0000)]
start of upgrade to integrated test

17 years agolog all header output as well as commands and their output
Tony Mack [Thu, 7 Feb 2008 23:45:33 +0000 (23:45 +0000)]
log all header output as well as commands and their output

17 years agoregister logfile attribute
Tony Mack [Thu, 7 Feb 2008 23:44:17 +0000 (23:44 +0000)]
register logfile attribute

17 years agocall gethostname directly via the socket API vs. invoking hostname via the shell
Marc Fiuczynski [Thu, 7 Feb 2008 16:49:24 +0000 (16:49 +0000)]
call gethostname directly via the socket API vs. invoking hostname via the shell

17 years agooops force to create the keys file
Thierry Parmentelat [Thu, 7 Feb 2008 16:07:48 +0000 (16:07 +0000)]
oops force to create the keys file

17 years agooops name site changed in the quem file configuration
Thierry Parmentelat [Thu, 7 Feb 2008 15:46:31 +0000 (15:46 +0000)]
oops name site changed in the quem file configuration

17 years agocorrect a glitch, we need to check the right private key file and not the directory...
Thierry Parmentelat [Thu, 7 Feb 2008 15:44:51 +0000 (15:44 +0000)]
correct a glitch, we need to check the right  private key file and not the directory itself

17 years agowrong mac
Thierry Parmentelat [Thu, 7 Feb 2008 13:50:18 +0000 (13:50 +0000)]
wrong mac

17 years agoreal nodes -> warning only - review (wrongly) multiple loop on slices
Thierry Parmentelat [Thu, 7 Feb 2008 13:15:09 +0000 (13:15 +0000)]
real nodes -> warning only - review (wrongly) multiple loop on slices

17 years agotwo wifi nodes with a mix of static & dhcp
Thierry Parmentelat [Thu, 7 Feb 2008 11:42:37 +0000 (11:42 +0000)]
two wifi nodes with a mix of static & dhcp

17 years agodeleting
Tony Mack [Wed, 6 Feb 2008 22:10:03 +0000 (22:10 +0000)]
deleting

17 years agoapply the scan public keys patch to the check_slices() too
Tony Mack [Wed, 6 Feb 2008 21:39:50 +0000 (21:39 +0000)]
apply the scan public keys patch to the check_slices() too

17 years agoaccept individual plc_config options
Tony Mack [Wed, 6 Feb 2008 20:38:44 +0000 (20:38 +0000)]
accept individual plc_config options

17 years agopatch for scaning nodes public keys to avoid to tape the confirmation when ssh from...
Tony Mack [Wed, 6 Feb 2008 18:33:12 +0000 (18:33 +0000)]
patch for scaning nodes public keys to avoid to tape the confirmation when  ssh from the root image context

17 years agodirectory for storing slice tests
Tony Mack [Wed, 6 Feb 2008 15:59:55 +0000 (15:59 +0000)]
directory for storing slice tests

17 years agoSplit the check_nodes() method into two methods one for checking the boot state and...
Thierry Parmentelat [Wed, 6 Feb 2008 14:32:10 +0000 (14:32 +0000)]
Split the check_nodes() method into two methods one for checking the boot state and the other for checking connectivity of a node.
Add a Standby() Method to take in account  all  network slowness.
Rewrite the check_slices() Method no need anymore to start the NM from the beginning  it's only done when the option forceNM is activated

17 years agodoes not check for real nodes if not in boot state
Thierry Parmentelat [Tue, 5 Feb 2008 14:35:45 +0000 (14:35 +0000)]
does not check for real nodes if not in boot state

17 years agocommand chaining (ssh, chroot, vserver ...) reviewed
Thierry Parmentelat [Tue, 5 Feb 2008 14:18:23 +0000 (14:18 +0000)]
command chaining (ssh, chroot, vserver ...) reviewed
  we now use backslashes instead of quotes for protecting shell special chars
new method TestPlc.copy_in_guest to install a local file into a plc's root image
rewritten ssh config for root in the plc root image (based on ssh_config - added file)
check_nodes reviewed
check_slices now correctly runs ssh to the slice from the plc root image (no shared /etc/planetlab/ in this case)

17 years agoset interface name for wifi
Thierry Parmentelat [Tue, 5 Feb 2008 07:24:12 +0000 (07:24 +0000)]
set interface name for wifi

17 years ago-use config.api, -added Keys test
Tony Mack [Mon, 4 Feb 2008 22:10:17 +0000 (22:10 +0000)]
-use config.api, -added Keys test

17 years agosome cleanup - fix ssh+chroot commands
Thierry Parmentelat [Mon, 4 Feb 2008 13:53:53 +0000 (13:53 +0000)]
some cleanup - fix ssh+chroot commands

17 years agovariable typo
Marc Fiuczynski [Fri, 1 Feb 2008 23:02:03 +0000 (23:02 +0000)]
variable typo

17 years agoUpdated selftest that configures myplc, adds a site + node, node
Marc Fiuczynski [Fri, 1 Feb 2008 21:09:53 +0000 (21:09 +0000)]
Updated selftest that configures myplc, adds a site + node, node
settings for the test node with appropriate values to run qemu
locally.

17 years agovery safe for now - stop any running vservers as well
Thierry Parmentelat [Fri, 1 Feb 2008 14:15:06 +0000 (14:15 +0000)]
very safe for now - stop any running vservers as well

17 years agouninstall for chroot is broken
Thierry Parmentelat [Fri, 1 Feb 2008 09:37:25 +0000 (09:37 +0000)]
uninstall for chroot is broken

17 years agorun node tests
Tony Mack [Thu, 31 Jan 2008 20:21:23 +0000 (20:21 +0000)]
run node tests

17 years agoadd default value for root_key_path param
Tony Mack [Thu, 31 Jan 2008 20:19:33 +0000 (20:19 +0000)]
add default value for root_key_path param

17 years agonode test scripts
Tony Mack [Thu, 31 Jan 2008 20:15:23 +0000 (20:15 +0000)]
node test scripts

17 years agoused to run node test scripts on the specified node
Tony Mack [Thu, 31 Jan 2008 20:14:13 +0000 (20:14 +0000)]
used to run node test scripts on the specified node

17 years agono longer use plcsh
Tony Mack [Thu, 31 Jan 2008 20:12:46 +0000 (20:12 +0000)]
no longer use plcsh

17 years agodeleting
Tony Mack [Thu, 31 Jan 2008 20:12:01 +0000 (20:12 +0000)]
deleting

17 years agono longer rely on plcsh. Config will either import PLC.Shell or use xmlrpc, so use...
Tony Mack [Thu, 31 Jan 2008 20:11:02 +0000 (20:11 +0000)]
no longer rely on plcsh. Config will either import PLC.Shell or use xmlrpc, so use config.api

17 years agodo not define host/ip for plc services. let Config.py figure it out.
Tony Mack [Thu, 31 Jan 2008 20:08:29 +0000 (20:08 +0000)]
do not define host/ip for plc services. let Config.py figure it out.

17 years agodefine some helpful paths, define the list of acceptable node tests, try to import...
Tony Mack [Thu, 31 Jan 2008 20:06:58 +0000 (20:06 +0000)]
define some helpful paths, define the list of acceptable node tests, try to import PLC.Shell for direct PLCAPI access before trying to use PLCAPI over xmlrpc

17 years agoreturn wrapper
Tony Mack [Thu, 31 Jan 2008 20:04:17 +0000 (20:04 +0000)]
return wrapper

17 years agoonly import first level of tests directory
Tony Mack [Thu, 31 Jan 2008 20:03:30 +0000 (20:03 +0000)]
only import first level of tests directory

17 years agoadded commands utility
Tony Mack [Thu, 31 Jan 2008 20:02:43 +0000 (20:02 +0000)]
added commands utility

17 years agoupdated
Tony Mack [Thu, 31 Jan 2008 20:01:49 +0000 (20:01 +0000)]
updated

17 years agoTighten up checks for reservations
Andy Bavier [Thu, 31 Jan 2008 19:18:48 +0000 (19:18 +0000)]
Tighten up checks for reservations

17 years agonative mode : fix check_slices
Thierry Parmentelat [Thu, 31 Jan 2008 16:44:09 +0000 (16:44 +0000)]
native mode : fix check_slices

17 years agotemporaly adjusting time delay in checking slices due to the NM slowness to come...
Tony Mack [Thu, 31 Jan 2008 10:38:20 +0000 (10:38 +0000)]
temporaly adjusting time delay in checking slices due to the NM slowness to come up and eventual network slowness

17 years agodeleted
Tony Mack [Wed, 30 Jan 2008 22:43:32 +0000 (22:43 +0000)]
deleted

17 years agono needed anymore
Tony Mack [Wed, 30 Jan 2008 13:49:11 +0000 (13:49 +0000)]
no needed anymore