osm/tests.git
2 years agoUpdate SA02 test to add keyword Get Scale-Out Threshold From VNF 72/11272/1 v9.0
garciadeblas [Tue, 19 Oct 2021 07:51:41 +0000 (09:51 +0200)]
Update SA02 test to add keyword Get Scale-Out Threshold From VNF

Change-Id: If90414440d3e23f566e976409728e3ab9c4ae1c6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRevert "Updated SA02 test: CPU threshold read from VNF package" 71/11271/1
garciadeblas [Tue, 19 Oct 2021 07:48:23 +0000 (09:48 +0200)]
Revert "Updated SA02 test: CPU threshold read from VNF package"

This reverts commit 26954a2cc0efac7227cb7e165f7142017153a16d.

Change-Id: Ied38cdc86e5a65ab73a6e4c97dbcbdc37652828a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdated SA02 test: CPU threshold read from VNF package 51/11251/1
aguilard [Tue, 5 Oct 2021 15:01:54 +0000 (17:01 +0200)]
Updated SA02 test: CPU threshold read from VNF package

Change-Id: Ia49b05458b14be6abe916d6a80812aa5c7643843
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
(cherry picked from commit 9c787e49096be55086ec0690b2307978f05c3b9c)

2 years agoChanged cluster name in some k8s tests 14/11214/1
aguilard [Tue, 28 Sep 2021 11:12:09 +0000 (13:12 +0200)]
Changed cluster name in some k8s tests

A different cluster name has been set for each test to avoid chain errors in k8s test when one fails.

Change-Id: I5833db385a100c55c6787042181b996ff734c0f3
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoFix for bug 1669 -- SA02 robot test fails as threshold not reached 85/11185/1
Atul Agarwal [Fri, 17 Sep 2021 12:16:40 +0000 (12:16 +0000)]
Fix for bug 1669 -- SA02 robot test fails as threshold not reached

Change-Id: I81e23dcfcdcc67d325db7013e983ecceb02d4168
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
(cherry picked from commit 98c5ba692c3e0650f3dd7aa49621ca918ef3d6cc)

2 years agoPip standardization 54/10954/1
beierlm [Fri, 4 Jun 2021 12:39:27 +0000 (08:39 -0400)]
Pip standardization

Update the requirements as they were not done properly the first time

Change-Id: Ibd9e5c8d8943a35beea9473c42c1afde9288560b
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10296 Pip Standardization 27/10927/2
beierlm [Tue, 23 Mar 2021 20:04:34 +0000 (16:04 -0400)]
Feature 10296 Pip Standardization

Cleanup of Dockerfile
Moved requirements from devops/docker/tests/Dockerfile into this
module so they are visible.

Added pylint and safety hooks.
Added place for unit tests, but none are written yet, so does not
run them.

Change-Id: I75ce40c558bd9bc8975269dca681ba84678e6de6
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoAdd SDNC and port-mapping when creating VIM in run_test.sh 90/10890/1
garciadeblas [Wed, 14 Apr 2021 14:45:24 +0000 (16:45 +0200)]
Add SDNC and port-mapping when creating VIM in run_test.sh

Change-Id: I783b7a5dd1c7c8f0cde070434c947acdc3bcc974
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1536: incorrect check SDNC status in EPA03 89/10889/1
aguilarherna [Wed, 19 May 2021 14:36:41 +0000 (14:36 +0000)]
Fix bug 1536: incorrect check SDNC status in EPA03

Modified the way to check the successful creation of SDNC in 'Check for SDNC' keyword.
Corrected check on metric (should be 1) in 'Check If SDNC Is Available' keyword.

Change-Id: I7f23dc9033caec8ac6ab3d00be577912a1bfa0fa
Signed-off-by: aguilarherna <daguilarh@indra.es>
2 years agons_lib: added env variable to modify timeouts depending on VIM 85/10885/1
garciadeblas [Fri, 26 Mar 2021 09:46:13 +0000 (10:46 +0100)]
ns_lib: added env variable to modify timeouts depending on VIM

Change-Id: Idb837f94792510935de50907f551e1064d74fe0c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agons_lib: update scaling timeout with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT 78/10878/1
garciadeblas [Thu, 13 May 2021 10:38:53 +0000 (12:38 +0200)]
ns_lib: update scaling timeout with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT

Change-Id: Ie8dfad05c42d2a962659dc5ad74b3f5290307aec
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agonsi_lib: updated scale operation timeout in 'Execute Manual VNF Scale' 77/10877/1
aguilarherna [Fri, 12 Mar 2021 10:43:55 +0000 (11:43 +0100)]
nsi_lib: updated scale operation timeout in 'Execute Manual VNF Scale'

Change-Id: I413f02218ed423e1a973719bd0e2e1848690e094
Signed-off-by: aguilarherna <daguilarh@indra.es>
2 years agoFix failure return code when deleting VNFD fails 11/10711/1
garciadeblas [Sun, 18 Apr 2021 21:08:17 +0000 (23:08 +0200)]
Fix failure return code when deleting VNFD fails

Change-Id: I8ad00b2ae34248dd2649d0fbc66f9af3b004eea4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoAdd testsuite basic_17 to test delete vnf package when not possible 97/10697/1
garciadeblas [Thu, 25 Mar 2021 10:51:08 +0000 (11:51 +0100)]
Add testsuite basic_17 to test delete vnf package when not possible

Change-Id: If1c7c32c004c9404ebdbec6b473249710c94370b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoAdd testsuite basic_16 for advanced onboarding and scaling in complex conditions 96/10696/1
aguilarherna [Wed, 24 Mar 2021 15:59:34 +0000 (16:59 +0100)]
Add testsuite basic_16 for advanced onboarding and scaling in complex conditions

Change-Id: Ieeae9637b3455acb247ae439f368666281711d96
Signed-off-by: aguilarherna <daguilarh@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated hackfest_multivdu: removed SSH access password, public key file will be used... 29/10629/1 bug1511 branch-bug1511-start
aguilarherna [Wed, 7 Apr 2021 13:31:34 +0000 (13:31 +0000)]
Updated hackfest_multivdu: removed SSH access password, public key file will be used instead

Change-Id: I24dc11e5a8e1f344db49ab7a85c698242f6b555a
Signed-off-by: aguilarherna <daguilarh@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated SA_02: wait 2 minutes for the scaled VDU to appear 77/10577/1
garciadeblas [Tue, 30 Mar 2021 13:44:38 +0000 (15:44 +0200)]
Updated SA_02: wait 2 minutes for the scaled VDU to appear

Change-Id: Id7d160881ce1d0cffa0d41e9001a6e82ca964639
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit 4f0c93dda5c2bebf4a53c07d83de18c355ee6d8c)

3 years agoMerge remote-tracking branch 'origin/master' into v9.0 36/10436/1
garciadeblas [Tue, 2 Mar 2021 17:51:13 +0000 (17:51 +0000)]
Merge remote-tracking branch 'origin/master' into v9.0

Change-Id: Ibc3a349d74ffaa74d7952274a7981352af054752
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoNew test epa04: ping between VNF with SRIOV and SDN assist 01/10401/2
aguilarherna [Fri, 26 Feb 2021 11:22:49 +0000 (12:22 +0100)]
New test epa04: ping between VNF with SRIOV and SDN assist

Change-Id: I18682c794a6a86609e76cd7cc5c0d8f14c27e4c2
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agons_lib: new keyword 'Get Vnf Id' 88/10388/4
aguilarherna [Thu, 25 Feb 2021 16:15:50 +0000 (17:15 +0100)]
ns_lib: new keyword 'Get Vnf Id'

Change-Id: Iaa0139048caff26e0f2325ec18dca874321c62c4
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoFixes error checking the slice instance status in 'Check For Network Slice Instance... 26/10226/1
aguilarherna [Wed, 27 Jan 2021 12:50:04 +0000 (12:50 +0000)]
Fixes error checking the slice instance status in 'Check For Network Slice Instance For Failure' keyword.

Change-Id: Ibfac29493be66a52f12f8e3874c3f1fa83e9bba9
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoFix bug 1421: use of 'GET On Session instead' instead of 'Get Request' 22/10222/1
garciadeblas [Wed, 27 Jan 2021 10:31:56 +0000 (10:31 +0000)]
Fix bug 1421: use of 'GET On Session instead' instead of 'Get Request'

Change-Id: I64d0b00aba255ab0a84be6f1d5ab5a0c063b5df0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agonsi_lib: updated Create Network Slice, max_wait_time as param, config_file as param 75/10175/2
garciadeblas [Thu, 14 Jan 2021 12:12:31 +0000 (12:12 +0000)]
nsi_lib: updated Create Network Slice, max_wait_time as param, config_file as param

Change-Id: I15981d8015d0125a581cda400d75f939a2deefdd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix basic 12 and add charm tag to basic 7 14/10114/2 release-v9.0-start v9.0.0rc1
David Garcia [Tue, 15 Dec 2020 15:51:05 +0000 (16:51 +0100)]
Fix basic 12 and add charm tag to basic 7

- Fixes bug 1207

Change-Id: I8b1ed474293481972fc056b1495ac138afba8ee9
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoUse Port from Environment 89/10089/1
beierlm [Wed, 9 Dec 2020 16:44:59 +0000 (11:44 -0500)]
Use Port from Environment

Updates the SDNC test to use the common helper library
to determine the Prometheus hostname and port number.

Change-Id: I6df6e13bf1a2bf10b4c283b3bfb30360bf862b87
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFixes tests Slice 01, Slice 02 and SA-07 82/10082/1
garciaale [Mon, 7 Dec 2020 21:03:33 +0000 (21:03 +0000)]
Fixes tests Slice 01, Slice 02 and SA-07

Change-Id: I557e50fb5a27162265d012f6d420b20b4394ab76
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoFix status check 75/10075/1
beierlm [Thu, 3 Dec 2020 16:44:47 +0000 (11:44 -0500)]
Fix status check

Changes from positional awk to simple grep for status as the
'column' for the status can change if there are spaces in
project due to showing project id in parenthesis.

Change-Id: Ibde61ebda21bdc8daff5747d31213baa0b44a221
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAdditional logging 74/10074/1
beierlm [Thu, 3 Dec 2020 14:28:28 +0000 (09:28 -0500)]
Additional logging

Changes output to emit the actual status.
Outputs the result of the osm vim-list command.

Change-Id: Iaf01715193383b6a6bcee839f26095bf2ccdde77
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoForcing the tests repo to use sol006 branch of packages with master client 61/10061/1
garciaale [Tue, 1 Dec 2020 15:29:31 +0000 (12:29 -0300)]
Forcing the tests repo to use sol006 branch of packages with master client

Change-Id: I8b8ed82abff78f2b78cc604b5233a1a5f65ad983
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoFixes tests QUOTAS-01, BASIC-07, BASIC-08 and hackfest_cloudinit for SOL006 41/10041/3
garciaale [Thu, 19 Nov 2020 21:05:13 +0000 (21:05 +0000)]
Fixes tests QUOTAS-01, BASIC-07, BASIC-08 and hackfest_cloudinit for SOL006

Change-Id: I65ad52a95666e41a9f76525447ea19f3265e907d
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoImproved log for k8s cluster creation and checking 12/10012/1
garciadeblas [Thu, 19 Nov 2020 15:19:48 +0000 (15:19 +0000)]
Improved log for k8s cluster creation and checking

Change-Id: Ibdd337341013de966bbd985100c558124faa6ca0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bugs in test [epa-03], ignored environment variable OVERRIDES in test [epa-02... 97/9997/1
aguilarherna [Mon, 16 Nov 2020 17:18:25 +0000 (18:18 +0100)]
Fix bugs in test [epa-03], ignored environment variable OVERRIDES in test [epa-02] and increased wait time in delete NS operation

Change-Id: Iea93ca2f58beded55aa7d437a05db86e94f86b6d
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoAdd PROMETHEUS_PORT 63/9963/3
beierlm [Wed, 11 Nov 2020 12:28:57 +0000 (07:28 -0500)]
Add PROMETHEUS_PORT

Adds the ability to specify a PROMETHEUS_PORT as well as the
PROMETHEUS_HOSTNAME.

Fixes bug 1286

Change-Id: I61fc55c662b673ee08e440e12b7947da46fcc36a
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoModified test [sa-07] forcing webhook to make a 200 OK replay so POL does not hangs 46/9946/2
romeromonser [Wed, 4 Nov 2020 17:50:49 +0000 (18:50 +0100)]
Modified test [sa-07] forcing webhook to make a 200 OK replay so POL does not hangs

Change-Id: I680107a7e880eedf642083d6996263665b3f8eeb
Signed-off-by: romeromonser <garomero@indra.es>
3 years agoAdded retries and timeout parameters for Prometheus queries 44/9944/1
aguilarherna [Wed, 4 Nov 2020 15:52:40 +0000 (16:52 +0100)]
Added retries and timeout parameters for Prometheus queries

Change-Id: I2bba94a7ac15ad5d2713a1ab379692726d174489
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoAdded test [k8s-06] secure key management test in a juju k8s cloud 06/9806/2
romeromonser [Wed, 7 Oct 2020 10:50:16 +0000 (12:50 +0200)]
Added test [k8s-06] secure key management test in a juju k8s cloud

Change-Id: Id4c7807d28d9c3a36afd9afdab996a2edee3e604
Signed-off-by: romeromonser <garomero@indra.es>
3 years agoFix paths in basic_12. Partially fixes bug 1207 10/9810/1
garciadeblas [Wed, 7 Oct 2020 15:33:05 +0000 (15:33 +0000)]
Fix paths in basic_12. Partially fixes bug 1207

Change-Id: I0633e6872338440dd3f892bb2714b4e5c8b68e8d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRemoved wrong references to juju_lib 99/9799/2
garciadeblas [Mon, 5 Oct 2020 07:58:58 +0000 (07:58 +0000)]
Removed wrong references to juju_lib

Change-Id: I4097e0897ef1b1160616dab5faa7449beb420f52
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoImproved cleanup of slice_01 and slice_02 tests 83/9783/2
garciadeblas [Fri, 2 Oct 2020 20:50:49 +0000 (20:50 +0000)]
Improved cleanup of slice_01 and slice_02 tests

Change-Id: Ib5c6b0493021b08a0f7ca3681ff58a1f65c3422a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix sa_07 to delete temporary package folder created for the test 82/9782/2
garciadeblas [Fri, 2 Oct 2020 20:46:40 +0000 (20:46 +0000)]
Fix sa_07 to delete temporary package folder created for the test

Change-Id: Iffcf6af3112b577a7b5146403164c522ba44dcc6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRenamed Test Cleanup to Suite Cleanup; fix teardown to work properly in test suites 81/9781/2
garciadeblas [Fri, 2 Oct 2020 16:10:14 +0000 (16:10 +0000)]
Renamed Test Cleanup to Suite Cleanup; fix teardown to work properly in test suites

Change-Id: I4f8369b7f99d4d34a61f2b6ca58fa8a02feba01b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix basic01 and vim_lib: success if any metric is registered in Prometheus 80/9780/2
garciadeblas [Fri, 2 Oct 2020 15:40:25 +0000 (15:40 +0000)]
Fix basic01 and vim_lib: success if any metric is registered in Prometheus

Change-Id: Ia27baf1e87f706777f8fd0e6665b91b9a695d1c7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix vim config for basic-01 and basic-08: added insecure option if present in clouds... 79/9779/2
garciadeblas [Fri, 2 Oct 2020 15:01:37 +0000 (15:01 +0000)]
Fix vim config for basic-01 and basic-08: added insecure option if present in clouds.yaml

Change-Id: I90021dc72167765552841fd34b9b8f7a4d63cac8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix k8scluster_lib keywords to log output of k8scluster-list 76/9776/1
garciadeblas [Thu, 1 Oct 2020 16:26:20 +0000 (16:26 +0000)]
Fix k8scluster_lib keywords to log output of k8scluster-list

Change-Id: Ie922c4e41bdcbcaf27e6cced053d319d8445007a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated deprecated command-line osm commands: vnfd-, nsd- 72/9772/1
garciadeblas [Tue, 29 Sep 2020 15:38:47 +0000 (15:38 +0000)]
Updated deprecated command-line osm commands: vnfd-, nsd-

Change-Id: If87358c9c56d32e5b1de5fb1b4a943129224e974
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated Test Connectivity to retry ping and capture ping output 71/9771/1
garciadeblas [Fri, 25 Sep 2020 09:39:31 +0000 (09:39 +0000)]
Updated Test Connectivity to retry ping and capture ping output

Change-Id: Idf6b873db0066ea8783f5ae917ad94bcff2f6d43
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix K8s cluster tests to check that the k8s cluster is enabled 70/9770/1
garciadeblas [Tue, 22 Sep 2020 14:37:39 +0000 (16:37 +0200)]
Fix K8s cluster tests to check that the k8s cluster is enabled

Fixes bug 1224

Change-Id: I4f15c7f39a7396a867a38a71ba8a15c1b68f3979
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdds Robot test EPA-02 with new Openstack library 54/9754/2
garciaale [Thu, 24 Sep 2020 18:04:27 +0000 (18:04 +0000)]
Adds Robot test EPA-02 with new Openstack library

Change-Id: I95c0d654e02647cebe68959ecd1e6c47546a659e
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoPoC of SOL005 Robot conformance tests into OSM's CICD 77/9677/8
Frank Bryden [Mon, 7 Sep 2020 08:45:54 +0000 (08:45 +0000)]
PoC of SOL005 Robot conformance tests into OSM's CICD

Change-Id: If8373ae545331ae9137c1c8fc3628cae5c56406d
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
3 years agoMerge v8.0 into master 27/9627/2
beierlm [Fri, 26 Jun 2020 18:57:09 +0000 (14:57 -0400)]
Merge v8.0 into master

Test contributions from master
Fix permission for devops-stages files (+x)
Adding the repository to CI/CD pipeline
Adding VIM to OSM option
Adding BRANCH_NAME variable for release tests
Adding prometheus_host env variable for ci/cd

git cherry-pick -n e1a9c5709cce246d2cca273be7d8f61b8404efea^..72556ca8d5a07199c182a586688bbebe8cf1cfad

Author: Felipe Vicens <felipe.vicens@atos.net>
Signed-off-by: beierlm <mark.beierl@canonical.com>
Adds test EPA-01 for SR-IOV

Signed-off-by: garciaale <agarcia@whitestack.com>
Retry vim-create

Sometimes it appears that the vim-create command gets issued
before LCM is properly ready, so as a workaround, this tries
a number of times to create the VIM before giving up.

Signed-off-by: beierlm <mark.beierl@canonical.com>
Fixing Logic

Breaks out of the loop once the vim is enabled

Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Added test [K8s-04] OpenLDAP

Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
==================================================================

Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Change-Id: Id436df42b735aa856e946c5c693f291bd0ba2d44

3 years agoRemoves wrong k8scluster tag on K8S-04 test, as all tests on the same file are tagged... 51/9551/1
garciaale [Wed, 5 Aug 2020 14:56:33 +0000 (10:56 -0400)]
Removes wrong k8scluster tag on K8S-04 test, as all tests on the same file are tagged as openldap only

Change-Id: I9d20bcc5cb02f46bf039fcb6c0217c93753bc700
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdd actions to Simple K8s test 43/9543/2
Dominik Fleischmann [Fri, 31 Jul 2020 13:17:26 +0000 (15:17 +0200)]
Add actions to Simple K8s test

This commit changes the package used for the test
k8s-03. The new package has actions included and
uses local k8s charms.

This required the additon of the upload-package
commands in the robot test libraries and the
K8s Ns Action command.

Additionally the timeout time for the k8scluster
creation has been extended, as it was to short for
some test environments.

Change-Id: I846733982a7874b3467270d1a1d1fa8a330030f8
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoBasic-12 - RobotFramework 93/9493/3
calvinosanc1 [Tue, 21 Jul 2020 14:03:46 +0000 (16:03 +0200)]
Basic-12 - RobotFramework

Change-Id: I6c99f33947c07e446e7042e9b0648a148958f560
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoFix tags and Bug 1158 30/9530/1
calvinosanc1 [Wed, 29 Jul 2020 10:11:41 +0000 (12:11 +0200)]
Fix tags and Bug 1158

Change-Id: I574ffbafba991590bda7f484e9106569289431dc
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoAdds Robot test BASIC-15 for RBAC configurations 06/9506/3
garciaale [Wed, 22 Jul 2020 22:14:08 +0000 (22:14 +0000)]
Adds Robot test BASIC-15 for RBAC configurations

Change-Id: Ia907f795dc735eff64cab3027885a8363bf815d8
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdd Native Charm Test 17/9517/2
Dominik Fleischmann [Thu, 23 Jul 2020 11:28:01 +0000 (13:28 +0200)]
Add Native Charm Test

This commits add the following Robot test

Basic 11 - Native Charms

Additionally the packages for the Proxy Charm
Robot Test has been updated

Change-Id: Ic5b7e0e742dfcb9fccbfecd84ba24e2d83186682
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoAdd Charm Relations Tests and Tags 15/9515/2
Dominik Fleischmann [Thu, 23 Jul 2020 10:25:20 +0000 (12:25 +0200)]
Add Charm Relations Tests and Tags

This commit adds Robot Tests for the following
cases:

Basic 13 NS Relations
Basic 14 VNF Relations

It also adds tags to charm tests so that they can
be executed by themselves and the charm tag to
execute all charm related tests.

Change-Id: I2ee5780a8a832c3535d1739b3effa4b57b880be2
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoAdds Robot QUOTAS-01 test 63/9463/2
garciaale [Fri, 17 Jul 2020 21:24:54 +0000 (17:24 -0400)]
Adds Robot QUOTAS-01 test

Change-Id: I38d51d0beea871808046d762f8fffb9c65e5f200
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdds test SA-08 for VNF metrics with SNMP exporters 85/9485/2
garciaale [Mon, 20 Jul 2020 17:29:46 +0000 (13:29 -0400)]
Adds test SA-08 for VNF metrics with SNMP exporters

Change-Id: Ic77945005fec0a410c1075b1b35c7cdcead6dc37
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdded test [K8s-04] OpenLDAP 02/9502/3
ramonsalguer [Sun, 19 Jul 2020 19:27:59 +0000 (19:27 +0000)]
Added test [K8s-04] OpenLDAP

Change-Id: Ifca4e792287eb5de4e467bb8eddae8d4886f1dc1
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
3 years agoAdd Robot Test for Feature 8716 K8s Proxy Charms 57/9457/4
Dominik Fleischmann [Fri, 17 Jul 2020 14:50:52 +0000 (16:50 +0200)]
Add Robot Test for Feature 8716 K8s Proxy Charms

This commit also increases the NS Delete timeout
limit from 1 minute to 3 minute.

Change-Id: Ief53a78879d4b615df97cac205291574525525bc
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoRemove K8s-01 from sanity tests 58/9458/2
calvinosanc1 [Fri, 17 Jul 2020 16:36:35 +0000 (18:36 +0200)]
Remove K8s-01 from sanity tests

Change-Id: Ifda2363c8711f930d79b8350971884631ac4be82
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoAllows overriding EPA attributes to force package compatibility with specific VIMs 60/9460/4
ramonsalguer [Fri, 17 Jul 2020 18:08:52 +0000 (18:08 +0000)]
Allows overriding EPA attributes to force package compatibility with specific VIMs

Change-Id: I07056603053fe96e6ac453314e128d5a7abbbebc
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
3 years agoAdds Robot test EPA-03 with new SDNC library 12/9412/6
garciaale [Tue, 14 Jul 2020 15:41:06 +0000 (11:41 -0400)]
Adds Robot test EPA-03 with new SDNC library

Change-Id: I316b238a9097d308c1fd0873ced65c93d1b4f415
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoClean up build directory 62/9462/1
beierlm [Fri, 17 Jul 2020 19:03:15 +0000 (15:03 -0400)]
Clean up build directory

There are transient artifacts left behind from previous
builds that can interfere with the current build.

This change deletes the contents of deb_dist to make
sure the packages are fresh with each build.

Change-Id: I127261739929f6b4ac44dc35342ce9580d9301c1
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAllow Errors to be Caught 59/9459/2
beierlm [Fri, 17 Jul 2020 17:29:45 +0000 (13:29 -0400)]
Allow Errors to be Caught

The echo command at the end of the script causes Jenkins
to ignore any errors that happen during the build step.

Change-Id: I1f71051c45d38afeaa8a331e08dcc999aaafca6d
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAdds Robot test BASIC-08 for disabling port security 54/9354/2
garciaale [Tue, 7 Jul 2020 21:41:24 +0000 (17:41 -0400)]
Adds Robot test BASIC-08 for disabling port security

Change-Id: Icf1b73a823de38935319e08d0046363e90b211e0
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdds Robot test SA-07 for alarms coming from SA-related VNFs 38/9338/2
garciaale [Mon, 6 Jul 2020 20:03:08 +0000 (16:03 -0400)]
Adds Robot test SA-07 for alarms coming from SA-related VNFs

Change-Id: I94df464e2cd6a9b16bbf2b5b7d3817839ed7abd8
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdding K8s01 13/9313/3
calvinosanc1 [Fri, 3 Jul 2020 15:28:12 +0000 (17:28 +0200)]
Adding K8s01

Change-Id: I0e4324e6e732e5447bdd00519e52bdc8461a601f
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoAdds test EPA-01 for SR-IOV 01/9301/2
garciaale [Thu, 2 Jul 2020 21:42:00 +0000 (17:42 -0400)]
Adds test EPA-01 for SR-IOV

Change-Id: Iaba03a617cece441ecce583001206f9e705f72bd
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoRobot test SA-02 for VIM-based metrics and auto-scaling 62/9262/2
garciaale [Wed, 1 Jul 2020 20:19:34 +0000 (16:19 -0400)]
Robot test SA-02 for VIM-based metrics and auto-scaling

Change-Id: Ia2878675b4e53d938d116e619b6c3f729d9224ef
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoRobot test SA-01 for VIM-based metrics 55/9255/2
garciaale [Wed, 1 Jul 2020 13:37:14 +0000 (09:37 -0400)]
Robot test SA-01 for VIM-based metrics

Change-Id: I6c4883cd6cd8fe82de14ee1d7909626e6b59e412
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoVerify that the VIM was ENABLED before start the tests when using -c option 88/9288/1
Felipe Vicens [Thu, 2 Jul 2020 10:19:28 +0000 (12:19 +0200)]
Verify that the VIM was ENABLED before start the tests when using -c option

Change-Id: I84fb0a30de53040277e84fe01c67f82980d40235
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoMoving robot-systests deprecated to tests 59/9259/1
Felipe Vicens [Wed, 1 Jul 2020 16:41:38 +0000 (18:41 +0200)]
Moving robot-systests deprecated to tests

Change-Id: I9008b7e8a2fe47d2f8f50becc74d8aea50bb1c14
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoIncreasing vim_status_max_wait_time to 2min in vim_lib.robot 13/9213/1
Felipe Vicens [Sat, 27 Jun 2020 17:03:46 +0000 (19:03 +0200)]
Increasing vim_status_max_wait_time to 2min in vim_lib.robot

Change-Id: Ib71cf48cc25cacecd377413abceca65469318da3
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix prometheus port for inside stack tests 00/9200/1
Felipe Vicens [Fri, 26 Jun 2020 14:23:34 +0000 (16:23 +0200)]
Fix prometheus port for inside stack tests

Change-Id: Id57a6e90a209fa166605a4ad1e148fb96d88aa3b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding prometheus_host env variable for ci/cd 94/9194/1
Felipe Vicens [Fri, 26 Jun 2020 06:59:00 +0000 (08:59 +0200)]
Adding prometheus_host env variable for ci/cd

Change-Id: I40f6791481639ed16d0236e8819046cce915a117
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoRevert stackName Variable 87/9187/1
Felipe Vicens [Thu, 25 Jun 2020 19:52:06 +0000 (21:52 +0200)]
Revert stackName Variable

Adding BRANCH_NAME variable for release tests

Change-Id: Ife3e1c727997e0348ed89019b1c8912840e53fe5
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoDiscovering OSM internal NBI ip address by stackName 84/9184/2
Felipe Vicens [Thu, 25 Jun 2020 18:12:16 +0000 (20:12 +0200)]
Discovering OSM internal NBI ip address by stackName

Fix reports folders variable

Change-Id: Icf69546283f47f4ace88a72b6381fc7a7f49e87d
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding VIM to OSM option 54/9154/4
Felipe Vicens [Wed, 24 Jun 2020 19:23:44 +0000 (21:23 +0200)]
Adding VIM to OSM option

Change-Id: Ifbcfeb50b451de19830e2fe9f537af0626742b4c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding the repository to CI/CD pipeline 48/9148/8
Felipe Vicens [Wed, 24 Jun 2020 13:55:57 +0000 (15:55 +0200)]
Adding the repository to CI/CD pipeline

Change-Id: I9acb3bde5872939c4435fe438717e10db3776743
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix permission for devops-stages files (+x) 52/9152/1
Felipe Vicens [Wed, 24 Jun 2020 17:08:15 +0000 (19:08 +0200)]
Fix permission for devops-stages files (+x)

Change-Id: I6edfeea901c3ab0e2bebf6d3ae1c027bb94f2ff1
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding kubernetes tests 43/9143/1 release-v8.0-start v0.0.1
Felipe Vicens [Tue, 23 Jun 2020 13:55:08 +0000 (15:55 +0200)]
Adding kubernetes tests

Change-Id: Ibed1eadd12eef34cb9b810292913ad5bc8222b0b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoInitial tests contributions 32/9132/4
Felipe Vicens [Mon, 22 Jun 2020 06:12:30 +0000 (08:12 +0200)]
Initial tests contributions

Dockerfile for robot tests automation
Robot-systests from devops repository
Testing tags for CI/CD
Adding charm build script

Change-Id: Ib50d8e3c66be44e946e19071b2ca229d48609ea3
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoInitial common files for all repos 10/9110/1
almagia [Thu, 18 Jun 2020 10:21:45 +0000 (12:21 +0200)]
Initial common files for all repos

Change-Id: Ic95db46a6a7f33b7f5e768866ac965be312dfad6
Signed-off-by: almagia <silvia.almagia@etsi.org>
3 years agoInitial empty repository
almagia [Wed, 17 Jun 2020 16:21:34 +0000 (18:21 +0200)]
Initial empty repository