From d7f75d7d293999d41af88ef4752906b134f58930 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Sat, 25 Jun 2022 18:38:32 +0200 Subject: [PATCH] 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 --- README.md | 1 + .../testsuite/heal_01-volume_vdu_healing.robot | 2 +- .../testsuite/heal_02-scale_vdu_healing.robot | 2 +- .../testsuite/heal_03-multiple_healing.robot | 2 +- robot-systest/testsuite/heal_04-autohealing.robot | 2 +- .../testsuite/k8s_12-openldap_helm_day-2.robot | 2 +- .../sol003_01-vnf-lifecycle-management.robot | 12 ++++++++++-- 7 files changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f38799c..5e09d8b 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ The following tags exist for each testsuite: - `cluster_sa`: `sa_01`, `sa_02`, `sa_07` - `cluster_slices`: `slice_01`, `slice_02` - `cluster_heal`: `heal_01`, `heal_02`, `heal_03`, `heal_04` + - `cluster_sol003`: `sol003_01` - daily: for all testsuites that will run in the daily job - regression: for all testsuites that should pass in the current stable branch - sanity: for all testsuites that should be passed by each commit in the diff --git a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot index 2922ee6..db4ca64 100644 --- a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot +++ b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot @@ -26,7 +26,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/openstack_lib.robot -Force Tags heal_01 cluster_heal daily regression +Force Tags heal_01 cluster_heal daily Suite Teardown Run Keyword And Ignore Error Suite Cleanup diff --git a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot index 5bdcf36..5da1149 100644 --- a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot +++ b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot @@ -26,7 +26,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/openstack_lib.robot -Force Tags heal_02 cluster_heal daily regression +Force Tags heal_02 cluster_heal daily Suite Teardown Run Keyword And Ignore Error Suite Cleanup diff --git a/robot-systest/testsuite/heal_03-multiple_healing.robot b/robot-systest/testsuite/heal_03-multiple_healing.robot index f534157..856bcfd 100644 --- a/robot-systest/testsuite/heal_03-multiple_healing.robot +++ b/robot-systest/testsuite/heal_03-multiple_healing.robot @@ -26,7 +26,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/openstack_lib.robot -Force Tags heal_03 cluster_heal daily regression +Force Tags heal_03 cluster_heal daily Suite Teardown Run Keyword And Ignore Error Suite Cleanup diff --git a/robot-systest/testsuite/heal_04-autohealing.robot b/robot-systest/testsuite/heal_04-autohealing.robot index f151c20..4968619 100644 --- a/robot-systest/testsuite/heal_04-autohealing.robot +++ b/robot-systest/testsuite/heal_04-autohealing.robot @@ -26,7 +26,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/ns_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/openstack_lib.robot -Force Tags heal_04 cluster_heal daily regression +Force Tags heal_04 cluster_heal daily Suite Teardown Run Keyword And Ignore Error Suite Cleanup diff --git a/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot b/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot index d19a831..ac02202 100644 --- a/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot +++ b/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot @@ -25,7 +25,7 @@ Resource %{ROBOT_DEVOPS_FOLDER}/lib/connectivity_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/ssh_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/k8scluster_lib.robot -Force Tags k8s_12 cluster_k8s daily regression +Force Tags k8s_12 cluster_k8s daily Suite Teardown Run Keyword And Ignore Error Suite Cleanup diff --git a/robot-systest/testsuite/sol003_01-vnf-lifecycle-management.robot b/robot-systest/testsuite/sol003_01-vnf-lifecycle-management.robot index 18801a1..dcae4f4 100644 --- a/robot-systest/testsuite/sol003_01-vnf-lifecycle-management.robot +++ b/robot-systest/testsuite/sol003_01-vnf-lifecycle-management.robot @@ -12,8 +12,7 @@ *** Settings *** Documentation [SOL003-01] Sol003 Api testing -Suite Teardown Run Keyword And Ignore Error Suite Cleanup -Force Tags sol003_01 cluster_sol003 daily + Library OperatingSystem Library String Library Collections @@ -21,14 +20,21 @@ Library RequestsLibrary Library yaml Library JsonValidator Library JSONLibrary + Resource %{ROBOT_DEVOPS_FOLDER}/lib/sol003_common_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/vnfd_lib.robot Resource %{ROBOT_DEVOPS_FOLDER}/lib/vim_lib.robot +Force Tags sol003_01 cluster_sol003 daily + +Suite Teardown Run Keyword And Ignore Error Suite Cleanup + + *** Variables *** ${vnfd_pkg} hackfest_basic_metrics_vnf ${vnfd_name} hackfest_basic_metrics-vnf + *** Test Cases *** Create VNF package from JSON file descriptor [Documentation] Test case to create a VNF Identifier @@ -169,8 +175,10 @@ Delete VNF Descriptor Test Delete VNFD ${vnfd_name} + *** Keywords *** Suite Cleanup [Documentation] Test Suit Cleanup: Deleting Descriptor Run Keyword If Any Tests Failed Delete VNFD ${vnfd_name} + -- 2.17.1