tests.git
11 years agoSetting tag tests-5.2-1 tests-5.2-1
Thierry Parmentelat [Thu, 7 Mar 2013 08:02:50 +0000 (09:02 +0100)]
Setting tag tests-5.2-1
ok for 5.2; new steps
node-bmlogs to check for bm log uploads, and
ssh-slice-basics to check for correct retcod of ssh, and for 'ps' in a slice
has a new Completer class for managing tasks like 'waiting for sometime
until this set of conditions are met' which is used for checking
ssh access and all;
now used for check-initscripts as well as this may take more time
deprecated the --restart-nm option that hasn't been useful in years

11 years agobump to 5.2
Thierry Parmentelat [Thu, 7 Mar 2013 07:25:40 +0000 (08:25 +0100)]
bump to 5.2

11 years agossh-slice-sfa was using a wrong userid
Thierry Parmentelat [Tue, 5 Mar 2013 18:42:56 +0000 (19:42 +0100)]
ssh-slice-sfa was using a wrong userid

11 years agonew class Completer for simplifying all the code that tries to monitor
Thierry Parmentelat [Tue, 5 Mar 2013 15:46:47 +0000 (16:46 +0100)]
new class Completer for simplifying all the code that tries to monitor
several things within a given timeframe
use for initscripts that seems to trigger less fast than they used to
in some cases/builds

11 years agosince we run ssh-node-boot@1 we have to only run node-bmlogs on @1
Thierry Parmentelat [Sat, 2 Mar 2013 08:00:42 +0000 (09:00 +0100)]
since we run ssh-node-boot@1 we have to only run node-bmlogs on @1

11 years agoadd ssh-slice-basics
Thierry Parmentelat [Thu, 28 Feb 2013 11:19:14 +0000 (12:19 +0100)]
add ssh-slice-basics

11 years agoadd step to check for uploaded bm logs
Thierry Parmentelat [Thu, 28 Feb 2013 10:32:17 +0000 (11:32 +0100)]
add step to check for uploaded bm logs

11 years agoSetting tag tests-5.1-10 tests-5.1-10 tests-5.2-0
Thierry Parmentelat [Thu, 21 Feb 2013 11:24:17 +0000 (12:24 +0100)]
Setting tag tests-5.1-10
add plcapi-urls step to check PLCAPI through several urls

11 years agofix
Thierry Parmentelat [Fri, 15 Feb 2013 19:24:56 +0000 (20:24 +0100)]
fix

11 years agoplcapi-urls checks for required urls only (the ones ending in /)
Thierry Parmentelat [Fri, 15 Feb 2013 15:57:30 +0000 (16:57 +0100)]
plcapi-urls checks for required urls only (the ones ending in /)

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/tests
Thierry Parmentelat [Tue, 12 Feb 2013 07:12:16 +0000 (08:12 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/tests

11 years agogorillaz does not build anymore now that all boxes run f14 and are f18 capable
Thierry Parmentelat [Tue, 12 Feb 2013 07:12:06 +0000 (08:12 +0100)]
gorillaz does not build anymore now that all boxes run f14 and are f18 capable

11 years agolxc-driver : cosmetic
Mohamed Larabi [Wed, 6 Feb 2013 17:47:00 +0000 (18:47 +0100)]
lxc-driver : cosmetic

11 years agoshow error
Thierry Parmentelat [Wed, 6 Feb 2013 07:06:10 +0000 (08:06 +0100)]
show error

11 years agoadded plcapi_urls step
Thierry Parmentelat [Tue, 5 Feb 2013 12:40:02 +0000 (13:40 +0100)]
added plcapi_urls step

11 years ago..
Thierry Parmentelat [Tue, 5 Feb 2013 09:44:38 +0000 (10:44 +0100)]
..

11 years agoscan URL's for xmlrpclib
Thierry Parmentelat [Tue, 5 Feb 2013 09:44:21 +0000 (10:44 +0100)]
scan URL's for xmlrpclib

11 years agodisabling deathvegas for now
Thierry Parmentelat [Fri, 1 Feb 2013 21:06:29 +0000 (22:06 +0100)]
disabling deathvegas for now

11 years agooops remove duplicate deathvegas
Thierry Parmentelat [Fri, 1 Feb 2013 17:37:52 +0000 (18:37 +0100)]
oops remove duplicate deathvegas

11 years agodeclare deathvegas as a second lxc box
Thierry Parmentelat [Fri, 1 Feb 2013 17:35:17 +0000 (18:35 +0100)]
declare deathvegas as a second lxc box

11 years agoadd deathvegas
Thierry Parmentelat [Thu, 31 Jan 2013 04:30:41 +0000 (05:30 +0100)]
add deathvegas

11 years agoless strict when parsing ps lines on build boxes
Thierry Parmentelat [Sat, 19 Jan 2013 07:03:50 +0000 (08:03 +0100)]
less strict when parsing ps lines on build boxes
for if e.g. init-vbuild-vserver.sh is used with -P develsfa.pkgs

11 years agobuild debian stuff on gorillaz b/c it runs f14
Thierry Parmentelat [Fri, 18 Jan 2013 16:34:48 +0000 (17:34 +0100)]
build debian stuff on gorillaz b/c it runs f14

11 years agoSetting tag tests-5.1-9 tests-5.1-9
Thierry Parmentelat [Wed, 19 Dec 2012 07:29:51 +0000 (08:29 +0100)]
Setting tag tests-5.1-9
add a check_vsys_defaults step but for some reason that doesn't pass
even though slices created later on do have the tags set
so for now it's not enabled as a standard step

11 years agoadd comment about where check-vsys-defaults should go
Thierry Parmentelat [Tue, 18 Dec 2012 22:36:06 +0000 (23:36 +0100)]
add comment about where check-vsys-defaults should go

11 years agocheck-vsys-defaults seems to have the right logic but somehow this will
Thierry Parmentelat [Tue, 18 Dec 2012 22:33:42 +0000 (23:33 +0100)]
check-vsys-defaults seems to have the right logic but somehow this will
fail when the slice is created by the test framework so get this out
of the way for now

11 years agotest PLC_VSYS_DEFAULTS
Thierry Parmentelat [Tue, 18 Dec 2012 08:33:20 +0000 (09:33 +0100)]
test PLC_VSYS_DEFAULTS

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/tests
Thierry Parmentelat [Tue, 11 Dec 2012 15:58:18 +0000 (16:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/tests

11 years agobugfix
Thierry Parmentelat [Tue, 11 Dec 2012 15:58:10 +0000 (16:58 +0100)]
bugfix

11 years agoSetting tag tests-5.1-8 tests-5.1-8
Thierry Parmentelat [Tue, 11 Dec 2012 11:05:54 +0000 (12:05 +0100)]
Setting tag tests-5.1-8
can configure timeout(s) for node boot from the outside
bignode is precisely for nodes that need to wait longer

11 years agooops, bignode was broken
Thierry Parmentelat [Wed, 28 Nov 2012 08:24:20 +0000 (09:24 +0100)]
oops, bignode was broken

11 years agoconfigurable timers for ssh_node*
Thierry Parmentelat [Tue, 27 Nov 2012 09:09:47 +0000 (10:09 +0100)]
configurable timers for ssh_node*

11 years agofix plc_configure -- finish reverting previous change
Thierry Parmentelat [Tue, 17 Jul 2012 11:57:56 +0000 (13:57 +0200)]
fix plc_configure -- finish reverting previous change

11 years agorevert changes to plc_configure()
Tony Mack [Mon, 16 Jul 2012 16:52:43 +0000 (12:52 -0400)]
revert changes to plc_configure()

11 years agouse sfa-config-tty to configure sfa
Tony Mack [Mon, 16 Jul 2012 16:47:30 +0000 (12:47 -0400)]
use sfa-config-tty to configure sfa

11 years agoSetting tag tests-5.1-7 tests-5.1-7
Thierry Parmentelat [Mon, 9 Jul 2012 10:18:47 +0000 (12:18 +0200)]
Setting tag tests-5.1-7
improved (now cross_)check_tcp to run more combos or server/client, and use 2 nodes whenever possible
new step sfa-renew-slice
new convenience step debug-nodemanager
run export to report only about 1st plc
new step sfa-fsclean to clean up filesystem

11 years agobugfix
Thierry Parmentelat [Sun, 8 Jul 2012 23:01:10 +0000 (01:01 +0200)]
bugfix

11 years agonew step sfa_fsclean, and added to the 'sfa' macro step
Thierry Parmentelat [Thu, 5 Jul 2012 16:14:39 +0000 (18:14 +0200)]
new step sfa_fsclean, and added to the 'sfa' macro step

11 years agoreturn True for export on secondary plcs
Thierry Parmentelat [Thu, 5 Jul 2012 13:15:04 +0000 (15:15 +0200)]
return True for export on secondary plcs

11 years agorevert to using sfaadmin reg import_registry for lxc16 builds that
Thierry Parmentelat [Thu, 5 Jul 2012 10:13:06 +0000 (12:13 +0200)]
revert to using sfaadmin reg import_registry for lxc16 builds that
don't run the latest sfa

11 years agotry sfaadmin reg import
Thierry Parmentelat [Wed, 4 Jul 2012 15:30:34 +0000 (17:30 +0200)]
try sfaadmin reg import

11 years agotweak run export for multi-plcs, only report about the first one
Thierry Parmentelat [Wed, 4 Jul 2012 07:10:16 +0000 (09:10 +0200)]
tweak run export for multi-plcs, only report about the first one

11 years agotweak check_tcp again
Thierry Parmentelat [Fri, 29 Jun 2012 07:57:30 +0000 (09:57 +0200)]
tweak check_tcp again

11 years agotry the tcp client twice
Thierry Parmentelat [Wed, 27 Jun 2012 18:47:20 +0000 (20:47 +0200)]
try the tcp client twice

11 years agoincrease timeout of tcp server
Thierry Parmentelat [Wed, 27 Jun 2012 18:42:12 +0000 (20:42 +0200)]
increase timeout of tcp server

11 years agoadd sfa_renew_slice to the sfa macro
Thierry Parmentelat [Sun, 24 Jun 2012 22:23:07 +0000 (00:23 +0200)]
add sfa_renew_slice to the sfa macro

11 years agobugfix
Thierry Parmentelat [Sun, 24 Jun 2012 22:03:40 +0000 (00:03 +0200)]
bugfix

11 years agonew sfa_renew_slice step
Thierry Parmentelat [Thu, 21 Jun 2012 14:58:37 +0000 (16:58 +0200)]
new sfa_renew_slice step

11 years agoimprove check_tcp a lot
Thierry Parmentelat [Thu, 21 Jun 2012 11:14:20 +0000 (13:14 +0200)]
improve check_tcp a lot

11 years agominor fix
Thierry Parmentelat [Thu, 21 Jun 2012 08:38:46 +0000 (10:38 +0200)]
minor fix

11 years agonew step debug_nodemanager
Thierry Parmentelat [Tue, 19 Jun 2012 13:14:26 +0000 (15:14 +0200)]
new step debug_nodemanager

11 years agosfi_slices out of sfa_standalone, again
Thierry Parmentelat [Fri, 15 Jun 2012 05:01:36 +0000 (08:01 +0300)]
sfi_slices out of sfa_standalone, again

11 years agokvm64-{4,5} often end up with nodes spending more than 20 minutes
Thierry Parmentelat [Tue, 12 Jun 2012 10:49:56 +0000 (12:49 +0200)]
kvm64-{4,5} often end up with nodes spending more than 20 minutes
getting started, let's lower their burden

11 years agooops
Thierry Parmentelat [Tue, 12 Jun 2012 09:24:55 +0000 (11:24 +0200)]
oops

11 years agochecking system slice will try netflow and drl
Thierry Parmentelat [Tue, 12 Jun 2012 09:22:39 +0000 (11:22 +0200)]
checking system slice will try netflow and drl

11 years agosfi_slices requires an aggregate, so won't work in standalone mode
Thierry Parmentelat [Tue, 12 Jun 2012 09:05:43 +0000 (11:05 +0200)]
sfi_slices requires an aggregate, so won't work in standalone mode

11 years agotypo
Thierry Parmentelat [Mon, 11 Jun 2012 09:50:08 +0000 (11:50 +0200)]
typo

11 years agoSetting tag tests-5.1-6 tests-5.1-6
Thierry Parmentelat [Sun, 3 Jun 2012 13:29:32 +0000 (15:29 +0200)]
Setting tag tests-5.1-6
missing import

11 years agomissing import
Thierry Parmentelat [Sun, 3 Jun 2012 12:10:07 +0000 (14:10 +0200)]
missing import

11 years agoSetting tag tests-5.1-5 tests-5.1-5
Thierry Parmentelat [Sat, 2 Jun 2012 12:25:59 +0000 (14:25 +0200)]
Setting tag tests-5.1-5
refactored the sfa area
use new sfi interface (options instead of xml file)

11 years agoreviewed imports between TestAuthSfa and TestSliceSfa
Thierry Parmentelat [Sat, 2 Jun 2012 11:25:34 +0000 (13:25 +0200)]
reviewed imports between TestAuthSfa and TestSliceSfa

11 years agoenable regular sfa user with sfi update
Thierry Parmentelat [Sat, 2 Jun 2012 11:08:06 +0000 (13:08 +0200)]
enable regular sfa user with sfi update

11 years agoa few more tweaks
Thierry Parmentelat [Fri, 1 Jun 2012 21:03:41 +0000 (23:03 +0200)]
a few more tweaks

11 years agomissing import
Thierry Parmentelat [Fri, 1 Jun 2012 19:11:36 +0000 (21:11 +0200)]
missing import

11 years agonow that we create an SFA auth to hold the sfa entities involved:
Thierry Parmentelat [Fri, 1 Jun 2012 18:00:42 +0000 (20:00 +0200)]
now that we create an SFA auth to hold the sfa entities involved:
refactored tests to split TestAuthSfa and TestSliceSfa
cleaned up the config side a lot as well as a bonus

11 years agouse current sfi with --extra
Thierry Parmentelat [Thu, 31 May 2012 16:22:06 +0000 (18:22 +0200)]
use current sfi with --extra

11 years agoreviewed the ssh keys system
Thierry Parmentelat [Wed, 30 May 2012 13:56:47 +0000 (15:56 +0200)]
reviewed the ssh keys system
use 5 different keys for pladmins, plpis, plusers, sfapis and sfausers
kind of intrusive so probably not quite thorough

11 years agouse 4 different keys for (pl,sfa) x (pi,user)
Thierry Parmentelat [Wed, 30 May 2012 11:01:00 +0000 (13:01 +0200)]
use 4 different keys for (pl,sfa) x (pi,user)
invoke sfi instead of sfi.py

11 years agoneed to cleanup sfi work dirs
Thierry Parmentelat [Wed, 30 May 2012 10:58:10 +0000 (12:58 +0200)]
need to cleanup sfi work dirs

11 years agouser creation is done with new sfi options instead of xml-based
Thierry Parmentelat [Wed, 30 May 2012 10:03:34 +0000 (12:03 +0200)]
user creation is done with new sfi options instead of xml-based

11 years agostep sfa-create needs site and pi creation as well
Thierry Parmentelat [Wed, 30 May 2012 10:02:55 +0000 (12:02 +0200)]
step sfa-create needs site and pi creation as well

11 years agoprovide a bit more info when check-sys-slice fails
Thierry Parmentelat [Fri, 25 May 2012 08:53:59 +0000 (10:53 +0200)]
provide a bit more info when check-sys-slice fails

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/tests
Thierry Parmentelat [Thu, 24 May 2012 08:17:07 +0000 (10:17 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/tests

11 years agobuilds that don't provide SFA need to skip steps in 'sfi' as well
Thierry Parmentelat [Thu, 24 May 2012 08:16:52 +0000 (10:16 +0200)]
builds that don't provide SFA need to skip steps in 'sfi' as well

11 years agoSetting tag tests-5.1-4 tests-5.1-4
Thierry Parmentelat [Wed, 23 May 2012 13:51:59 +0000 (15:51 +0200)]
Setting tag tests-5.1-4
check for slice to be brought down
new speed-up-slices step
reviewed for standalone SFA

11 years agocomment
Thierry Parmentelat [Wed, 23 May 2012 10:36:47 +0000 (12:36 +0200)]
comment

11 years agosfa_import only relies on sfaadmin
Thierry Parmentelat [Wed, 23 May 2012 10:16:02 +0000 (12:16 +0200)]
sfa_import only relies on sfaadmin
sfa_standalone does invoke sfa-import to create the toplevel auth record

11 years agoimprove formatting of run -lv for nested macros
Thierry Parmentelat [Wed, 23 May 2012 10:04:36 +0000 (12:04 +0200)]
improve formatting of run -lv for nested macros

11 years agorenamed sfa_* into sfi_* for steps list/show/slices
Thierry Parmentelat [Wed, 23 May 2012 09:41:28 +0000 (11:41 +0200)]
renamed sfa_* into sfi_* for steps list/show/slices

11 years agofix old bug about doc strings for mapped methods
Thierry Parmentelat [Wed, 23 May 2012 09:35:56 +0000 (11:35 +0200)]
fix old bug about doc strings for mapped methods
trim TestPlc accordingly, have the doc where it belongs
split sfa_view into sfa_list sfa_show and sfa_slices

11 years agoattempt to workaround the odd issue with yum failing to install sfa-client
Thierry Parmentelat [Wed, 23 May 2012 08:19:28 +0000 (10:19 +0200)]
attempt to workaround the odd issue with yum failing to install sfa-client
[('installing package sfa-client-2.1-7.onelab.2012.05.23.i686 needs 68KB on the / filesystem', (9, '/', 69632L))]

11 years agousing flavour=void, the sfa-standalone step can check more stuff
Thierry Parmentelat [Tue, 22 May 2012 14:44:36 +0000 (16:44 +0200)]
using flavour=void, the sfa-standalone step can check more stuff

11 years agonew step speed-up-slices
Thierry Parmentelat [Tue, 22 May 2012 14:44:08 +0000 (16:44 +0200)]
new step speed-up-slices
finer-grained steps to remove nodes from slice
check that sliver is *not* reachable once deleted
various fixes

11 years agocontinued
Thierry Parmentelat [Tue, 22 May 2012 14:41:55 +0000 (16:41 +0200)]
continued

11 years agominor fix for handling _ and - in step names
Thierry Parmentelat [Tue, 22 May 2012 14:39:18 +0000 (16:39 +0200)]
minor fix for handling _ and - in step names

11 years ago-c sfavoid allows to test with flavour=void
Thierry Parmentelat [Tue, 22 May 2012 14:38:46 +0000 (16:38 +0200)]
-c sfavoid allows to test with flavour=void

11 years agodry_run might be undefined in options
Thierry Parmentelat [Mon, 21 May 2012 14:46:02 +0000 (16:46 +0200)]
dry_run might be undefined in options

11 years agomissing import
Thierry Parmentelat [Mon, 21 May 2012 14:44:31 +0000 (16:44 +0200)]
missing import

11 years agoavoid infinite recursion
Thierry Parmentelat [Mon, 21 May 2012 14:43:34 +0000 (16:43 +0200)]
avoid infinite recursion

11 years agouse simpler names for sfa entities
Thierry Parmentelat [Tue, 15 May 2012 13:05:02 +0000 (15:05 +0200)]
use simpler names for sfa entities

11 years agostop sfa before cleaning up - might lock the db otherwise
Thierry Parmentelat [Tue, 15 May 2012 12:49:33 +0000 (14:49 +0200)]
stop sfa before cleaning up - might lock the db otherwise

11 years agocosmetic
Thierry Parmentelat [Tue, 15 May 2012 08:15:26 +0000 (10:15 +0200)]
cosmetic

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/tests
Thierry Parmentelat [Sun, 13 May 2012 21:24:41 +0000 (23:24 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/tests

11 years agofix typo
Thierry Parmentelat [Sun, 13 May 2012 21:24:30 +0000 (23:24 +0200)]
fix typo

11 years agoSetting tag tests-5.1-3 tests-5.1-3
Thierry Parmentelat [Sat, 12 May 2012 16:06:40 +0000 (18:06 +0200)]
Setting tag tests-5.1-3
the sfa_slice scenario now uses sfaadmin to bootstrap a specific site
where the sfa-related entries are confined
it should thus in principle be possible to test sfa without installing myplc
also added a new key (key3) but that currently is not used ...

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/tests
Thierry Parmentelat [Fri, 11 May 2012 18:22:31 +0000 (20:22 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/tests

11 years agofirst draft at a scenario where SFA stuff gets created independently
Thierry Parmentelat [Fri, 11 May 2012 18:22:19 +0000 (20:22 +0200)]
first draft at a scenario where SFA stuff gets created independently
from myplc, ussing sfaadmin to bootstrap the site & pi

12 years agoSetting tag tests-5.1-2 tests-5.1-2
Thierry Parmentelat [Mon, 7 May 2012 10:30:01 +0000 (12:30 +0200)]
Setting tag tests-5.1-2
knowns about the new interface API - and got rid of lxc-wait

12 years agoremove lxc-wait calls
Mohamed Larabi [Fri, 4 May 2012 12:52:51 +0000 (14:52 +0200)]
remove lxc-wait calls

12 years agofix the way we determine if the PLCAPI is newinterface (AddIpAddress) or not
Thierry Parmentelat [Thu, 26 Apr 2012 07:25:41 +0000 (09:25 +0200)]
fix the way we determine if the PLCAPI is newinterface (AddIpAddress) or not