osm/tests.git
2 months agoBug 2327 fix to verify ipaddress in sol003_02 testsuite 48/14148/6 master
sritharan [Tue, 26 Dec 2023 07:04:44 +0000 (07:04 +0000)]
Bug 2327 fix to verify ipaddress in sol003_02 testsuite

Change-Id: I9896f70aa0bc4f62ba1b21106bcf9b8b9ed464ac
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
3 months agoRead all variables required for EPA_03 testsuite from the robot file 63/14163/2
garciadeblas [Tue, 23 Jan 2024 13:29:51 +0000 (14:29 +0100)]
Read all variables required for EPA_03 testsuite from the robot file

Change-Id: Ibcd39e2e1547839ca276718c8d4f25e67cb8071d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoAvoid creating SDNC for tests during run_test.sh, doing it in the testsuite instead 62/14162/1
garciadeblas [Tue, 23 Jan 2024 13:30:54 +0000 (14:30 +0100)]
Avoid creating SDNC for tests during run_test.sh, doing it in the testsuite instead

Change-Id: I026d63dd6af85d32a49de7cc6f2d8c52ac870ec6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoDecouple create_sdnc from create_vim in run_test.sh 61/14161/1
garciadeblas [Tue, 23 Jan 2024 13:27:30 +0000 (14:27 +0100)]
Decouple create_sdnc from create_vim in run_test.sh

Change-Id: I8984e97de7010c43a000451e15b396f83635c5cd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoUpdate keywords in sol003_02 to avoid duplicates 44/14144/2
garciadeblas [Mon, 18 Dec 2023 10:54:35 +0000 (11:54 +0100)]
Update keywords in sol003_02 to avoid duplicates

Change-Id: I0d1aa6289f3be927e72972153c45a294686d828d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoPin robotframework-robocop version in tox.ini to 4.2.2 to fix stage2 49/14149/1
garciadeblas [Thu, 11 Jan 2024 14:29:30 +0000 (15:29 +0100)]
Pin robotframework-robocop version in tox.ini to 4.2.2 to fix stage2

Change-Id: I20e2c99974aeca202432d0473e585796001b7568
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoUpdate k8s tests to check cluster creation inside testsuite 29/14129/1 release-v15.0-start
garciadeblas [Sun, 17 Dec 2023 00:40:23 +0000 (01:40 +0100)]
Update k8s tests to check cluster creation inside testsuite

This change moves the check of the cluster creation to the testsuite.
In that way, the test can change depending on whether the juju controller
exists or doesn't exist.

Change-Id: I072c27061745ca8d8766d0dc1ded71a252cceef2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoUpdate heal tests to use new NF and NS packages without charms 28/14128/1
garciadeblas [Sun, 17 Dec 2023 00:39:04 +0000 (01:39 +0100)]
Update heal tests to use new NF and NS packages without charms

Change-Id: I1ab0ff3b85ae596cf79c5cb8913df9a7a2619560
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoRemove daily tag from tests using charm packages 27/14127/1
garciadeblas [Sun, 17 Dec 2023 00:37:47 +0000 (01:37 +0100)]
Remove daily tag from tests using charm packages

Change-Id: I514dfc178c059e4c614a15f3a49b923089c7ce0f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoAdd regression tag to tests used in v14 26/14126/2
garciadeblas [Sat, 16 Dec 2023 09:51:48 +0000 (10:51 +0100)]
Add regression tag to tests used in v14

Change-Id: Ibe485f4d09d05a56ef662032b493600ff42d0cfd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoRobot testcase for DualStackip 22/14122/10
rarik [Thu, 14 Dec 2023 07:14:53 +0000 (07:14 +0000)]
Robot testcase for DualStackip

Change-Id: Ic21e3b4aa35718dc2d9dad91a2ae57f45c5defcd
Signed-off-by: rarik <arika.r@tataelxsi.co.in>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFix minor issue in hackfest_multivdu introduced with feature 11001 23/14123/1
garciadeblas [Thu, 14 Dec 2023 09:30:09 +0000 (10:30 +0100)]
Fix minor issue in hackfest_multivdu introduced with feature 11001

Change-Id: Ib27c2317d20b4c45fa500d0807c7deb106036dd6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 11001: Robot framework linting for E2E tests 17/14117/5
garciadeblas [Mon, 11 Dec 2023 21:24:46 +0000 (22:24 +0100)]
Feature 11001: Robot framework linting for E2E tests

This change includes robotframework-lint and robocop checks which will
improve code maintenance.

In addition, all references to ROBOT_DEVOPS_FOLDER have been properly
replaced in all testsuites.

Change-Id: I6efb306b51302d0400240bcd57435f0990021415
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoRevert "Feature 11001: Robot framework linting for E2E tests" 16/14116/1
garciadeblas [Mon, 11 Dec 2023 15:26:40 +0000 (16:26 +0100)]
Revert "Feature 11001: Robot framework linting for E2E tests"

This reverts commit 5e001f506b744021d5ef25999c9da28cf56d8fbc.

Change-Id: I37e214089048810454eee0e1e2fcea54632f8b3f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 11001: Robot framework linting for E2E tests 55/14055/13
garciadeblas [Thu, 23 Nov 2023 15:02:56 +0000 (16:02 +0100)]
Feature 11001: Robot framework linting for E2E tests

This change includes robotframework-lint and robocop checks which will
improve code maintenance.

In addition, all references to ROBOT_DEVOPS_FOLDER have been properly
replaced in all testsuites.

Change-Id: I844a353bdfc1dde6f068a879002d16429d304e65
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 10997: add new robot test to test multi-KDU NF and OCI registries for helm 59/14059/11
garciadeblas [Thu, 23 Nov 2023 15:02:56 +0000 (16:02 +0100)]
Feature 10997: add new robot test to test multi-KDU NF and OCI registries for helm

Change-Id: Idfd2ade876668408ce2a5bf9aa170c1673ee74bf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
4 months agoLaunching the NS using the Dualstackip 46/14046/10
rarik [Mon, 20 Nov 2023 17:28:32 +0000 (22:58 +0530)]
Launching the NS using the Dualstackip

Change-Id: I8bb8e9c492ef8519b3888e8695fe1905d66a5dd8
Signed-off-by: rarik <arika.r@tataelxsi.co.in>
4 months agoOSM Repo library for robot tests 62/14062/4
Gabriel Cuba [Thu, 23 Nov 2023 23:11:42 +0000 (18:11 -0500)]
OSM Repo library for robot tests

Change-Id: I8fb5dca98f9be2f209b157e5bb074c8e2e096174
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
4 months agoFeature 10996: cancel operation robot test 58/14058/6
Gabriel Cuba [Thu, 23 Nov 2023 05:44:58 +0000 (00:44 -0500)]
Feature 10996: cancel operation robot test

Change-Id: I1a582eb3e52507e7a975f95cf099ca3f71092c48
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
4 months agoFeature 11003: AZ for cinder 47/14047/3
Luis [Mon, 20 Nov 2023 20:42:53 +0000 (20:42 +0000)]
Feature 11003: AZ for cinder

Change-Id: I3e9829d3bc21f2399eab4db3e5d08ceb9d3d1918
Signed-off-by: Luis <lvega@whitestack.com>
4 months agoUpdate run_test.sh to remove skip-helm2 option when registering K8s cluster 65/14065/1
garciadeblas [Mon, 27 Nov 2023 15:50:01 +0000 (16:50 +0100)]
Update run_test.sh to remove skip-helm2 option when registering K8s cluster

Since Helm v2 is deprecrated, this option makes no sense now.

Change-Id: I841a9db5ce4158ca1b1e7a04c79d8a59c8cf190a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFeature 11006: make juju installation optional in community installer 48/14048/2
garciadeblas [Mon, 20 Nov 2023 23:29:27 +0000 (00:29 +0100)]
Feature 11006: make juju installation optional in community installer

By default, the community installer will install OSM without Juju. All
tests with the sanity tag that rely on Juju have been updated to remove
the sanity tag: basic-07, basic-11, k8s-03.

In addition, all tests with the daily tag that rely on Juju have been
updated to remove the daily tag.

Change-Id: I1103fd0b04d8917cd73df0b492843ecf0a640834
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFix stuck when executing a background command via SSH is SA02 27/14027/3
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>
5 months agoFeature 10982: Public Cloud Robot Suite 14/14014/4
aguilard [Mon, 13 Nov 2023 13:16:32 +0000 (13:16 +0000)]
Feature 10982: Public Cloud Robot Suite

Add scripts needed in tests image container for public clouds:
creating and deleting VMs, k8s cluster, etc.

Change-Id: Ia454aedfd8e4fd0c100fc82a12ace725b01491dd
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
6 months agoUpdate Robot execution to have a reduced report by tags 44/13644/3
garciadeblas [Thu, 6 Jul 2023 10:46:21 +0000 (12:46 +0200)]
Update Robot execution to have a reduced report by tags

Change-Id: I24575bef89f5c5fd8277205b18b94863a6cb6047
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix setup of prometheus suite variables in prometheus_lib 34/13934/3
garciadeblas [Thu, 5 Oct 2023 09:46:45 +0000 (11:46 +0200)]
Fix setup of prometheus suite variables in prometheus_lib

Change-Id: I5184c7d216937aa1a6c05695a4197353eea96387
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoRemove common_helpers.py and update tests using it 95/13595/6
garciadeblas [Tue, 27 Jun 2023 22:23:34 +0000 (00:23 +0200)]
Remove common_helpers.py and update tests using it

Change-Id: I013ce2037994baa28efe0dedb5b206a4231449a3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoUpdate pip requirements to pass stage2 and stage3 in all modules 95/13895/1
garciadeblas [Thu, 28 Sep 2023 16:58:58 +0000 (18:58 +0200)]
Update pip requirements to pass stage2 and stage3 in all modules

Change-Id: Iacc04dd258509ad6245302baafb8a7bfa63aa04c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
8 months agoIncrease scale-out timeout in HEAL02 and HEAL03 tests 16/13816/1
aguilard [Tue, 22 Aug 2023 08:36:09 +0000 (08:36 +0000)]
Increase scale-out timeout in HEAL02 and HEAL03 tests

Change-Id: Ib56c20d014ab6b9aaa279ef1ed3e2ad0baa32eb1
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
9 months agoUpdate version of PyYAML 21/13721/1
Mark Beierl [Fri, 21 Jul 2023 17:14:34 +0000 (17:14 +0000)]
Update version of PyYAML

Change-Id: Ibaa3e941ac3867c88f24170c28d6e18028546096
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
9 months agoAdded azure tag in Azure-compatible tests 31/13631/1
aguilard [Wed, 5 Jul 2023 13:09:07 +0000 (15:09 +0200)]
Added azure tag in Azure-compatible tests

Change-Id: Ia6009f0c734889a49a687c0e7848d7681df097d6
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
9 months agoRemove get_osm_info from common_helpers.py and add it to rest_lib 88/13588/6 release-v14.0-start
garciadeblas [Tue, 27 Jun 2023 10:07:08 +0000 (12:07 +0200)]
Remove get_osm_info from common_helpers.py and add it to rest_lib

Change-Id: Ibacebaeca1306f3815cef3fff8554563b656cd6f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoUpdate Dockerfile to remove libcurl and libssl dependencies 91/13591/4
garciadeblas [Tue, 27 Jun 2023 22:19:09 +0000 (00:19 +0200)]
Update Dockerfile to remove libcurl and libssl dependencies

Change-Id: I446b452c06b76b33e8ed5520402c90618322c86e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoUpdate README to clarify the common testing scenarios 92/13592/4
garciadeblas [Tue, 27 Jun 2023 22:21:14 +0000 (00:21 +0200)]
Update README to clarify the common testing scenarios

Change-Id: I80f0ac743f8ab7d22733cfc16ddead5101546665
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoUpdate requirements after updating osmclient dependencies 94/13594/3
garciadeblas [Wed, 28 Jun 2023 08:22:42 +0000 (10:22 +0200)]
Update requirements after updating osmclient dependencies

Change-Id: Iea5fb4b4e02fc217d1787ae109d68a788aa6af4b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRename test tag cluster_sol003 to cluster_osm_rest 89/13589/2
garciadeblas [Tue, 27 Jun 2023 10:19:31 +0000 (12:19 +0200)]
Rename test tag cluster_sol003 to cluster_osm_rest

Change-Id: I64ce09eb0b9d7b650ee488290ca89e2a9ca71e03
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRename sol003_common_lib to rest_lib and move variables to sol003_01 testsuite 87/13587/1
garciadeblas [Tue, 27 Jun 2023 09:21:05 +0000 (11:21 +0200)]
Rename sol003_common_lib to rest_lib and move variables to sol003_01 testsuite

Change-Id: I1bb45dfe6fd5915798ad859eb23ff8d11be5a4f4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFeature 10972: Fixes robotest 74/13574/6
vegall [Thu, 22 Jun 2023 22:22:44 +0000 (22:22 +0000)]
Feature 10972: Fixes robotest

Change-Id: I2dc1530c34866fde54706dc9f422d2fd9df322af
Signed-off-by: vegall <lvega@whitestack.com>
10 months agoFix basic_15 and quotas_01 to update the user with new password 66/13566/2
selvi.j [Thu, 22 Jun 2023 07:32:46 +0000 (07:32 +0000)]
Fix basic_15 and quotas_01 to update the user with new password

Change-Id: I7905909e2106154f9867030ef94af0ece7030286
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
10 months agoFix basic15 and quotas01 to follow pwd best practices introduced with feature 10941 54/13554/1
garciadeblas [Tue, 20 Jun 2023 08:54:33 +0000 (10:54 +0200)]
Fix basic15 and quotas01 to follow pwd best practices introduced with feature 10941

Change-Id: Idfc3ab48ea36bb0282882fec6dc300aa8da9e4aa
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoImproved heal02 test to create a flavor with random name 52/13552/2
aguilard [Tue, 20 Jun 2023 10:51:16 +0000 (10:51 +0000)]
Improved heal02 test to create a flavor with random name

Change-Id: I68d54314528bf7cf08227759e37b85b355319226
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
10 months agoFix Heal02 error when flavor already exists 50/13550/1
aguilard [Tue, 20 Jun 2023 07:40:33 +0000 (07:40 +0000)]
Fix Heal02 error when flavor already exists

Change-Id: I9fd2d4cf332de4e0f367a2518b6f61db10749885
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
10 months agoFix Heal02 to check properly that the flavor ID is part of vim_info 47/13547/2
garciadeblas [Mon, 19 Jun 2023 10:48:04 +0000 (12:48 +0200)]
Fix Heal02 to check properly that the flavor ID is part of vim_info

Change-Id: Icf2281d4214e7acaf5fb69b99bff200c7c80f859
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRemove unnecessary grep and tr from some tests 46/13546/2
garciadeblas [Mon, 19 Jun 2023 10:00:49 +0000 (12:00 +0200)]
Remove unnecessary grep and tr from some tests

Change-Id: I1cd911ee35614f1726dd95abe6a5b1923a8b772c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix SSH privatekey in basic_26 21/13521/2
Gabriel Cuba [Thu, 8 Jun 2023 04:53:34 +0000 (23:53 -0500)]
Fix SSH privatekey in basic_26

Change-Id: Iee0a30314d90288121364e2ea385d2b1fdd8df2a
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
10 months agoFix basic26 credentials to connect to OSM via SSH 03/13503/5
garciadeblas [Mon, 5 Jun 2023 13:57:31 +0000 (15:57 +0200)]
Fix basic26 credentials to connect to OSM via SSH

Change-Id: I1da6be6be34b6011ef3e3fc1d05882534a36e623
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoIncrease NS timeout from 5 min to 6min in Heal01-03 tests 97/13497/2
garciadeblas [Fri, 2 Jun 2023 12:43:43 +0000 (14:43 +0200)]
Increase NS timeout from 5 min to 6min in Heal01-03 tests

Change-Id: I35fe4e381344613c893b86aa94941dc847584a26
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoMinor fix in SA07 robot test 89/13489/2
aguilard [Thu, 1 Jun 2023 12:02:45 +0000 (12:02 +0000)]
Minor fix in SA07 robot test

Change-Id: I5ba876dd6d590f763117bd1678f45d4af3b9915d
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
10 months agoUpdate README.md with instructions to run tests using testing-daily images 88/13488/2
garciadeblas [Tue, 23 May 2023 10:08:53 +0000 (12:08 +0200)]
Update README.md with instructions to run tests using testing-daily images

Change-Id: I470b06690c9a1cad29033147b96ea53b8524ec5f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFeature 10957: Extend basic_26 to test client side TLS in helm based EE 11/13311/12
Gabriel Cuba [Thu, 27 Apr 2023 22:06:54 +0000 (17:06 -0500)]
Feature 10957: Extend basic_26 to test client side TLS in helm based EE

Change-Id: Ic8630dd8f8f7cbad270479ca07082ad73c85f1bd
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
10 months agoUpdate SA tests to add filter string with ns_id to Get Metric 87/13487/1
garciadeblas [Thu, 1 Jun 2023 09:05:58 +0000 (11:05 +0200)]
Update SA tests to add filter string with ns_id to Get Metric

Change-Id: I0d7586aa151da6add38086f4c7a1a02db77a4200
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFeature 10972: Add tests for volume multiattach 30/13430/5
Gabriel Cuba [Fri, 19 May 2023 23:30:19 +0000 (18:30 -0500)]
Feature 10972: Add tests for volume multiattach

Change-Id: Ib7c918cd8d3a160cfeb69503e10b135893be244b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
10 months agoAvoid execution of tests in run_test.sh if no tag is provided 36/13436/2
garciadeblas [Tue, 23 May 2023 09:17:09 +0000 (11:17 +0200)]
Avoid execution of tests in run_test.sh if no tag is provided

The idea of this commit is to enable the use of run_test.sh for
other purposes like running TST010 conformance tests or register VIM
and K8s clusters, so that the VIM and cluster registration can be
decoupled. In that way, daily jobs could run several tests, one after
the other, with different VIMs.

Change-Id: If0791f9562d23a861f8491c144cdc7f539efec46
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdated README with cleaner instructions 35/13435/2
garciadeblas [Tue, 23 May 2023 09:31:29 +0000 (11:31 +0200)]
Updated README with cleaner instructions

Change-Id: Iac797372e88e71afb1322e2bd0e71feba4535f21
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10975: Modify heal_02 to test instantiation, scaling and healing using an... 82/13382/9
Gabriel Cuba [Fri, 12 May 2023 18:44:16 +0000 (13:44 -0500)]
Feature 10975: Modify heal_02 to test instantiation, scaling and healing using an existing flavor-id

Change-Id: Ic9c02b13dda5c2e8eac3b8bfe027bd858d49a367
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoFeature 10978: add tests for ipv6 profiles in vnfd and nsd 51/13351/11
Gabriel Cuba [Tue, 9 May 2023 17:37:29 +0000 (12:37 -0500)]
Feature 10978: add tests for ipv6 profiles in vnfd and nsd

Change-Id: If62b1489249fe4135a14b9c2720573ba8fe1a5c1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoFix Fail01 to get openstack quota properly after updating client version 37/13437/1
garciadeblas [Tue, 23 May 2023 09:59:47 +0000 (11:59 +0200)]
Fix Fail01 to get openstack quota properly after updating client version

Change-Id: Ief7b4d5f150d67cecf944021c2598456672a30e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate SA02 to take into account the VNF threshold-time 28/13428/3
garciadeblas [Fri, 19 May 2023 10:47:09 +0000 (12:47 +0200)]
Update SA02 to take into account the VNF threshold-time

Change-Id: Idde7fa330e8e9b141053c15edb266817c4e699c6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFix error message in run_test.sh for create_k8scluster 10/13410/1
garciadeblas [Thu, 18 May 2023 13:06:49 +0000 (15:06 +0200)]
Fix error message in run_test.sh for create_k8scluster

Change-Id: Ice2e0bc5e829e31a81cbde30ea6784de64d8ca63
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoSupport of Python3.10 73/13373/8
garciadeblas [Wed, 10 May 2023 15:25:47 +0000 (17:25 +0200)]
Support of Python3.10

This change includes required changes to make tests work in Python3.10.
It also enables tox running as part of stage-test, which was not included before.
For the moment, only flake8 and black envs will be checked. Some pylint
errors have been fixed, but a few remain unsolved. That's why pylint is
run, but its result is ignored.

Change-Id: I29105bf849eab8b47f92627a7eea1ede31b8e05b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoClean stage-archive.sh and use allowlist_extenals in tox.ini 13/13213/1
garciadeblas [Tue, 18 Apr 2023 13:04:57 +0000 (15:04 +0200)]
Clean stage-archive.sh and use allowlist_extenals in tox.ini

Change-Id: I690598c770f52d805ee3516fead7fa191c90205f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoFix bug 2220 to solve sol003_01 test 97/12997/2
garciadeblas [Thu, 23 Feb 2023 16:37:47 +0000 (17:37 +0100)]
Fix bug 2220 to solve sol003_01 test

Change-Id: Ic4376067a8b42e470c09ba0668c545db8ce08e55
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoFeature 10974: Add juju instantiation params robot test 24/12924/8
Patricia Reinoso [Tue, 7 Feb 2023 17:41:21 +0000 (17:41 +0000)]
Feature 10974: Add juju instantiation params robot test

Add instatiation parameters to scale=2 nginx application
at NS instantiation.

Change-Id: I020bb0893bc0c7818b6df5ccd6f0a57d23b22e60
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
14 months agoUpdating python dependencies 92/12892/2
Mark Beierl [Fri, 27 Jan 2023 21:26:28 +0000 (21:26 +0000)]
Updating python dependencies

Update of Python packages (using pip-compile) in preparation for
Release FOURTEEN

Change-Id: Id779bcbf8e803f8ba3fd008eeb2f740593e3b019
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoAdding Basic_28 Keep persistent volumes robot test 72/12772/5
Gulsum Atici [Fri, 9 Dec 2022 13:38:22 +0000 (16:38 +0300)]
Adding Basic_28 Keep persistent volumes robot test

Change-Id: I8815a7caf73c0f9007c439c5271dbd5638f754d9
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
15 months agoFixing typo 93/12793/2
Mark Beierl [Thu, 15 Dec 2022 20:55:24 +0000 (15:55 -0500)]
Fixing typo

Environment variable expansion had % instead of $

Change-Id: Ie84e93378fb654433b443afa26eeab6e210ad311
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoUse case-sensitive keyword Log instead of log 99/12799/1
garciadeblas [Wed, 21 Dec 2022 10:43:06 +0000 (11:43 +0100)]
Use case-sensitive keyword Log instead of log

Change-Id: I756aedef764cdbbc91d27b6eba060cb4e5fea66b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoAdd purging of objects in VIM on exit in healing tests 96/12796/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>
16 months agoRevert "Testing Pabot" 90/12790/1
beierlm [Wed, 14 Dec 2022 18:27:28 +0000 (19:27 +0100)]
Revert "Testing Pabot"

This reverts commit 5ea40e756c18c79f398a02b5cd907b5dce0974aa.

Reason for revert:
The heal tests collide with each other as they reuse the same
descriptors.

Change-Id: Id5a094d1786fe3fae25119d2c1ceb75134019cf1
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoTesting Pabot 48/12548/3
Mark Beierl [Thu, 15 Sep 2022 18:18:25 +0000 (14:18 -0400)]
Testing Pabot

Simple test to run 2 concurrent robot tests at the same
time just to see if it works

Change-Id: I1c13486ed9e63d6ba193a14d992e3a9ad6d8600c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoSystem Level K8s Cluster 73/12773/1
Mark Beierl [Fri, 9 Dec 2022 15:20:45 +0000 (10:20 -0500)]
System Level K8s Cluster

Changes the tests and wrapper script so that a system level k8s
cluster is created instead of each test creating a new cluster.
This is needed if any parallel testing is done, due to the bug
where problems occur if more than one k8s cluster is registered
to the VIM.

Change-Id: I21cad8f2a0fe6c259a4162330b3544ceeed9309b
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoFixed duplicated prometheus_password argument in keyword 52/12752/2
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>
16 months agoBug 2198 - NBI authentication uses fix username, password and project 11/12711/2
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>
16 months agoFix Bug 2197 - Prometheus cannot be authenticated in Robot tests 10/12710/2
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>
17 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>
17 months 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>
17 months 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>
17 months 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>
18 months 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>
18 months 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>
19 months 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>
19 months 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>
19 months 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>
19 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>