osm/tests.git
12 months agoFix stuck when executing a background command via SSH is SA02 37/14037/1 v13.0 v13.0.2
Ubuntu [Thu, 16 Nov 2023 10:52:33 +0000 (10:52 +0000)]
Fix stuck when executing a background command via SSH is SA02

After upgrading the image to Ubuntu 20 in hackfest_basic_metrics_vnf
the SA02 test started to fail: the "Execute Command" keyword from
SSHLibrary hangs when running a "yes" command in backgroud in the VDU
and test never ends. It seems that the SSH library does not handle
the execution of background (run using '&') processes well.

Change-Id: Ibe37b0b53c8196bb555b7d7d5f6da1365f24326d
Signed-off-by: Ubuntu <e.dah.tid@telefonica.com>
(cherry picked from commit f664aa79c33336b96904659c5a21bcaa2bbf87bb)

18 months agoUpdate requirements to branch 22/13422/1
Mark Beierl [Thu, 18 May 2023 15:00:47 +0000 (11:00 -0400)]
Update requirements to branch

requirements-dev.txt were all pointing to master

Change-Id: I137c6d2ce2251564e827f42a2a5ff449f4c279a6
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
23 months agoAdd purging of objects in VIM on exit in healing tests 97/12797/1 v13.0.1
aguilard [Tue, 20 Dec 2022 15:13:02 +0000 (15:13 +0000)]
Add purging of objects in VIM on exit in healing tests

Change-Id: Ia018aef9ef66238c9dee5aebc56861f3be9fe228
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoFixed duplicated prometheus_password argument in keyword 56/12756/1 v13.0.0 v13.0.0rc1 v13.0.0rc2
aguilard [Wed, 30 Nov 2022 07:27:49 +0000 (08:27 +0100)]
Fixed duplicated prometheus_password argument in keyword

Change-Id: I5099d58cf1a880329c1bcaa7198cb47bbb22df88
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoBug 2198 - NBI authentication uses fix username, password and project 55/12755/1
Guillermo Calvino [Tue, 22 Nov 2022 12:34:31 +0000 (13:34 +0100)]
Bug 2198 - NBI authentication uses fix username, password and project

Change-Id: Ibca350611263fd354365a183dbb16b8c347adfb3
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoFix Bug 2197 - Prometheus cannot be authenticated in Robot tests 54/12754/1
Guillermo Calvino [Mon, 21 Nov 2022 17:13:58 +0000 (18:13 +0100)]
Fix Bug 2197 - Prometheus cannot be authenticated in Robot tests

Change-Id: I1c610968fea5f13711d6d6d8bed5ddc7422a6d3f
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agov13.0 Branch Preparation 43/12743/1
Mark Beierl [Mon, 28 Nov 2022 11:29:25 +0000 (06:29 -0500)]
v13.0 Branch Preparation

Pins version of Flake8
Updates requirements to point to branch

Change-Id: I8b62a76fd1b06ad6b5a3fb13c321b3b15d7c1a16
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
23 months agoFeature 10947: Add test basic_26 for Secure gRPC in helm based EE 35/12635/3 release-v13.0-start
Gabriel Cuba [Fri, 4 Nov 2022 23:52:08 +0000 (18:52 -0500)]
Feature 10947: Add test basic_26 for Secure gRPC in helm based EE

Change-Id: I43d3f5743252c134a1f5c38b7500cfaac58ca3e1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
2 years agoBug 2194: OSM_HOSTNAME variable doesn't get the IP of the host when robot tests are... 06/12706/3
Guillermo Calvino [Fri, 18 Nov 2022 15:52:50 +0000 (16:52 +0100)]
Bug 2194: OSM_HOSTNAME variable doesn't get the IP of the host when robot tests are used with Charmed OSM

Change-Id: I96882f584dcdab60cafa27edcf7dbdae7fb65a4b
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoFeature 10956: Add test basic_27 for Helm based EE - NS update 34/12634/3
Gabriel Cuba [Fri, 4 Nov 2022 23:43:55 +0000 (18:43 -0500)]
Feature 10956: Add test basic_27 for Helm based EE - NS update

Change-Id: I190697b0a77fc76f00782f025d79303ea4ee0878
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
2 years agoRemove deprecated folder 96/12696/1
garciadeblas [Tue, 15 Nov 2022 16:11:28 +0000 (17:11 +0100)]
Remove deprecated folder

Change-Id: I534b2adcb5559acce341dffde467ebbf39c28f76
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRemove regression tag from disabled daily tests 87/12587/1
garciadeblas [Thu, 13 Oct 2022 10:11:24 +0000 (12:11 +0200)]
Remove regression tag from disabled daily tests

Change-Id: Ie825fe49cc5543179b68c8edd2a2cd8e73aab85c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate quotas_01 to follow the same format than other tests 74/12574/2
garciadeblas [Mon, 3 Oct 2022 09:08:12 +0000 (11:08 +0200)]
Update quotas_01 to follow the same format than other tests

Change-Id: I801cf487ef5dd1659b0973b2a90d94a1c2122b01
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate requirements-dev.txt based on osmclient and IM requirements 15/12515/1
garciadeblas [Thu, 1 Sep 2022 11:53:06 +0000 (13:53 +0200)]
Update requirements-dev.txt based on osmclient and IM requirements

Change-Id: I04265ff5752c844bdf44f04d1d44403d5fe531df
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate default env file for tests 06/12506/1
garciadeblas [Tue, 30 Aug 2022 12:42:26 +0000 (14:42 +0200)]
Update default env file for tests

Change-Id: I3c8877ef23d552f9b6b5647aa9d0c8fd4eb65166
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMinor typo in README, added plans for new policies in stage-test 05/12505/2
garciadeblas [Tue, 30 Aug 2022 11:30:01 +0000 (13:30 +0200)]
Minor typo in README, added plans for new policies in stage-test

Change-Id: Icf5178c54c030fef0f7b7dbc2d23e1961ef34db5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRemove redundant README file 04/12504/2
garciadeblas [Tue, 30 Aug 2022 11:26:10 +0000 (13:26 +0200)]
Remove redundant README file

Change-Id: I14d115937b31af3c619b5d4c256b258e9c6e69a9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoAdding robot tests to validate Feature 10944 change naming of charms 91/12491/3
aticig [Thu, 25 Aug 2022 10:10:14 +0000 (13:10 +0300)]
Adding robot tests to validate Feature 10944 change naming of charms

Change-Id: I88c2c38d4be172502858c2fde7f7ef6d87afbd0b
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoRemove regression tag from new tests 69/12269/3
garciadeblas [Sat, 25 Jun 2022 16:38:32 +0000 (18:38 +0200)]
Remove regression tag from new tests

Regression tags should only be applied to tests running in the
previous release. New tests for newi features by default should not have
the tag regression, unless they are incorporated into the latest
stable branch. This change updates the tags accordingly.

In addition, this commit does minor changes in README file.

Change-Id: Icca6c15343961fee1bb1adf0ee19f6871725f9cf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoApply cluster_heal tag to heal tests instead of cluster_main 68/12268/3
garciadeblas [Sat, 25 Jun 2022 16:29:22 +0000 (18:29 +0200)]
Apply cluster_heal tag to heal tests instead of cluster_main

Change-Id: I8fb7929eb7890b2a3426bc07d3cfa28952a7fbf8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRefactor packages_lib into package_lib 67/12267/3
garciadeblas [Sat, 25 Jun 2022 16:19:04 +0000 (18:19 +0200)]
Refactor packages_lib into package_lib

Change-Id: I5cd6944813eaec749e66fa44ce4c5e707563d11b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRemove sanity tag from k8s12 and re-apply to k8s04 32/12432/1
garciadeblas [Tue, 9 Aug 2022 08:20:08 +0000 (10:20 +0200)]
Remove sanity tag from k8s12 and re-apply to k8s04

Change-Id: Ia2a1850814eec7fbceb0f337fa82c6a5a32db4ef
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoAdd check of spaces at EOL in stage-test 66/12266/2
garciadeblas [Sat, 25 Jun 2022 16:12:53 +0000 (18:12 +0200)]
Add check of spaces at EOL in stage-test

Change-Id: I5d4ebc92eded762475a7a33f6a61acf870c8413d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMove variables from resources to testsuite for SA tests 65/12265/3
garciadeblas [Fri, 24 Jun 2022 10:39:33 +0000 (12:39 +0200)]
Move variables from resources to testsuite for SA tests

Change-Id: Id619d50b437ec70e37b3657eb2479f0559989771
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 2132: Remove tags 26/12426/2
Mark Beierl [Wed, 3 Aug 2022 18:14:14 +0000 (14:14 -0400)]
Bug 2132: Remove tags

Heal tests should not have prepare/verify tags as those are used
for upgrade testing, and so cannot be 'prepared' on older versions
of OSM.

Fixes Bug 2132

Change-Id: I4e886ceea798507a0afed8bf23b3f48074fd0f51
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoJenkins refresh 46/12346/2
Mark Beierl [Thu, 14 Jul 2022 13:41:56 +0000 (09:41 -0400)]
Jenkins refresh

Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup

Change-Id: I334bbedb913eb47c2951ee64b23d045b0b70ac77
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoheal_01 and heal_02: changed VDU status prior to healing 35/12235/2
aguilard [Wed, 22 Jun 2022 10:44:20 +0000 (10:44 +0000)]
heal_01 and heal_02: changed VDU status prior to healing

Change-Id: I4dd6d1778488cd764c8cc7030e838998c5b54bde
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoUpdate basic_18 to check interfaces order in VDUs 93/12193/2
aguilard [Fri, 10 Jun 2022 10:58:09 +0000 (12:58 +0200)]
Update basic_18 to check interfaces order in VDUs

Change-Id: I0c69e72f16ebbe978dba00a3c7ae0c7801745840
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoFix warning about deprecation of 'Run Keyword Unless' keyword 92/12292/1
aguilard [Fri, 1 Jul 2022 12:06:41 +0000 (12:06 +0000)]
Fix warning about deprecation of 'Run Keyword Unless' keyword

Change-Id: I97ed0aaac318484fec4dfd586a1f2596bbadf40f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoManual update of pip requirements 63/12263/1 release-v12.0-start
beierlm [Sat, 25 Jun 2022 03:17:15 +0000 (23:17 -0400)]
Manual update of pip requirements

Change-Id: I3ad1890aea080255f50a9d4f6e037ffb1425bf01
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoManual update of pip requirements 61/12261/1
beierlm [Sat, 25 Jun 2022 01:34:04 +0000 (21:34 -0400)]
Manual update of pip requirements

Change-Id: Ie2dd573fa79310c600901ec5e00dafa544cd9f27
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoAdd instructions in README to post-process Robot output files 40/12240/2
garciadeblas [Thu, 23 Jun 2022 12:00:01 +0000 (14:00 +0200)]
Add instructions in README to post-process Robot output files

Change-Id: Iface2d03e3b2fcb02c4bd22aa690584e9afdccbf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoReformat Robot files to follow best practices 39/12239/1
garciadeblas [Thu, 23 Jun 2022 11:33:26 +0000 (13:33 +0200)]
Reformat Robot files to follow best practices

Best practices in Robot files consist in using three spaces as
separator and not using tabs. This change updates all files
and includes the checking of the format as part of
`devops-stages/stage-test.sh`. In addition, it checks that files
have no CRLF terminators.

Change-Id: Ie71c2dd92585eba3baf98df0be54f05828819ad8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix warnings in sol003 tests related to RequestsLibrary 29/12229/2
dhanasekaran [Tue, 21 Jun 2022 07:19:17 +0000 (07:19 +0000)]
Fix warnings in sol003 tests related to RequestsLibrary

Instead of the deprecated methods Post Request and Get Request, the
new methods Post On Session and Get On Session are used.

Change-Id: I64f0f575c752743b0125385f08c1fc5731457881
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoRevert "Fix warnings with RequestsLibrary related to Post Request and Get Request" 26/12226/1
garciadeblas [Mon, 20 Jun 2022 21:32:40 +0000 (23:32 +0200)]
Revert "Fix warnings with RequestsLibrary related to Post Request and Get Request"

This reverts commit cc3f879f1dadc08ab63ef2d11d80d6ae8e5edea6.

Change-Id: I46700e1bcf8395bb691ad907d1b73b70b264ef7b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix heal_03 to get IP address from VDU with count-index 1 24/12224/1
garciadeblas [Mon, 20 Jun 2022 10:57:09 +0000 (12:57 +0200)]
Fix heal_03 to get IP address from VDU with count-index 1

Change-Id: I9f6bfffb808b0d83bed3cc7d1baa14d4b62d7cfb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix warnings with RequestsLibrary related to Post Request and Get Request 23/12223/1
garciadeblas [Mon, 20 Jun 2022 08:44:29 +0000 (10:44 +0200)]
Fix warnings with RequestsLibrary related to Post Request and Get Request

Change-Id: I28f9ce0a6d8b254286ae905e5d15271ea5a4ba66
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRobot fix for Autohealing tests 19/12219/4
dhanasekaran [Sat, 18 Jun 2022 10:21:49 +0000 (10:21 +0000)]
Robot fix for Autohealing tests

This reverts commit d1d030c9a30bd1b274c3d17af2da2d79c5668e10.

Change-Id: I04be9df1cfd2c0d66118cbdd217caba59994d5f7
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoFix typo in slice_02 introduced by commit 6e121fd 17/12217/1
garciadeblas [Fri, 17 Jun 2022 22:02:18 +0000 (00:02 +0200)]
Fix typo in slice_02 introduced by commit 6e121fd

Change-Id: I8164b63666c3f87c39da55b8fe6a0bcd4ab27593
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRobot fix for Autohealing tests 09/12209/4
dhanasekaran [Thu, 16 Jun 2022 14:10:06 +0000 (14:10 +0000)]
Robot fix for Autohealing tests

Change-Id: I40164ad92a59690fdfe295506800a18c1b30f49a
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoUpdate Dockerfile to replicate Devops Dockerfile as much as possible 23/12123/5
garciadeblas [Tue, 24 May 2022 09:22:57 +0000 (11:22 +0200)]
Update Dockerfile to replicate Devops Dockerfile as much as possible

Change-Id: I137c2c73090b0eb49c905f02763bc10f761220ba
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate README with instructions to setup enviroment and the right tags 08/12108/6
garciadeblas [Wed, 6 Apr 2022 09:46:58 +0000 (11:46 +0200)]
Update README with instructions to setup enviroment and the right tags

Change-Id: I7a623bbaa29bd86e8100ce81c938abbab4ccaa1e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRemove tabs in robot files in favour of spaces, add chek in stage-test 07/12107/5
garciadeblas [Fri, 20 May 2022 11:13:01 +0000 (13:13 +0200)]
Remove tabs in robot files in favour of spaces, add chek in stage-test

Change-Id: I5ab7d35ee16557b00caf3dc0f136e6b01f948b0c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoAutohealing Feature robot test support 66/11966/9
dhanasekaran [Thu, 28 Apr 2022 12:56:03 +0000 (12:56 +0000)]
Autohealing Feature robot test support

Change-Id: I8783986cc922603eda21e2ab500acb2180d941d4
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoFeature 10909: Robot tests for healing 68/11868/10
aguilard [Fri, 8 Apr 2022 09:36:03 +0000 (09:36 +0000)]
Feature 10909: Robot tests for healing

Change-Id: I86bab7a72baf6f4accec74e2d54a7b4dfdbe6c38
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoAdded .gitlab-ci.yml 84/12184/1
garciadeblas [Wed, 8 Jun 2022 14:12:08 +0000 (16:12 +0200)]
Added .gitlab-ci.yml

Change-Id: Ic5ba097cf8129096fc8bf34a36aef180cbbba338
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRevert "Update basic_18 to test re-ordering of the interfaces based on the VNF descri... 81/12181/1
garciadeblas [Wed, 8 Jun 2022 11:15:19 +0000 (13:15 +0200)]
Revert "Update basic_18 to test re-ordering of the interfaces based on the VNF descriptor"

This reverts commit 5fc28f9f0a6638ebc2073581ed348455b7bf84cb.

Change-Id: I8d230aea35a064607680e5fbc021df6b727f0584
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate basic_18 to test re-ordering of the interfaces based on the VNF descriptor 72/12172/1
garciadeblas [Tue, 7 Jun 2022 15:08:59 +0000 (17:08 +0200)]
Update basic_18 to test re-ordering of the interfaces based on the VNF descriptor

Change-Id: I226dbe41e59d7855d4e2027abb6cf73bde287fef
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoSol003 Robot test support 85/12085/2
dhanasekaran [Tue, 17 May 2022 12:12:40 +0000 (14:12 +0200)]
Sol003 Robot test support

Change-Id: Id5fb767d6bdfc87ea721cb74b9b5e392761e93b8
Signed-off-by: dhanasekaran <ragavi.d@tataelxsi.co.in>
2 years agoRevert "Fix bug 1931: adds missing parameter" 76/12076/3
garciadeblas [Wed, 18 May 2022 13:35:15 +0000 (15:35 +0200)]
Revert "Fix bug 1931: adds missing parameter"

This reverts commit 1a9cf4646bf405c737717a063950697955261179.

Reason for revert:

Incorrect K8s cluster is being examined.  The kubecfg.yaml for the kubectl
command needs to match the one to which the service was deployed.

Change-Id: I7b105be738d58430b89c3bff2bbe63ca00f8bc99
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10908: Update charm in running VNF instance 36/12036/5
aticig [Wed, 11 May 2022 16:31:46 +0000 (19:31 +0300)]
Feature 10908: Update charm in running VNF instance

Adding robot test Basic 25
This test instantiates NS, updates the VNFD, update the VNF instance
by upgrading charm. Then it executes the new added action on this VNF.

Change-Id: I68140f01fadf791a512870ff0f6b0babfcb67e0c
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoRevert "Feature 10915: SOL003 STD Support for OSM - Robot Support" 63/12063/2
almagia [Tue, 17 May 2022 08:23:23 +0000 (10:23 +0200)]
Revert "Feature 10915: SOL003 STD Support for OSM - Robot Support"

This reverts commit 7b8a0026ea790561beb96b47e40546a6cdd6706a.

As requested by TSC chair

Change-Id: I3e595462fbb846d658a5c5cd1269e5fe36874e41

2 years agoFix bug 1931: adds missing parameter 84/11784/6
aktas [Fri, 25 Mar 2022 03:04:25 +0000 (06:04 +0300)]
Fix bug 1931: adds missing parameter

ns_config now includes initial replicaCount to set a start point for the deployment.
Also, the logic for pod number counting is change with `kubectl` command to get
real time pod count. `Get Vnf Kdu Replica Count` method gets the replicaCount information
from osm configs.

Change-Id: I92cdb88c562a4297f6d09b773710c7c6b371e05e
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
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>
2 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>