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

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

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

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

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

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

17 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

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

17 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

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

17 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

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

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

17 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)

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

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

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

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

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

17 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

17 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

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

17 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)

17 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

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

17 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

17 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

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

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

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

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

17 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

17 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

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

17 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'

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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

17 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

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

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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

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

17 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

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

17 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

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

17 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

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

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

17 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

17 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

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

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

17 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

17 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

17 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

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

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

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

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

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

17 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 -

17 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

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

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

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

17 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

17 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

17 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

17 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

17 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