Bug 2327 fix to verify ipaddress in sol003_02 testsuite
[osm/tests.git] / robot-systest / run_test.sh
index d4d5e97..11c3e45 100755 (executable)
@@ -44,7 +44,7 @@ create_k8scluster(){
     while [ $attempts -ge 0 ] ; do
         echo -e "\n$( date '+%F_%H:%M:%S' ) Creating K8s Cluster"
 
-        osm k8scluster-add --creds ${K8S_CREDENTIALS} --version "v1" --vim ${VIM_TARGET} --k8s-nets "{\"net1\": \"${VIM_MGMT_NET}\"}" ${VIM_TARGET} --description "Robot cluster"
+        osm k8scluster-add --creds ${K8S_CREDENTIALS} --version "v1" --vim ${VIM_TARGET} --k8s-nets "{\"net1\": \"${VIM_MGMT_NET}\"}" ${VIM_TARGET} --description "Robot cluster" --skip-jujubundle
 
         STATUS=""
         i=0
@@ -104,6 +104,10 @@ create_vim(){
         echo "VIM failed to enter ENABLED state"
         exit 1
     fi
+}
+
+
+create_sdnc(){
     if [ -n "${SDNC_URL}" ]; then
         osm sdnc-create --name sdnc-osm --type ${SDNC_TYPE} --user ${SDNC_USER} --password ${SDNC_PASSWORD} --url ${SDNC_URL}
         COUNTER=0
@@ -147,6 +151,7 @@ create_vim(){
             fi
         fi
     fi
+
 }
 
 
@@ -169,6 +174,7 @@ while (( "$#" )); do
             ;;
         -c|--createvim)
             create_vim
+            # create_sdnc
             create_k8scluster
             shift 1
             ;;
@@ -228,7 +234,7 @@ if [ "$RUN_CONFORMANCE_TESTS" = true ] ; then
 fi
 
 if [[ -n "${TEST}" ]]; then
-    robot -d ${ROBOT_DEVOPS_FOLDER}/reports -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/
+    robot -d ${ROBOT_DEVOPS_FOLDER}/reports --tagstatinclude "cluster_*" -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/
 else
     echo "No test was provided. Exiting..."
 fi