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

16 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

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

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

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

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

16 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

16 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

16 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

16 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

16 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

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

16 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

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

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

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

16 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

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

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

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

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

16 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

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

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

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

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

16 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

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

16 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

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

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

16 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

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

16 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

16 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

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

16 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

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

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

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

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

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

16 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

16 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

16 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

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

16 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

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

16 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

16 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

16 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

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

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

16 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

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

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

16 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

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

16 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

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

16 years agoreturn 1
Tony Mack [Wed, 23 Jan 2008 04:02:29 +0000 (04:02 +0000)]
return 1

16 years agoreturn 1
Tony Mack [Tue, 22 Jan 2008 23:59:29 +0000 (23:59 +0000)]
return 1

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 23:58:02 +0000 (23:58 +0000)]
fix errors

16 years agoadd node network
Tony Mack [Tue, 22 Jan 2008 23:54:51 +0000 (23:54 +0000)]
add node network

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 22:55:09 +0000 (22:55 +0000)]
fix errors

16 years agoremove output generated by 'set x' from stderr
Tony Mack [Tue, 22 Jan 2008 22:29:33 +0000 (22:29 +0000)]
remove output generated by 'set x' from stderr

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 22:10:39 +0000 (22:10 +0000)]
fix errors

16 years agotest script that makes use of qaapi modules
Tony Mack [Tue, 22 Jan 2008 21:35:16 +0000 (21:35 +0000)]
test script that makes use of qaapi modules

16 years agoremove unnecessary print
Tony Mack [Tue, 22 Jan 2008 19:38:44 +0000 (19:38 +0000)]
remove unnecessary print

16 years agouse default values in cause we cant connect connect to myplc and get some default...
Tony Mack [Tue, 22 Jan 2008 19:33:13 +0000 (19:33 +0000)]
use default values in cause we cant connect connect to myplc and get some default types

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 19:24:23 +0000 (19:24 +0000)]
fix errors

16 years agouse /sbin/service
Tony Mack [Tue, 22 Jan 2008 19:23:03 +0000 (19:23 +0000)]
use /sbin/service

16 years agodon't really need to create the hda file under le local patch (for now)
Tony Mack [Tue, 22 Jan 2008 18:47:23 +0000 (18:47 +0000)]
don't really need to create the hda file under le local patch (for now)

16 years agorename method
Tony Mack [Tue, 22 Jan 2008 17:29:03 +0000 (17:29 +0000)]
rename method

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 17:19:17 +0000 (17:19 +0000)]
fix errors

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 17:18:06 +0000 (17:18 +0000)]
fix errors

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 17:16:30 +0000 (17:16 +0000)]
fix errors

16 years agofix errors
Tony Mack [Tue, 22 Jan 2008 17:09:10 +0000 (17:09 +0000)]
fix errors

16 years agocreate the disk image at the right place
Tony Mack [Tue, 22 Jan 2008 17:03:32 +0000 (17:03 +0000)]
create the disk image at the right place

16 years agoreorganize the qemu configuration template file
Tony Mack [Tue, 22 Jan 2008 11:24:41 +0000 (11:24 +0000)]
reorganize the qemu configuration template file

16 years agofix errors
Tony Mack [Fri, 18 Jan 2008 22:26:06 +0000 (22:26 +0000)]
fix errors

16 years agomethod for issuing commands on remote nodes (i.e. restarting node manager)
Tony Mack [Fri, 18 Jan 2008 22:24:53 +0000 (22:24 +0000)]
method for issuing commands on remote nodes (i.e. restarting node manager)

16 years agoRepeatedly attempt to use the specified users credentials to access the spefified...
Tony Mack [Fri, 18 Jan 2008 22:09:36 +0000 (22:09 +0000)]
Repeatedly attempt to use the specified users credentials to access the spefified slice on the specified node

16 years agoMake sure specified users public key on file matches whats
Tony Mack [Fri, 18 Jan 2008 22:04:53 +0000 (22:04 +0000)]
Make sure specified users public key on file matches whats
    recorded at plc. Create a public/private keypair for the
    specified user if one doesnt exist already.

16 years agoAPI url fixed for vserver plcs
Thierry Parmentelat [Fri, 18 Jan 2008 20:59:00 +0000 (20:59 +0000)]
API url fixed for vserver plcs

16 years agocreate xmlrpclib server instance to the right host
Thierry Parmentelat [Fri, 18 Jan 2008 20:34:40 +0000 (20:34 +0000)]
create xmlrpclib server instance to the right host

16 years ago-remove unnecessary code
Tony Mack [Fri, 18 Jan 2008 18:28:09 +0000 (18:28 +0000)]
-remove unnecessary code

16 years ago-remove unnecessary code
Tony Mack [Fri, 18 Jan 2008 18:25:46 +0000 (18:25 +0000)]
-remove unnecessary code

16 years ago-remove unnecessary code
Tony Mack [Fri, 18 Jan 2008 18:24:50 +0000 (18:24 +0000)]
-remove unnecessary code

16 years ago-remove unnecessary code
Tony Mack [Fri, 18 Jan 2008 18:24:14 +0000 (18:24 +0000)]
-remove unnecessary code

16 years ago-support vserver and chroot myplc. -use utils.popen instead of os.popen3
Tony Mack [Fri, 18 Jan 2008 18:22:19 +0000 (18:22 +0000)]
-support vserver and chroot myplc. -use utils.popen instead of os.popen3

16 years ago-support vserver and chroot myplc. -use utils.popen instead of os.popen3
Tony Mack [Fri, 18 Jan 2008 18:11:50 +0000 (18:11 +0000)]
-support vserver and chroot myplc. -use utils.popen instead of os.popen3

16 years agosupport vserver and chroot myplc
Tony Mack [Fri, 18 Jan 2008 18:06:05 +0000 (18:06 +0000)]
support vserver and chroot myplc

16 years agochange param name to 'root_dir'
Tony Mack [Fri, 18 Jan 2008 17:55:23 +0000 (17:55 +0000)]
change param name to 'root_dir'

16 years ago-support vserver and chroot myplc. -use utils.popen instead of os.popen3
Tony Mack [Fri, 18 Jan 2008 17:51:34 +0000 (17:51 +0000)]
-support vserver and chroot myplc. -use utils.popen instead of os.popen3

16 years agofix indent, add more verbose output
Tony Mack [Fri, 18 Jan 2008 17:49:43 +0000 (17:49 +0000)]
fix indent, add more verbose output

16 years agouse helper method utils.popen instead of os.popen3
Tony Mack [Fri, 18 Jan 2008 17:39:20 +0000 (17:39 +0000)]
use helper method  utils.popen instead of os.popen3

16 years agoadd some variables to the global namespace
Tony Mack [Fri, 18 Jan 2008 17:21:39 +0000 (17:21 +0000)]
add some variables to the global namespace

16 years agogive config param in call() a default
Tony Mack [Fri, 18 Jan 2008 17:20:42 +0000 (17:20 +0000)]
give config param in call() a default

16 years agominor edits
Tony Mack [Fri, 18 Jan 2008 17:15:06 +0000 (17:15 +0000)]
minor edits