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

17 years ago*Create new TestSlice class.
Tony Mack [Wed, 30 Jan 2008 13:42:38 +0000 (13:42 +0000)]
*Create new TestSlice class.
*Now we manage slices in both  TestPlc and TestSlice classes.
*Clean TestSite class nothing to deal with slices.

17 years agomake scripts executable
Tony Mack [Tue, 29 Jan 2008 22:22:50 +0000 (22:22 +0000)]
make scripts executable

17 years agocomment out plc_configure for now. Dont want to undo existing plc configuration for...
Tony Mack [Tue, 29 Jan 2008 22:17:52 +0000 (22:17 +0000)]
comment out plc_configure for now. Dont want to undo existing plc configuration for the time being

17 years agodont attepmt to boot node utill nodenetwork specs are figured out
Tony Mack [Tue, 29 Jan 2008 22:13:52 +0000 (22:13 +0000)]
dont attepmt to boot node utill nodenetwork specs are figured out

17 years agocheckout tests/trunk/qaapi and execute runtests.py
Tony Mack [Tue, 29 Jan 2008 22:12:26 +0000 (22:12 +0000)]
checkout tests/trunk/qaapi and execute runtests.py

17 years agofix a lot of errors. use plcsh instead of xmlrpc
Tony Mack [Tue, 29 Jan 2008 22:04:08 +0000 (22:04 +0000)]
fix a lot of errors. use plcsh instead of xmlrpc

17 years agoattempt to execute file from bash if call() fails
Tony Mack [Tue, 29 Jan 2008 22:02:15 +0000 (22:02 +0000)]
attempt to execute file from bash if call() fails

17 years agodeleted
Tony Mack [Tue, 29 Jan 2008 22:00:53 +0000 (22:00 +0000)]
deleted

17 years agochanged name from sync_user_key
Tony Mack [Tue, 29 Jan 2008 21:59:43 +0000 (21:59 +0000)]
changed name from sync_user_key

17 years agodeleted
Tony Mack [Tue, 29 Jan 2008 21:58:06 +0000 (21:58 +0000)]
deleted

17 years agoinital checkin
Tony Mack [Tue, 29 Jan 2008 21:57:27 +0000 (21:57 +0000)]
inital checkin

17 years agocleanup
Tony Mack [Tue, 29 Jan 2008 21:56:12 +0000 (21:56 +0000)]
cleanup

17 years agoInitial checkin for runtests script. use to run daily automated tests
Tony Mack [Tue, 29 Jan 2008 21:51:21 +0000 (21:51 +0000)]
Initial checkin for runtests script. use to run daily automated tests

17 years agofix errors
Tony Mack [Tue, 29 Jan 2008 21:37:39 +0000 (21:37 +0000)]
fix errors

17 years agoremove unnecessary print
Tony Mack [Tue, 29 Jan 2008 21:19:10 +0000 (21:19 +0000)]
remove unnecessary print

17 years agoclean up
Tony Mack [Tue, 29 Jan 2008 21:18:14 +0000 (21:18 +0000)]
clean up

17 years agoBasic node CPU scheduler tests
Andy Bavier [Tue, 29 Jan 2008 20:48:26 +0000 (20:48 +0000)]
Basic node CPU scheduler tests

17 years agoRuns a spinloop, used for CPU scheduler testing
Andy Bavier [Tue, 29 Jan 2008 20:47:42 +0000 (20:47 +0000)]
Runs a spinloop, used for CPU scheduler testing

17 years agouse plcsh instead of xmlrpc
Tony Mack [Tue, 29 Jan 2008 20:35:25 +0000 (20:35 +0000)]
use plcsh instead of xmlrpc

17 years agouse a more sensitive name
Thierry Parmentelat [Tue, 29 Jan 2008 17:08:13 +0000 (17:08 +0000)]
use a more sensitive name

17 years agooops
Thierry Parmentelat [Tue, 29 Jan 2008 17:05:39 +0000 (17:05 +0000)]
oops

17 years agodir must be created
Thierry Parmentelat [Tue, 29 Jan 2008 17:04:40 +0000 (17:04 +0000)]
dir must be created

17 years agomisses where to write real nodes bootcd iso
Thierry Parmentelat [Tue, 29 Jan 2008 17:01:15 +0000 (17:01 +0000)]
misses where to write real nodes bootcd iso

17 years agovarious tests remapped on boxes
Thierry Parmentelat [Tue, 29 Jan 2008 16:48:11 +0000 (16:48 +0000)]
various tests remapped on boxes

17 years ago*Split the config-onlab file into two config files depending on how each plc's node...
Thierry Parmentelat [Tue, 29 Jan 2008 15:27:56 +0000 (15:27 +0000)]
*Split the config-onlab file into two config files depending on how each plc's node are emulated

17 years agocosmetic
Thierry Parmentelat [Tue, 29 Jan 2008 12:39:50 +0000 (12:39 +0000)]
cosmetic

17 years agoclean up
Tony Mack [Mon, 28 Jan 2008 23:43:33 +0000 (23:43 +0000)]
clean up

17 years agouse the DNS configuration of whatever the host/vserver was initialized with
Marc Fiuczynski [Mon, 28 Jan 2008 17:25:52 +0000 (17:25 +0000)]
use the DNS configuration of whatever the host/vserver was initialized with

17 years agorewritten as a plcsh script
Tony Mack [Mon, 28 Jan 2008 17:19:23 +0000 (17:19 +0000)]
rewritten as a plcsh script

17 years agono longer make api calls using xmlrpc, use plcsh directly
Tony Mack [Mon, 28 Jan 2008 17:05:50 +0000 (17:05 +0000)]
no longer make api calls using xmlrpc, use plcsh directly

17 years agouse a valid PLC_ROOT_USER account and for now set PLC_MAIL_SUPPORT_ADDRESS to build...
Marc Fiuczynski [Fri, 25 Jan 2008 22:00:20 +0000 (22:00 +0000)]
use a valid PLC_ROOT_USER account and for now set PLC_MAIL_SUPPORT_ADDRESS to build@lists.planet-lab.org

17 years agoremoved call parameters. no longer need to provide system type.
Tony Mack [Fri, 25 Jan 2008 19:48:51 +0000 (19:48 +0000)]
removed call parameters. no longer need to provide system type.

17 years agosome more tests, not quite done yet though
Tony Mack [Fri, 25 Jan 2008 19:47:59 +0000 (19:47 +0000)]
some more tests, not quite done yet though

17 years agodeleting
Tony Mack [Fri, 25 Jan 2008 19:38:19 +0000 (19:38 +0000)]
deleting

17 years agodeleting
Tony Mack [Fri, 25 Jan 2008 19:37:08 +0000 (19:37 +0000)]
deleting

17 years agodeleting
Tony Mack [Fri, 25 Jan 2008 19:36:30 +0000 (19:36 +0000)]
deleting

17 years agodeleting
Tony Mack [Fri, 25 Jan 2008 19:32:19 +0000 (19:32 +0000)]
deleting

17 years agooops correcting variables names
Marc Fiuczynski [Fri, 25 Jan 2008 17:35:39 +0000 (17:35 +0000)]
oops correcting variables names

17 years agocreate the hda.raw disk image in the right directory
Marc Fiuczynski [Fri, 25 Jan 2008 13:30:18 +0000 (13:30 +0000)]
create the hda.raw disk  image in the right directory

17 years agohold on waiting the return value from the host supporting the Qemu simulation.A matte...
Marc Fiuczynski [Fri, 25 Jan 2008 09:51:03 +0000 (09:51 +0000)]
hold on waiting the return value from the host supporting the Qemu simulation.A matter of dispalying steps

17 years ago*No need anymore to check nodes from the TestSite class.
Marc Fiuczynski [Thu, 24 Jan 2008 19:21:16 +0000 (19:21 +0000)]
*No need anymore to  check nodes from the TestSite class.
*Add new Methods to check correctly nodes status from  both TestPLc and  TestNode classes

17 years agocheck for zero length strings
Marc Fiuczynski [Thu, 24 Jan 2008 18:52:26 +0000 (18:52 +0000)]
check for zero length strings

17 years agoupdated to reflect recent changes in qash/QAAPI
Tony Mack [Thu, 24 Jan 2008 18:22:05 +0000 (18:22 +0000)]
updated to reflect recent changes in qash/QAAPI

17 years agono longer import qa.Test
Tony Mack [Thu, 24 Jan 2008 18:20:14 +0000 (18:20 +0000)]
no longer import qa.Test

17 years agoload tests from tests directory instead of modules
Tony Mack [Thu, 24 Jan 2008 18:16:51 +0000 (18:16 +0000)]
load tests from tests directory instead of modules

17 years agomove files to tests directory. now each file is callable from bash
Tony Mack [Thu, 24 Jan 2008 18:16:13 +0000 (18:16 +0000)]
move files to tests directory. now each file is callable from bash

17 years ago*make the difference between local and distant(VM)nodes
Marc Fiuczynski [Thu, 24 Jan 2008 14:32:33 +0000 (14:32 +0000)]
*make the difference between local and distant(VM)nodes

17 years agoinstall myplc
Marc Fiuczynski [Wed, 23 Jan 2008 21:44:53 +0000 (21:44 +0000)]
install myplc

17 years ago*kill all the Qemu instance when stopping nodes.
Thierry Parmentelat [Wed, 23 Jan 2008 19:07:22 +0000 (19:07 +0000)]
*kill all the Qemu instance when stopping nodes.
*Restore the network configuration in the hosts machines when the all Qemus emulation are shut down.

17 years agofixed the sysconfig/network issue - was due to a misconfig of util-vserver
Thierry Parmentelat [Wed, 23 Jan 2008 17:43:39 +0000 (17:43 +0000)]
fixed the sysconfig/network issue - was due to a misconfig of util-vserver
support for vserver/native myplcs hosted on remote boxes

17 years ago make this script executable
Thierry Parmentelat [Wed, 23 Jan 2008 16:00:38 +0000 (16:00 +0000)]
 make this  script executable

17 years agochange right to this script
Thierry Parmentelat [Wed, 23 Jan 2008 15:58:19 +0000 (15:58 +0000)]
change right to this script

17 years ago*Now the TestFrame is Qemu emulation capable
Thierry Parmentelat [Wed, 23 Jan 2008 15:24:22 +0000 (15:24 +0000)]
*Now the TestFrame is Qemu emulation capable
*creating bootcd for the Qemu node,
*Run the node on a distant host machine

17 years ago*Cosmetic for getting the right MAC @ for the emulated node./*No need anymore to...
Thierry Parmentelat [Wed, 23 Jan 2008 15:09:17 +0000 (15:09 +0000)]
*Cosmetic for getting the right MAC @ for the emulated node./*No need anymore to create the hda disk image in the env-qemu script.

17 years agoAdding new static node for qemu simulation
Thierry Parmentelat [Wed, 23 Jan 2008 14:50:16 +0000 (14:50 +0000)]
Adding new static node for qemu simulation

17 years agomove to another test box
Thierry Parmentelat [Wed, 23 Jan 2008 08:48:47 +0000 (08:48 +0000)]
move to another test box