tests.git
9 years agoSetting tag tests-5.3-9 tests-5.3-9
Thierry Parmentelat [Wed, 18 Feb 2015 11:48:48 +0000 (12:48 +0100)]
Setting tag tests-5.3-9
add tests for sfa and empty rspecs

9 years agoturn off the 'fail' step that was causing the builds to fail for forensics purposes
Thierry Parmentelat [Wed, 18 Feb 2015 09:07:25 +0000 (10:07 +0100)]
turn off the 'fail' step that was causing the builds to fail for forensics purposes

9 years agoforce failure after slice-fs-deleted
Thierry Parmentelat [Sun, 8 Feb 2015 11:13:54 +0000 (12:13 +0100)]
force failure after slice-fs-deleted

9 years agodo not ignore slice-fs-deleted
Thierry Parmentelat [Fri, 6 Feb 2015 21:43:32 +0000 (22:43 +0100)]
do not ignore slice-fs-deleted

9 years agoestran out
Thierry Parmentelat [Tue, 14 Oct 2014 07:20:22 +0000 (09:20 +0200)]
estran out

9 years agoestran : max vnodes 3->2, too small disk
Thierry Parmentelat [Mon, 22 Sep 2014 14:30:03 +0000 (16:30 +0200)]
estran : max vnodes 3->2, too small disk

9 years agodecidedly... sfa_rspec_empty needs the sfi/pg dir to have been created beforehand
Thierry Parmentelat [Fri, 22 Aug 2014 10:46:25 +0000 (12:46 +0200)]
decidedly... sfa_rspec_empty needs the sfi/pg dir to have been created beforehand

9 years agothe sfa_{allocate,provision,check_slice_plc}_empty sequence needs to be done later
Thierry Parmentelat [Thu, 21 Aug 2014 16:28:21 +0000 (18:28 +0200)]
the sfa_{allocate,provision,check_slice_plc}_empty sequence needs to be done later

9 years agoSetting tag tests-5.3-8 tests-5.3-8
Thierry Parmentelat [Wed, 20 Aug 2014 13:56:11 +0000 (15:56 +0200)]
Setting tag tests-5.3-8
add a few test steps to check that a slice can be emptied using an empty rspec

9 years agotest that a slice resources can be released using an empty rspec to allocate and...
Thierry Parmentelat [Wed, 20 Aug 2014 11:03:19 +0000 (13:03 +0200)]
test that a slice resources can be released using an empty rspec to allocate and provision, and that this propagates to the plc properly

9 years agoSetting tag tests-5.3-7 tests-5.3-7
Thierry Parmentelat [Wed, 16 Jul 2014 21:19:01 +0000 (23:19 +0200)]
Setting tag tests-5.3-7
run linux32 in 32bits VMs

9 years agovelvet needs attention
Thierry Parmentelat [Mon, 14 Jul 2014 08:48:04 +0000 (10:48 +0200)]
velvet needs attention

9 years agofix for calling stuff on the guest side with the right personality
Thierry Parmentelat [Sun, 13 Jul 2014 11:34:54 +0000 (13:34 +0200)]
fix for calling stuff on the guest side with the right personality

9 years agoSetting tag tests-5.3-6 tests-5.3-6
Thierry Parmentelat [Wed, 4 Jun 2014 08:20:28 +0000 (10:20 +0200)]
Setting tag tests-5.3-6
split sfa-create-slice into 3 distinct steps sfa-rspec sfa-allocate sfa-provision

9 years agoMerge branch 'sfa-geni-v3' of ssh://git.onelab.eu/git/tests into sfa-geni-v3
Thierry Parmentelat [Tue, 3 Jun 2014 14:52:12 +0000 (16:52 +0200)]
Merge branch 'sfa-geni-v3' of ssh://git.onelab.eu/git/tests into sfa-geni-v3

9 years agosplit sfa-create-slice into sfa-rspec\ 1 sfa-allocate and sfa-provision
Thierry Parmentelat [Tue, 3 Jun 2014 14:50:07 +0000 (16:50 +0200)]
split sfa-create-slice into sfa-rspec\ 1 sfa-allocate and sfa-provision

9 years agoSetting tag tests-5.3-5 tests-5.3-5
Thierry Parmentelat [Mon, 2 Jun 2014 07:49:36 +0000 (09:49 +0200)]
Setting tag tests-5.3-5
dropped the pl sfa rspec_style in default config
dropped slice manager, sfi talks to AM directly
bump ram to 1.5Gb
Substrate probes for total memory
rename sfa-add-* steps into sfa-register-*
new steps sfa-remove-user sfa-insert-user-in-slice sfi-show-slice sfi-show-slice-researchers
sfi-show-site slice-fs-deleted slice-fs-present super-speed-up-slices
new macros sfa-populate sfa-delete sfa-user-slice slice-up slice-down slice-up-down
sfa-get-expires pending

9 years agonew step sfa_get_expires is able to retrieve the actual expires timeout in a slice
Thierry Parmentelat [Wed, 28 May 2014 15:39:41 +0000 (17:39 +0200)]
new step sfa_get_expires is able to retrieve the actual expires timeout in a slice
needs to be welded in sfa_renew_slice so we really check renew does what is expected

9 years agoonly test the pg rspec_style
Thierry Parmentelat [Wed, 28 May 2014 09:07:42 +0000 (11:07 +0200)]
only test the pg rspec_style

9 years agooops, should be part of the previous commit, sfi needs to be redirected to the port...
Thierry Parmentelat [Wed, 28 May 2014 09:07:22 +0000 (11:07 +0200)]
oops, should be part of the previous commit, sfi needs to be redirected to the port from config

9 years agoconsidering SM as deprecated :
Thierry Parmentelat [Wed, 28 May 2014 08:44:26 +0000 (10:44 +0200)]
considering SM as deprecated :
tests will use sfi connecting directly to the AM, and turn off the SM

9 years agodo not ignore the ssh-slice-again step; this is still broken in f20
Thierry Parmentelat [Tue, 27 May 2014 08:41:46 +0000 (10:41 +0200)]
do not ignore the ssh-slice-again step; this is still broken in f20

9 years agosuper-speed-up-slices
Thierry Parmentelat [Fri, 23 May 2014 13:36:12 +0000 (15:36 +0200)]
super-speed-up-slices

9 years agohide enfoui
Thierry Parmentelat [Thu, 22 May 2014 16:10:39 +0000 (18:10 +0200)]
hide enfoui

9 years agoremove warning that is mor econfusing than helpful
Thierry Parmentelat [Thu, 22 May 2014 14:39:22 +0000 (16:39 +0200)]
remove warning that is mor econfusing than helpful

9 years agoenfoui is back in business as a kvm box
Thierry Parmentelat [Thu, 22 May 2014 11:52:35 +0000 (13:52 +0200)]
enfoui is back in business as a kvm box

9 years agoRAM for test nodes = 1.5 Gb
Thierry Parmentelat [Thu, 22 May 2014 10:45:42 +0000 (12:45 +0200)]
RAM for test nodes = 1.5 Gb
adjust max kvm nodes per box accordingly

9 years agoprobe for boxes memory
Thierry Parmentelat [Thu, 22 May 2014 10:31:43 +0000 (12:31 +0200)]
probe for boxes memory

9 years agoincrease memory for test nodes to 2Gb
Thierry Parmentelat [Wed, 21 May 2014 13:18:16 +0000 (15:18 +0200)]
increase memory for test nodes to 2Gb

9 years agoCompleterTask used to have a failure_message mechanism, then we added failure_epilogu...
Thierry Parmentelat [Wed, 21 May 2014 08:15:34 +0000 (10:15 +0200)]
CompleterTask used to have a failure_message mechanism, then we added failure_epilogue, now we remove failure_message

9 years agocleanup slice-fs-* steps, nicer output, and shows contents when it's wrong
Thierry Parmentelat [Wed, 21 May 2014 08:05:26 +0000 (10:05 +0200)]
cleanup slice-fs-* steps, nicer output, and shows contents when it's wrong
next step is to unify failure_message and failure_epilogue

9 years agooops again
Thierry Parmentelat [Tue, 20 May 2014 14:19:25 +0000 (16:19 +0200)]
oops again

9 years agooops
Thierry Parmentelat [Tue, 20 May 2014 11:57:27 +0000 (13:57 +0200)]
oops

9 years agothis is how TestMapper deals with subfields
Thierry Parmentelat [Tue, 20 May 2014 11:05:20 +0000 (13:05 +0200)]
this is how TestMapper deals with subfields

9 years agoisolate settings for plc-config-tty or sfa-config-tty in a separate 'settings' dict...
Thierry Parmentelat [Tue, 20 May 2014 09:07:40 +0000 (11:07 +0200)]
isolate settings for plc-config-tty or sfa-config-tty in a separate 'settings'  dict to avoid the necessity to repeat these in TestPlc.py
some were missing like PLC_HRN_ROOT and PLC_SHORTNAME

9 years agofix decorator slice_mapper__tasks so that steps can be ignored
Thierry Parmentelat [Tue, 20 May 2014 05:30:26 +0000 (07:30 +0200)]
fix decorator slice_mapper__tasks so that steps can be ignored

9 years agotask-ified version of slice-fs-{present,deleted}
Thierry Parmentelat [Mon, 19 May 2014 09:48:00 +0000 (11:48 +0200)]
task-ified version of slice-fs-{present,deleted}
of course deleting the filesystem takes some time, and so checking for deletion right after we get ssh denied is not reliable, we need to give the node some time (2 mn) to complete this

9 years agoignore result of slice_fs_deleted
Thierry Parmentelat [Thu, 15 May 2014 07:47:01 +0000 (09:47 +0200)]
ignore result of slice_fs_deleted

9 years agonew steps slice-fs-present and slice-fs-deleted - call slice-fs-deleted before re...
Thierry Parmentelat [Tue, 13 May 2014 17:07:15 +0000 (19:07 +0200)]
new steps slice-fs-present and slice-fs-deleted - call slice-fs-deleted before re-creating a slice

9 years agogotan -> deathvegas
Thierry Parmentelat [Tue, 6 May 2014 09:33:56 +0000 (05:33 -0400)]
gotan -> deathvegas

9 years agorun sfi register rather than sfi add
Thierry Parmentelat [Wed, 30 Apr 2014 12:11:56 +0000 (14:11 +0200)]
run sfi register rather than sfi add
fix ambiguity with pl and pg users having the same email address

9 years agonew test steps - exercise sfi update to remove/insert a user in a slice
Thierry Parmentelat [Mon, 28 Apr 2014 14:34:47 +0000 (16:34 +0200)]
new test steps - exercise sfi update to remove/insert a user in a slice

9 years agocleanup
Thierry Parmentelat [Mon, 28 Apr 2014 14:33:49 +0000 (16:33 +0200)]
cleanup

9 years agocannot use with
Thierry Parmentelat [Mon, 28 Apr 2014 14:33:30 +0000 (16:33 +0200)]
cannot use with

9 years agorename sfi_show as sfi_show_site and add a new sfa_show_slice
Thierry Parmentelat [Mon, 28 Apr 2014 13:31:27 +0000 (15:31 +0200)]
rename sfi_show as sfi_show_site and add a new sfa_show_slice

9 years agorename user to avoid confusion with internal fields that are named reg- in the sfa...
Thierry Parmentelat [Mon, 28 Apr 2014 13:30:40 +0000 (15:30 +0200)]
rename user to avoid confusion with internal fields that are named reg- in the sfa code

9 years agoSetting tag tests-5.3-4 tests-5.3-4
Thierry Parmentelat [Mon, 28 Apr 2014 11:10:25 +0000 (13:10 +0200)]
Setting tag tests-5.3-4
new step probe_kvm_iptables to help troubleshoot the test infra

10 years agoshow kvm box iptables before pinging node
Thierry Parmentelat [Mon, 14 Apr 2014 12:33:22 +0000 (14:33 +0200)]
show kvm box iptables before pinging node

10 years agoSetting tag tests-5.3-3 tests-5.3-3
Thierry Parmentelat [Fri, 4 Apr 2014 08:55:31 +0000 (10:55 +0200)]
Setting tag tests-5.3-3
check for the case where users have dashes in their hrn

10 years agouse dash in user HRN's for testing this
Thierry Parmentelat [Tue, 1 Apr 2014 09:41:38 +0000 (11:41 +0200)]
use dash in user HRN's for testing this

10 years agono functional change, but a small cleanup on how sfa users are configured
Thierry Parmentelat [Tue, 1 Apr 2014 07:34:48 +0000 (09:34 +0200)]
no functional change, but a small cleanup on how sfa users are configured

10 years agoSetting tag tests-5.3-2 tests-5.3-2
Thierry Parmentelat [Fri, 21 Mar 2014 15:52:21 +0000 (16:52 +0100)]
Setting tag tests-5.3-2
substrate has vastly moved to lxc-based setups, drop vs
can ignore steps
+ quite some stuff...

10 years agotake deathvegas out of this pool
Thierry Parmentelat [Wed, 12 Mar 2014 11:29:01 +0000 (12:29 +0100)]
take deathvegas out of this pool

10 years agono _ignore in steps, apparently
Thierry Parmentelat [Thu, 20 Feb 2014 15:35:30 +0000 (16:35 +0100)]
no _ignore in steps, apparently

10 years agochecking if build has sfa is typically long, let's cache this
Thierry Parmentelat [Fri, 7 Feb 2014 07:52:50 +0000 (08:52 +0100)]
checking if build has sfa is typically long, let's cache this

10 years agofix qemu-export in dry-run
Thierry Parmentelat [Fri, 7 Feb 2014 07:41:40 +0000 (08:41 +0100)]
fix qemu-export in dry-run

10 years agodecorators maintain __name__ in returned function so that these steps can be ignored
Thierry Parmentelat [Fri, 7 Feb 2014 07:38:00 +0000 (08:38 +0100)]
decorators maintain __name__ in returned function so that these steps can be ignored

10 years agoenfoui is currently down
Thierry Parmentelat [Thu, 6 Feb 2014 16:49:57 +0000 (17:49 +0100)]
enfoui is currently down

10 years agore-instate check-vsys-defaults as an ignored step
Thierry Parmentelat [Thu, 6 Feb 2014 15:22:47 +0000 (16:22 +0100)]
re-instate check-vsys-defaults as an ignored step
renamed a few steps for consistency
define macro steps for testing the ability of a qemu box to kick off a node (qemu-again*)

10 years agoa sanity check for duplicate vnodes
Thierry Parmentelat [Thu, 6 Feb 2014 15:20:52 +0000 (16:20 +0100)]
a sanity check for duplicate vnodes

10 years agonicer msg
Thierry Parmentelat [Thu, 6 Feb 2014 11:31:01 +0000 (12:31 +0100)]
nicer msg

10 years agotrash Vs-oriented stuff
Thierry Parmentelat [Thu, 6 Feb 2014 11:30:08 +0000 (12:30 +0100)]
trash Vs-oriented stuff

10 years agorenumbered kvm boxes again
Thierry Parmentelat [Tue, 4 Feb 2014 09:17:09 +0000 (10:17 +0100)]
renumbered kvm boxes again

10 years agodecidedly
Thierry Parmentelat [Fri, 31 Jan 2014 06:27:10 +0000 (07:27 +0100)]
decidedly

10 years agobugfix
Thierry Parmentelat [Thu, 30 Jan 2014 15:57:33 +0000 (16:57 +0100)]
bugfix

10 years agothis seems to work for the special f… f14 VMs under f20
Thierry Parmentelat [Thu, 30 Jan 2014 15:16:54 +0000 (16:16 +0100)]
this seems to work for the special f… f14 VMs under f20
I can’t wait to drop support for f14

10 years agocosmetic
Thierry Parmentelat [Thu, 30 Jan 2014 14:50:51 +0000 (15:50 +0100)]
cosmetic

10 years agoagain
Thierry Parmentelat [Thu, 30 Jan 2014 08:02:39 +0000 (09:02 +0100)]
again

10 years agobugfix
Thierry Parmentelat [Thu, 30 Jan 2014 08:01:47 +0000 (09:01 +0100)]
bugfix

10 years agofix quoting issues in the comman-building chain
Thierry Parmentelat [Wed, 29 Jan 2014 20:55:19 +0000 (21:55 +0100)]
fix quoting issues in the comman-building chain

10 years agoget rid of sequels of vs-based boxes
Thierry Parmentelat [Wed, 29 Jan 2014 20:18:34 +0000 (21:18 +0100)]
get rid of sequels of vs-based boxes
use virsh lxc-enter-namespace instead of ssh to talk to TestPlc

10 years agodrop support for vs-hosted plcs
Thierry Parmentelat [Wed, 29 Jan 2014 13:53:56 +0000 (14:53 +0100)]
drop support for vs-hosted plcs
tweak for f14 plcs under f20 hosts

10 years agocosmetic improvement for the daily mail
Thierry Parmentelat [Wed, 29 Jan 2014 09:59:37 +0000 (10:59 +0100)]
cosmetic improvement for the daily mail

10 years agorenumberd kvm64 boxes
Thierry Parmentelat [Tue, 28 Jan 2014 12:13:36 +0000 (13:13 +0100)]
renumberd kvm64 boxes

10 years agowarhol is now off the hook
Thierry Parmentelat [Tue, 28 Jan 2014 09:20:43 +0000 (10:20 +0100)]
warhol is now off the hook

10 years agoall build boxes run lxc
Thierry Parmentelat [Tue, 28 Jan 2014 08:53:56 +0000 (09:53 +0100)]
all build boxes run lxc

10 years agoput gotan back to business
Thierry Parmentelat [Tue, 28 Jan 2014 07:14:50 +0000 (08:14 +0100)]
put gotan back to business

10 years agoprint out exit codes
Thierry Parmentelat [Mon, 27 Jan 2014 13:31:49 +0000 (14:31 +0100)]
print out exit codes

10 years agocleanup
Thierry Parmentelat [Mon, 27 Jan 2014 08:50:00 +0000 (09:50 +0100)]
cleanup

10 years agotypo
Thierry Parmentelat [Mon, 27 Jan 2014 08:45:24 +0000 (09:45 +0100)]
typo

10 years agomanage -t now shows a status line with = B or W (for warning)
Thierry Parmentelat [Mon, 27 Jan 2014 08:45:14 +0000 (09:45 +0100)]
manage -t now shows a status line with = B or W (for warning)

10 years agovarious fixes for the warning mode
Thierry Parmentelat [Mon, 27 Jan 2014 08:26:44 +0000 (09:26 +0100)]
various fixes for the warning mode

10 years agomore robust logic for returning retcod when ignored & failure
Thierry Parmentelat [Sat, 25 Jan 2014 22:49:02 +0000 (23:49 +0100)]
more robust logic for returning retcod when ignored & failure
also revert to the following scheme as some exit(1) were already done elsewhere
    # 0: SUCCESS
    # 1: FAILURE
    # 2: SUCCESS but some ignored steps failed
    # 3: OTHER ERROR

10 years agodbg
Thierry Parmentelat [Fri, 24 Jan 2014 20:09:51 +0000 (21:09 +0100)]
dbg

10 years agoimplement retcod as adverized
Thierry Parmentelat [Fri, 24 Jan 2014 17:32:35 +0000 (18:32 +0100)]
implement retcod as adverized

10 years agoexit code
Thierry Parmentelat [Fri, 24 Jan 2014 13:00:53 +0000 (14:00 +0100)]
exit code
    # 0: SUCCESS
    # 1: SUCCESS but some ignored steps failed
    # 2: FAILED STEP
    # 3: OTHER ERROR

10 years agoone single simpler command to create build or test vms
Thierry Parmentelat [Fri, 24 Jan 2014 10:41:18 +0000 (11:41 +0100)]
one single simpler command to create build or test vms

10 years agono /rootfs/ anymore in test mv path
Thierry Parmentelat [Thu, 23 Jan 2014 19:55:47 +0000 (20:55 +0100)]
no /rootfs/ anymore in test mv path

10 years agotypo in comment
Thierry Parmentelat [Thu, 23 Jan 2014 11:35:36 +0000 (12:35 +0100)]
typo in comment

10 years agocosmetic
Thierry Parmentelat [Thu, 23 Jan 2014 11:35:14 +0000 (12:35 +0100)]
cosmetic

10 years agosmall fix for ignored steps
Thierry Parmentelat [Thu, 23 Jan 2014 10:20:03 +0000 (11:20 +0100)]
small fix for ignored steps

10 years agoa more thorough implementation for ignored steps
Thierry Parmentelat [Thu, 23 Jan 2014 07:43:56 +0000 (08:43 +0100)]
a more thorough implementation for ignored steps

10 years agoadd ability to define ignorable steps through decorator ignore_result
Thierry Parmentelat [Wed, 22 Jan 2014 14:31:12 +0000 (15:31 +0100)]
add ability to define ignorable steps through decorator ignore_result
in default scenario, define check_initscripts and ssh_slice_again as ignored steps so we can try and assess all the rest

10 years agocosmetic
Thierry Parmentelat [Tue, 21 Jan 2014 17:29:13 +0000 (18:29 +0100)]
cosmetic

10 years agosensing a lxc build box
Thierry Parmentelat [Tue, 21 Jan 2014 17:27:50 +0000 (18:27 +0100)]
sensing a lxc build box

10 years agooops bugfix
Thierry Parmentelat [Tue, 21 Jan 2014 13:58:48 +0000 (14:58 +0100)]
oops bugfix

10 years agocalls lbuild-initvm.sh with new signature
Thierry Parmentelat [Tue, 21 Jan 2014 12:31:07 +0000 (13:31 +0100)]
calls lbuild-initvm.sh with new signature

10 years agoadd a test that /vservers is not found in slice - this happens right now, as slices...
Thierry Parmentelat [Fri, 17 Jan 2014 14:05:29 +0000 (15:05 +0100)]
add a test that /vservers is not found in slice - this happens right now, as slices do not run in the right mount namespace (at least not when reached through ssh)

10 years agooops
Thierry Parmentelat [Thu, 16 Jan 2014 19:45:55 +0000 (20:45 +0100)]
oops

10 years agoMerge branch 'sfa-geni-v3' of ssh://git.onelab.eu/git/tests into sfa-geni-v3
Thierry Parmentelat [Thu, 16 Jan 2014 19:45:13 +0000 (20:45 +0100)]
Merge branch 'sfa-geni-v3' of ssh://git.onelab.eu/git/tests into sfa-geni-v3