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

16 years agoscript to configure the tun/tap network device used by qemu
Thierry Parmentelat [Fri, 18 Jan 2008 16:16:52 +0000 (16:16 +0000)]
script to configure the tun/tap network device used by qemu

16 years agooops i forgot to write my name
Thierry Parmentelat [Fri, 18 Jan 2008 16:14:02 +0000 (16:14 +0000)]
oops i forgot to write my name

16 years agoscript to prepare the host machine environment for the Qemu emulation
Thierry Parmentelat [Fri, 18 Jan 2008 16:07:02 +0000 (16:07 +0000)]
script to prepare the host machine environment for the Qemu emulation

16 years agooops again
Thierry Parmentelat [Fri, 18 Jan 2008 12:57:39 +0000 (12:57 +0000)]
oops again

16 years agooops
Thierry Parmentelat [Fri, 18 Jan 2008 12:15:12 +0000 (12:15 +0000)]
oops

16 years agotemporary - initialize /etc/sysconfig/networking in the test vserver
Thierry Parmentelat [Fri, 18 Jan 2008 12:06:08 +0000 (12:06 +0000)]
temporary - initialize /etc/sysconfig/networking in the test vserver

16 years agooops
Thierry Parmentelat [Fri, 18 Jan 2008 11:05:26 +0000 (11:05 +0000)]
oops

16 years agoone more step
Thierry Parmentelat [Fri, 18 Jan 2008 11:04:10 +0000 (11:04 +0000)]
one more step

16 years agoavoid stack print when running --help
Thierry Parmentelat [Fri, 18 Jan 2008 10:44:45 +0000 (10:44 +0000)]
avoid stack print when running --help

16 years agoallow to set IP addresses - useful when running steps manually
Thierry Parmentelat [Fri, 18 Jan 2008 10:37:28 +0000 (10:37 +0000)]
allow to set IP addresses - useful when running steps manually

16 years agouse a more helpful vserver name
Thierry Parmentelat [Fri, 18 Jan 2008 09:41:01 +0000 (09:41 +0000)]
use a more helpful vserver name

16 years agosupport for round-robin allocation of vserver addresses - using ping to check for...
Thierry Parmentelat [Fri, 18 Jan 2008 09:21:58 +0000 (09:21 +0000)]
support for round-robin allocation of vserver addresses - using ping to check for free slots

16 years agosupport starting vservers and chroot myplc
Tony Mack [Thu, 17 Jan 2008 22:47:10 +0000 (22:47 +0000)]
support starting vservers and chroot myplc

16 years agomethod that deletes test objects defined in config file qa_config
Tony Mack [Thu, 17 Jan 2008 21:29:20 +0000 (21:29 +0000)]
method that deletes test objects defined in config file qa_config

16 years agomethod that add objects necessary for basic testing. these test objects must be defin...
Tony Mack [Thu, 17 Jan 2008 21:28:37 +0000 (21:28 +0000)]
method that add objects necessary for basic testing. these test objects must be defined in the config file qa_config

16 years agopersistence for the config option as well
Thierry Parmentelat [Thu, 17 Jan 2008 12:03:50 +0000 (12:03 +0000)]
persistence for the config option as well

16 years agobe smarter if nodegroups is set as a string instead of an array
Thierry Parmentelat [Wed, 16 Jan 2008 20:50:10 +0000 (20:50 +0000)]
be smarter if nodegroups is set as a string instead of an array

16 years agochecks boot state of the specified node
Tony Mack [Wed, 16 Jan 2008 18:34:07 +0000 (18:34 +0000)]
checks boot state of the specified node

16 years agoupdate wifi setup
Thierry Parmentelat [Wed, 16 Jan 2008 15:02:01 +0000 (15:02 +0000)]
update wifi setup

16 years agoadd relevant svn keywords
Thierry Parmentelat [Wed, 16 Jan 2008 14:54:35 +0000 (14:54 +0000)]
add relevant svn keywords

16 years agoAPI unit test intended to test every api method
Tony Mack [Tue, 15 Jan 2008 22:15:07 +0000 (22:15 +0000)]
API unit test intended to test every api method

16 years agomethod for booting nodes
Tony Mack [Tue, 15 Jan 2008 21:48:35 +0000 (21:48 +0000)]
method for booting nodes

16 years agosupport for nodegroups, several nodenetworks and related settings
Thierry Parmentelat [Mon, 14 Jan 2008 11:10:52 +0000 (11:10 +0000)]
support for nodegroups, several nodenetworks and related settings

16 years agoinstalling qemu for node testing
Marc Fiuczynski [Thu, 10 Jan 2008 21:32:47 +0000 (21:32 +0000)]
installing qemu for node testing

16 years agorename myplc-init-vserver into vtest-init-vserver
Thierry Parmentelat [Thu, 10 Jan 2008 11:34:36 +0000 (11:34 +0000)]
rename myplc-init-vserver into vtest-init-vserver

16 years agofirst install myplc-native
Marc Fiuczynski [Wed, 9 Jan 2008 22:14:33 +0000 (22:14 +0000)]
first install myplc-native

16 years agobeginning of selftest
Marc Fiuczynski [Wed, 9 Jan 2008 21:41:22 +0000 (21:41 +0000)]
beginning of selftest

16 years agoonly import callable classes that have the 'status' attribute
Tony Mack [Tue, 8 Jan 2008 20:53:47 +0000 (20:53 +0000)]
only import callable classes that have the 'status' attribute

16 years agoadd 'status' attribute to help facilitate importing
Tony Mack [Tue, 8 Jan 2008 20:53:04 +0000 (20:53 +0000)]
add 'status' attribute to help facilitate importing

16 years agofix errors
Tony Mack [Tue, 8 Jan 2008 19:32:04 +0000 (19:32 +0000)]
fix errors

16 years agoremoved unnecessary prints
Tony Mack [Tue, 8 Jan 2008 18:46:36 +0000 (18:46 +0000)]
removed unnecessary prints

16 years agosupport loadingg module files with multiple classes
Tony Mack [Tue, 8 Jan 2008 17:53:31 +0000 (17:53 +0000)]
support loadingg module files with multiple classes

16 years agoA script to invoke qemu properly under a variety of settings.
Marc Fiuczynski [Mon, 7 Jan 2008 22:26:31 +0000 (22:26 +0000)]
A script to invoke qemu properly under a variety of settings.

Supports:
- VDE for networking of multiple qemu instances (e.g., plc head + node).
- USER networking as provided by qemu.
- Can redirect console output to terminal.  No need for graphics or
  X-windows.  Hopefully this will ease automated testing.

Not fully tested:
- multihoming support
- loading vm snapshots
- SMP

Not at all supported:
- TAP networking

16 years agofix syntax errors, no longer import System.py
Tony Mack [Mon, 7 Jan 2008 18:27:34 +0000 (18:27 +0000)]
fix syntax errors, no longer import System.py

16 years agoremove 'all'
Tony Mack [Mon, 7 Jan 2008 18:19:05 +0000 (18:19 +0000)]
remove 'all'

16 years agoremove
Tony Mack [Mon, 7 Jan 2008 18:18:28 +0000 (18:18 +0000)]
remove

16 years agoremove
Tony Mack [Mon, 7 Jan 2008 18:16:56 +0000 (18:16 +0000)]
remove

16 years agoremove
Tony Mack [Mon, 7 Jan 2008 18:16:25 +0000 (18:16 +0000)]
remove

16 years agoinitial checkin of qa api
Tony Mack [Mon, 7 Jan 2008 15:24:25 +0000 (15:24 +0000)]
initial checkin of qa api

16 years agorenamed steps and configs to use _ rather than -
Thierry Parmentelat [Fri, 4 Jan 2008 09:46:06 +0000 (09:46 +0000)]
renamed steps and configs to use _ rather than -

16 years agocould not run, failed to create initscripts
Thierry Parmentelat [Fri, 4 Jan 2008 09:19:41 +0000 (09:19 +0000)]
could not run, failed to create initscripts

16 years agocosmetic
Thierry Parmentelat [Thu, 3 Jan 2008 17:55:18 +0000 (17:55 +0000)]
cosmetic

16 years agoraise the exception
Tony Mack [Thu, 3 Jan 2008 17:14:07 +0000 (17:14 +0000)]
raise the exception

16 years agocan clean nodes
Thierry Parmentelat [Thu, 3 Jan 2008 16:00:05 +0000 (16:00 +0000)]
can clean nodes

16 years agocleanup the script section, needed after recent changes, otherwise a false failure...
Thierry Parmentelat [Thu, 3 Jan 2008 15:21:44 +0000 (15:21 +0000)]
cleanup the script section, needed after recent changes, otherwise a false failure is reported

16 years agoignore failures of vserver delete as it is ran unconditionnally
Thierry Parmentelat [Fri, 21 Dec 2007 16:18:50 +0000 (16:18 +0000)]
ignore failures of vserver delete as it is ran unconditionnally

16 years agouse -c onelab -c onelab-vserver to turn into vserver-based config
Thierry Parmentelat [Fri, 21 Dec 2007 16:15:21 +0000 (16:15 +0000)]
use -c onelab -c onelab-vserver to turn into vserver-based config

16 years agovserver mode not operational yet, despite a few tweaks
Thierry Parmentelat [Fri, 21 Dec 2007 15:46:32 +0000 (15:46 +0000)]
vserver mode not operational yet, despite a few tweaks

16 years agofirst draft for vserver-based native myplc
Thierry Parmentelat [Fri, 21 Dec 2007 15:17:35 +0000 (15:17 +0000)]
first draft for vserver-based native myplc

16 years agologging utility
Tony Mack [Thu, 20 Dec 2007 17:26:49 +0000 (17:26 +0000)]
logging utility