osm/tests.git
2 years agoFeature 10915: SOL003 STD Support for OSM - Robot Support 58/11958/9
dhanasekaran [Thu, 28 Apr 2022 08:03:07 +0000 (08:03 +0000)]
Feature 10915: SOL003 STD Support for OSM - Robot Support

Robot tests for Sol003 feature

Change-Id: I06ca0ebac196fa83f20c34dfeb61e12d6f13eb43
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoAdd execution of primitives to k8s_04 35/12035/2
David Garcia [Wed, 11 May 2022 14:04:26 +0000 (16:04 +0200)]
Add execution of primitives to k8s_04

Change-Id: I5d87c6f9c83fadab349be1b100f5b7dc3f8b44f5
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoFix robot test basic_20 11/12011/1
David Garcia [Fri, 6 May 2022 13:39:11 +0000 (15:39 +0200)]
Fix robot test basic_20

- Remove the "Check Number of not duplicated applications". There are
not duplicated applications when scaling native charms.

Change-Id: I5b5ee2cb4aea116c17ea790556691846bd3910f7
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoFixed bug in EPA04: wrong member-vnf-index-ref 06/11906/1
aguilard [Thu, 21 Apr 2022 13:42:52 +0000 (15:42 +0200)]
Fixed bug in EPA04: wrong member-vnf-index-ref

Change-Id: Id54557764d8784017d949cff778e0e3e616def2c
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoTests Basic 24: Fix for format error using yq 67/11867/2
Alexis Romero [Thu, 7 Apr 2022 12:49:27 +0000 (14:49 +0200)]
Tests Basic 24: Fix for format error using yq

Change-Id: I8b28a85ef10923f7e98f0053694b6520e46f440b
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoAdding test BASIC24: Testing feature 10906 support of affinity groups 57/11757/4
Alexis Romero [Wed, 16 Mar 2022 05:51:43 +0000 (06:51 +0100)]
Adding test BASIC24: Testing feature 10906 support of affinity groups

Change-Id: I48b365ced45acd4d882420365a65d99227fee467
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoUpdated VNF member identifier 97/11797/2
aguilard [Tue, 29 Mar 2022 15:26:43 +0000 (15:26 +0000)]
Updated VNF member identifier

This commit reqires https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/-/merge_requests/187 packages to be merged.

Change-Id: I7cff4cc0f9b16c1c85aa91b49294c3977e2bebda
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoBASIC21: commented volume checking after deleting NS 01/11801/2
aguilard [Wed, 30 Mar 2022 10:55:17 +0000 (12:55 +0200)]
BASIC21: commented volume checking after deleting NS

Change-Id: I863dfc9799d19bd3f8080272797ce40b9c46cf3a
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoRemoved daily label from k8s_11 test 00/11800/1
aguilard [Wed, 30 Mar 2022 10:33:21 +0000 (12:33 +0200)]
Removed daily label from k8s_11 test

Change-Id: I20755f38a801ca8f8bfba29d1198d2df6336e475
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoBASIC21 test: added persistent volume checking 67/11767/4
aguilard [Fri, 18 Mar 2022 14:15:17 +0000 (14:15 +0000)]
BASIC21 test: added persistent volume checking

Added check on the presence of the persistent volume in Openstack. Created new keywords in openstack_lib.robot for that.
Fix bug in vnf_lib.robot.

Change-Id: I0b4cc8f81d2f1cddcd90d1664a69dafae23e70cb
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoFix bug 1930 for k8s_11 83/11783/1
aktas [Thu, 24 Mar 2022 06:37:31 +0000 (09:37 +0300)]
Fix bug 1930 for k8s_11

Change-Id: Iec6828ee8c501babed59409a44e077fb4b7811ae
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
2 years agoFeature 10886 manual scaling for KNF (helm chart) deployment test 73/11673/2
aktas [Fri, 11 Feb 2022 07:34:03 +0000 (10:34 +0300)]
Feature 10886 manual scaling for KNF (helm chart) deployment test

This commit reqires https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/-/merge_requests/178
package to be merged.

Change-Id: I8b29573728dac53c02b6beccb2485dbd7a8dc441
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
2 years agoAdd tags for 'prepare' and 'verify' stages to help the testing of OSM version migrati... 11/11711/4
rodriguezgar [Thu, 24 Feb 2022 19:05:42 +0000 (20:05 +0100)]
Add tags for 'prepare' and 'verify' stages to help the testing of OSM version migration. New Keyword to get ns_id from NS name so that the tests with 'verify' tag can be executed in isolation.

Change-Id: I3f199146a8dbbe2f5f6aeb26a10b95440ee74470
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
2 years agoFAIL01 test: read the RAM quota in Openstack 09/11709/1
aguilard [Thu, 24 Feb 2022 10:54:14 +0000 (10:54 +0000)]
FAIL01 test: read the RAM quota in Openstack

Now the test sets the memory of VDU with the amount of memory obtained from the Openstack quota.

Change-Id: Id3efc8caee01092e4aeb3b83588b91a096d03a34
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoUpdated FAIL01 test: increased RAM requested 76/11676/1
aguilard [Fri, 11 Feb 2022 13:56:42 +0000 (14:56 +0100)]
Updated FAIL01 test: increased RAM requested

Change-Id: I84be847dfb1a49414eeb90a785afd39097a112ad
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoBug 1850: LTS Support 42/11542/2
garciadeblas [Thu, 20 Jan 2022 16:47:09 +0000 (17:47 +0100)]
Bug 1850: LTS Support

Change-Id: I4ea8fee4124851eb39a172661c1e22892c9fe1fa
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 1850: LTS Support 32/11532/1
beierlm [Wed, 19 Jan 2022 16:21:25 +0000 (11:21 -0500)]
Bug 1850: LTS Support

Pin version of regexp to match IM

Change-Id: I9e55a0e309965c431a69254b21d33906a0ad449c
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBug 1850: LTS Support 22/11522/2
beierlm [Thu, 13 Jan 2022 18:24:08 +0000 (13:24 -0500)]
Bug 1850: LTS Support

Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile

Fixes bug 1850

Change-Id: I29dcb5862b26021cecb4e581bd3cbd870682c968
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoQuick fix of pip dependencies 81/11481/2
veleza [Tue, 7 Dec 2021 08:29:34 +0000 (08:29 +0000)]
Quick fix of pip dependencies

Change-Id: Ib914ea3965d214dcf38d03dfd68b3a3a12496c32
Signed-off-by: veleza <axel.velez@etsi.org>
3 years agoBASIC21: Fixed the way to get the volumes from descriptor 98/11398/2
aguilard [Tue, 23 Nov 2021 09:27:11 +0000 (10:27 +0100)]
BASIC21: Fixed the way to get the volumes from descriptor

Change-Id: I600dcf271e8d6c469b70425d89259aee6b18ab46
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoRename basic21 to reflect actual purpose 86/11386/2
garciadeblas [Mon, 22 Nov 2021 14:21:19 +0000 (15:21 +0100)]
Rename basic21 to reflect actual purpose

Change-Id: I144bb7e1f516e6671e1ea9dcee7054bf4dabccc3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRename sol004 and sol007 packages and updated package names 85/11385/2
garciadeblas [Mon, 22 Nov 2021 14:07:35 +0000 (15:07 +0100)]
Rename sol004 and sol007 packages and updated package names

Change-Id: I0a7fbb93decee8d523372b458833b6ba1084526a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated run_conformance_tests.py 58/11358/2
veleza [Tue, 16 Nov 2021 11:28:43 +0000 (11:28 +0000)]
Updated run_conformance_tests.py

Change-Id: Ic67d050505554046dc52e3baaba367bc0702d7cc
Signed-off-by: veleza <axel.velez@etsi.org>
3 years agoUpdated robot variables 57/11357/2
veleza [Tue, 16 Nov 2021 11:25:03 +0000 (11:25 +0000)]
Updated robot variables

Change-Id: I6f76a0fe36a546feeeb4de030eb69102e7b4e4c0
Signed-off-by: veleza <axel.velez@etsi.org>
3 years agoUpdated OSM wrapper 56/11356/2
veleza [Tue, 16 Nov 2021 11:23:47 +0000 (11:23 +0000)]
Updated OSM wrapper

Change-Id: I9e5c1eb5eddd55d4258a81a274141e0ea7ed1bf1
Signed-off-by: veleza <axel.velez@etsi.org>
3 years agofeature: sol004 and sol007 new packages tests 22/11322/4
bravof [Tue, 9 Nov 2021 21:52:30 +0000 (18:52 -0300)]
feature: sol004 and sol007 new packages tests

Change-Id: Id60597052f0236d2ea00ef91c38070bb1e784d58
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoAdd robot test basic22 for feature 10887 47/11347/2
David Garcia [Thu, 11 Nov 2021 17:05:52 +0000 (18:05 +0100)]
Add robot test basic22 for feature 10887

This reverts commit 70b36f05a9f1b754a74118572bfa136a20e81e10.

Change-Id: Ia384359aeb1ff7778f29aba1e6b3ffc62e569386
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoRevert "Add robot test basic22 for feature 10887" 43/11343/1
garciadav [Thu, 11 Nov 2021 17:19:31 +0000 (19:19 +0200)]
Revert "Add robot test basic22 for feature 10887"

This reverts commit 2467b9bf99fdeb9d0e848d966c7e5d232a3f8c79.

Change-Id: I0e6a226bd6c173211b105e08507efa5cf438c27d
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd robot test basic22 for feature 10887 03/11303/2
David Garcia [Wed, 3 Nov 2021 14:06:45 +0000 (15:06 +0100)]
Add robot test basic22 for feature 10887

Change-Id: I7b20b690c3c72641765192e1ec83d429062916cd
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoUpdated basic_21 test 08/11308/1 release-v11.0-start
aguilard [Fri, 5 Nov 2021 13:26:42 +0000 (14:26 +0100)]
Updated basic_21 test

Added checking on the number of disks in the VDU.

Change-Id: I915d1fcbe616c8880a616fb1289daa6fd2c14c42
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoNew testsuite basic_21: persistent volumes 89/11289/1
aguilard [Mon, 25 Oct 2021 10:57:27 +0000 (12:57 +0200)]
New testsuite basic_21: persistent volumes

Change-Id: I3b6a55c8d9eaea549a68c7b614fee279cb41ca6d
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoAdded package directory conformance-tests to build-debpkg.sh 76/11276/1
veleza [Tue, 19 Oct 2021 15:09:48 +0000 (15:09 +0000)]
Added package directory conformance-tests to build-debpkg.sh

Change-Id: I40eaf199f87ed7be5ea14880e22ccaf67ebbff3f
Signed-off-by: veleza <axel.velez@etsi.org>
3 years agoAdd K8s-09 Pebble charm robot test 19/11119/4
David Garcia [Fri, 20 Aug 2021 12:24:38 +0000 (14:24 +0200)]
Add K8s-09 Pebble charm robot test

Change-Id: I6fe1aac052fe619041bba001c9a3a5dda40e6142
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoUpdated SA02 test: CPU threshold read from VNF package 35/11235/2
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>
3 years agofix for basic_20: increases timeout for scaling operation 96/11196/1
aktas [Thu, 23 Sep 2021 19:01:49 +0000 (22:01 +0300)]
fix for basic_20: increases timeout for scaling operation

basic_20 is failing due to the timeout value which is 2 mins.
Thanks to David Aguilar we know that this time should be 4 mins.

Change-Id: I683e486b55dea056fb5e6d041ae7e7bd2c97a0d8
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
3 years agoIncreased the amount of VDU memory in fail01 test 89/11189/1
aguilard [Tue, 21 Sep 2021 13:38:21 +0000 (13:38 +0000)]
Increased the amount of VDU memory in fail01 test

Change-Id: I0edb6eadffa233df8db7ac71dc39b67ab4a7162d
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoRemoving juju installation in the jenkins pipeline 48/11148/3
aktas [Mon, 6 Sep 2021 10:23:35 +0000 (13:23 +0300)]
Removing juju installation in the jenkins pipeline

With the new way of the juju accces in k8s_08 testsuite,
installing juju in the container is not needed.
k8s_08 testsuite changes: https://osm.etsi.org/gerrit/c/osm/tests/+/11104

Change-Id: I945aa6995241869926c5f76ec9c3eaf960576920
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
3 years agoTest for 1609 bug 22/11122/9
aktas [Fri, 27 Aug 2021 06:13:00 +0000 (09:13 +0300)]
Test for 1609 bug

This test reqiures https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/-/merge_requests/164

Change-Id: Icd0dd99d8940d5d55a233e4496ee3e8eef1df000
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
3 years agoFix for bug 1669 -- SA02 robot test fails as threshold not reached 83/11183/2
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>
3 years agoChanged cluster name in some k8s tests 80/11180/2
aguilard [Tue, 14 Sep 2021 15:46:17 +0000 (17:46 +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: I68969e89773389a1d8fa36c11ef90283cb671b1b
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoNew testsuite fail01 to test failed deployments because of lack of resources 46/11046/4
aguilard [Wed, 30 Jun 2021 10:28:46 +0000 (12:28 +0200)]
New testsuite fail01 to test failed deployments because of lack of resources

Updated openstack_lib.robot for adding new keyword 'Check NS Servers In VIM'
needed by fail01 test.

Change-Id: Ib602d27d8643e9c4b7c1029533258b79df5e86a8
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoUpdated test for Azure support 59/11159/1
aguilard [Thu, 9 Sep 2021 07:52:37 +0000 (07:52 +0000)]
Updated test for Azure support

Change-Id: Id9b1a01da70e41526c59895a0e4052c37b28b7e8
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoNew testsuite basic_19 to test ip-profiles in internal VLD of VNF 44/11044/2
aguilard [Wed, 30 Jun 2021 10:21:18 +0000 (12:21 +0200)]
New testsuite basic_19 to test ip-profiles in internal VLD of VNF

Change-Id: I2c4509a2c9bcc6837b91f0064206181eb776d6d4
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoDecreased timeout in basic_12 test 18/11118/2
aguilard [Fri, 20 Aug 2021 09:50:34 +0000 (11:50 +0200)]
Decreased timeout in basic_12 test

Reduced NS instantiation timeout from 40 to 15 minutes in basic_12 testsuite.

Change-Id: I3afb5e4320d9868038e01d4ce79ac6e32e8a8171
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoChanged the way to access juju data in k8s_08 testsuite. 04/11104/6
aguilard [Thu, 12 Aug 2021 08:44:17 +0000 (10:44 +0200)]
Changed the way to access juju data in k8s_08 testsuite.

Now juju commands are executed via SSH on the OSM host and it is not necessary to have juju installed on the client.
Deleted k8s_08-simple_k8s_scaling_data.py (obsolete).

Change-Id: I0cffb5e227f57a6e12555c7120e3faf4956857ca
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoNew testsuite basic_18: NS with a VLD with a virtual link profile 41/11041/3
aguilard [Mon, 28 Jun 2021 13:47:54 +0000 (15:47 +0200)]
New testsuite basic_18: NS with a VLD with a virtual link profile

Change-Id: I2982d0cd077b3f929ed808b79c686ffc852947c0
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoAdd env variable to define location of OSM private key to access OSM instance 10/11110/1
garciadeblas [Fri, 13 Aug 2021 15:17:35 +0000 (17:17 +0200)]
Add env variable to define location of OSM private key to access OSM instance

Some of the tests require access to OSM instance in order to run
some commands from there. Those commands could be run using ssh,
but a private key is required to be able connect to that OSM instance.

This change adds an env variable to define the location of the private key to
access OSM instance. That env variable should be used by the tests requiring
access to OSM instance via ssh to run commnads.

Change-Id: Ifb25406d3145f6af862f071cb6bfb90ef0513e7f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agonsi_lib: update timeouts with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT 39/11039/1
aguilard [Thu, 24 Jun 2021 15:36:16 +0000 (17:36 +0200)]
nsi_lib: update timeouts with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT

Change-Id: I9c7aba1729f77c106c7d856fa773251cbfe4fa7a
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
3 years agoFeature 10509 manual scaling for native K8s charm 84/10884/6
aktas [Wed, 26 May 2021 07:32:32 +0000 (10:32 +0300)]
Feature 10509 manual scaling for native K8s charm

This robot test created for this specific package
https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/-/merge_requests/154
Test case steps:
1 - Adds packages
2 - Adds K8s Cluster
3 - Creates NS Service
4 - Gets the scale count
5 - Scale-out the NS
6 - Checks scale count
7 - Scale-in the NS
8 - Check scale count
9 - Removes the NS, K8s cluster and packages
This commit includes Juju support

Change-Id: Iba7c59a65c9ae2607b23c7104e8178e20b502c60
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
3 years agoRemoved unused 'privatekey' variable in EPA04 and EPA05 tests 23/10923/1
aguilarherna [Mon, 31 May 2021 16:08:56 +0000 (16:08 +0000)]
Removed unused 'privatekey' variable in EPA04 and EPA05 tests

Change-Id: I30aa7542ad2143551cbcc54f2c8ec4cf7bb24e9f
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoRevert "Revert "Modified testsuites to remove resource files"" 81/10881/3
almagia [Tue, 25 May 2021 06:56:17 +0000 (08:56 +0200)]
Revert "Revert "Modified testsuites to remove resource files""

This reverts commit c0b3a8e31b493a7d4091562f3757e8fa6d724ba6.

As requested by TSC

Change-Id: Iab49a93c14499ef5ab3cc8d243fc336bc63df977

3 years agoAdd SDNC and port-mapping when creating VIM in run_test.sh 34/10634/7
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>
3 years agons_lib: update scaling timeout with the env modifier OSM_VIM_MULTIPLIER_TIMEOUT 94/10794/3
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>
3 years agoFix bug 1536: incorrect check SDNC status in EPA03 45/10845/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>
3 years agoServer list info when waiting NS 91/10791/3 release-v10.0-start
beierlm [Wed, 12 May 2021 08:53:49 +0000 (04:53 -0400)]
Server list info when waiting NS

Adds output of opentstack server list to the check for ns instance
so that way we can see if there is any mismatch between the state
of Openstack and the LCM.

Change-Id: I3c7a47b254c9ded037a8bbcc44d7b0f8e8e6d92a
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoRevert "Modified testsuites to remove resource files" 92/10792/2
aguilarherna [Wed, 12 May 2021 08:56:23 +0000 (08:56 +0000)]
Revert "Modified testsuites to remove resource files"

This reverts commit f0c88cd2aa142fd84650435fbbbec68e32503766.

Change-Id: I7827a31b0e3489a985e7f66e94074cc57a48fc9b
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoModified testsuites to remove resource files 52/10752/2
aguilarherna [Wed, 5 May 2021 15:47:11 +0000 (15:47 +0000)]
Modified testsuites to remove resource files

Moved variables from resource file to .robot file (where possible) and removed first one.

Change-Id: I4d71b33d738e1c4ae3835581f462d6a6975d66a8
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoRemove EPA 05 from Daily 90/10790/1
beierlm [Wed, 12 May 2021 08:48:23 +0000 (04:48 -0400)]
Remove EPA 05 from Daily

EPA 05 cannot pass in the current ETSI VIM, so it is being removed
from the daily and regression suites.  It is still possible to run
it via the epa_05 or cliuster_epa suite.

Change-Id: I61fc262556836d5f7b5af7eddd1164286e4dfea3
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAdd sanity tag to hackfest_basic and hackfest_cloudinit 12/10712/2
garciadeblas [Tue, 27 Apr 2021 08:21:57 +0000 (10:21 +0200)]
Add sanity tag to hackfest_basic and hackfest_cloudinit

Change-Id: Iba2ccfa3d3cc081e2e771a712ddb63507ea8678c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1478: JUJU password is replaced in a copy of the NS package 14/10714/1
aguilarherna [Tue, 27 Apr 2021 09:44:27 +0000 (09:44 +0000)]
Fix bug 1478: JUJU password is replaced in a copy of the NS package

Change-Id: Ic8e75d661a8377db8f7e7cf0519fcac95b62739f
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoIncluding upstream requirements 95/10695/1
beierlm [Thu, 22 Apr 2021 17:01:21 +0000 (13:01 -0400)]
Including upstream requirements

Now that internal OSM software does not specify python modules in
setup.py, we need to include the requirements.txt from the module
in the requirements-dev.in to generate the full list properly.

Change-Id: I1b9660bb3e6d22eb199757f6c90e4fdeef0c707c
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix failure return code when deleting VNFD fails 58/10658/1 branch-ng-ro-refactor-start branch-sol006v331-start
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>
3 years agoUpdate wrong tags in basic_07 k8s_01 and epa_05 49/10649/2
garciadeblas [Thu, 15 Apr 2021 13:27:40 +0000 (15:27 +0200)]
Update wrong tags in basic_07 k8s_01 and epa_05

All the testsuites were updated to follow an agreed schema. However,
there were errors in that process, and basic_07, k8s_01 and epa_05
were wrongly tagged. This change updates the wrong tags:

- The tags on each test of testsuite basic_07 have been removed. Only
  the general testsuite param "Force Tags" has been kept, and the
  cleanup tag.
- The tag daily has been removed in testsuite k8s_01
- A typo in epa_05 has been fixed

Change-Id: I9a444ceaf60ccb6fb6c9031a2a135ec29e35af4f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFixes bug related to new version of yq 46/10646/1
aguilarherna [Thu, 15 Apr 2021 15:42:44 +0000 (15:42 +0000)]
Fixes bug related to new version of yq

Change-Id: Ia4d7cad2dea93ad61dab6893342a885140138c8e
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoFixing typo in tr command 30/10630/1
beierlm [Wed, 14 Apr 2021 09:38:04 +0000 (05:38 -0400)]
Fixing typo in tr command

Need to double the backslash in Robot

Change-Id: Ib2719a2f76f469162c1a6a7fabe86fbe5e973348
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoStrip quotes 27/10627/2
beierlm [Tue, 13 Apr 2021 21:01:09 +0000 (17:01 -0400)]
Strip quotes

Strips quotes from output

Change-Id: I19e2e9e5b5ab13d2c2e4c48f4e88b1921464051c
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoRemove home variable in all test resources where not used 01/10601/3
garciadeblas [Thu, 8 Apr 2021 19:29:13 +0000 (21:29 +0200)]
Remove home variable in all test resources where not used

Change-Id: Ic2cf0de85bcead71c81bc878a09b6c58a04c597b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFixes for bug 1496 19/10619/2
beierlm [Mon, 12 Apr 2021 19:59:18 +0000 (15:59 -0400)]
Fixes for bug 1496

No longer uses a build layer as there are development tools we still
need at runtime.

Changes yq to come from a stable source (PyPI) instead of PPA.

Bug 1496

Change-Id: I0964edc1992c11c459a572ef77cf225f2eebf568
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoUpdate tags in all testsuites 98/10598/2
garciadeblas [Thu, 8 Apr 2021 11:52:22 +0000 (13:52 +0200)]
Update tags in all testsuites

All testsuites have been updated with the tags according to what
was agreed in OSM-MR10 and subsequent DevOps calls:

- A tag per testsuite using its mnemonic
- Cluster tag for each of the statistically similar tests:
  - cluster_main
  - cluster_ee_config
  - cluster_relations
  - cluster_epa
  - cluster_k8s
  - cluster_k8s_charms
  - cluster_sa
  - cluster_slices
- daily: for all tests that will run in the daily job
- regression: for all tests that should pass in the current
  stable (same as daily for this release)
- sanity: for all tests that should be passed by each commit in the
  stage3 to be successfully verified by Jenkins

The keywork "Force Tags" has been used to force the tags in all
the tests of a testsuite. In addition, the tag "cleanup" was kept
to those tests doing any deletion.

Change-Id: I3dcb5299a0d0984204ef60cc0450d1b330e6a3d2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoNew testsuite basic_17: delete vnf package when not possible 46/10546/4
garciadeblas [Thu, 25 Mar 2021 10:51:08 +0000 (11:51 +0100)]
New testsuite basic_17: delete vnf package when not possible

Change-Id: If1c7c32c004c9404ebdbec6b473249710c94370b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated hackfest_multivdu: removed SSH access password, public key file will be used... 89/10589/1
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>
3 years agoFeature 10296 Pip Standardization 32/10532/6
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>
3 years agoUpdated SA_02: wait 2 minutes for the scaled VDU to appear 68/10568/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>
3 years agons_lib: added env variable to modify timeouts depending on VIM 57/10557/2
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>
3 years agoUpdated k8s04: new test to upgrade KDU with new keyword in ns_lib 52/10552/2
aguilarherna [Thu, 25 Mar 2021 09:25:59 +0000 (10:25 +0100)]
Updated k8s04: new test to upgrade KDU with new keyword in ns_lib

Change-Id: Ic9e632c286d201b65dc5c536c9dd644aa8e42be3
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoNew test basic_16: advanced onboarding with override and scaling in 30/10530/6
aguilarherna [Wed, 24 Mar 2021 15:59:34 +0000 (16:59 +0100)]
New test basic_16: advanced onboarding with override and scaling in
complex conditions

Change-Id: Ieeae9637b3455acb247ae439f368666281711d96
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agonsi_lib: updated scale operation timeout in 'Execute Manual VNF Scale' 80/10480/3
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>
3 years agoNew test K8s07: OpenLDAP KNF in an isolated cluster of a dummy VIM 77/10477/2
aguilarherna [Wed, 10 Mar 2021 15:27:37 +0000 (16:27 +0100)]
New test K8s07: OpenLDAP KNF in an isolated cluster of a dummy VIM

Change-Id: Id92f75bfc9b9762591a5f6f439fbcaf77f5493fd
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoRevert "ns_lib: new env variable to set NS instantiation timeout for testing" 38/10538/1
garciadeblas [Wed, 24 Mar 2021 08:51:30 +0000 (09:51 +0100)]
Revert "ns_lib: new env variable to set NS instantiation timeout for testing"

This reverts commit 74181401ccc81d7d696637b6ea8a86061e87881a.

Change-Id: I620644fa362b9fddf584dba196da3b5f9ce5e090
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agons_lib: new env variable to set NS instantiation timeout for testing 28/10528/2
garciadeblas [Tue, 23 Mar 2021 12:50:29 +0000 (13:50 +0100)]
ns_lib: new env variable to set NS instantiation timeout for testing

Change-Id: Idad3fab640688ca12b9ecd3f1e37670983090740
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFixing cryptography in local dockerfile 29/10529/3
sousaedu [Tue, 23 Mar 2021 15:25:18 +0000 (16:25 +0100)]
Fixing cryptography in local dockerfile

Change-Id: I3a4a96e9420ec427e5efb25858a884f1bf1f54ae
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoUpdate k8s_03 to use Create VNFD instead of Upload Package 27/10527/1
garciadeblas [Tue, 23 Mar 2021 09:39:44 +0000 (10:39 +0100)]
Update k8s_03 to use Create VNFD instead of Upload Package

Change-Id: I4a144887bee54c0cbde9912eae4a9b20cb52277a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoNew test epa05: ping between VNF with passthrough and SDN assist 24/10424/2
aguilarherna [Tue, 2 Mar 2021 12:44:25 +0000 (13:44 +0100)]
New test epa05: ping between VNF with passthrough and SDN assist

Change-Id: I778b8f315a22e18b7333f739fe2cb1a1b1ddb39d
Signed-off-by: aguilarherna <daguilarh@indra.es>
3 years agoUpdated run_test.sh: removed checkout of sol006 branch 33/10433/1
garciadeblas [Tue, 2 Mar 2021 16:15:17 +0000 (16:15 +0000)]
Updated run_test.sh: removed checkout of sol006 branch

Change-Id: I9b83425fca715774f22b66e1a4ea62021976a1ca
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>
4 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>
4 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>
4 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>
4 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>