X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_21-support_of_volumes.robot;h=4dbea4a92c37799e7741002db022e27c3d229291;hb=40744a476f4335d2107866db5ab1d5f6d35f9851;hp=3e86b51e3f5743229e51d181cebcaaaaacc9b5d9;hpb=f4ebaa88025189ede4f073ab8a1f27c95efff867;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/basic_21-support_of_volumes.robot b/robot-systest/testsuite/basic_21-support_of_volumes.robot index 3e86b51..4dbea4a 100644 --- a/robot-systest/testsuite/basic_21-support_of_volumes.robot +++ b/robot-systest/testsuite/basic_21-support_of_volumes.robot @@ -83,14 +83,14 @@ Get Volumes From VNFD Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False ${num_virtual_storage}= Convert To Integer ${stdout} Set Suite Variable ${vnf_num_volumes} ${num_virtual_storage} - log ${vnf_num_volumes} + Log ${vnf_num_volumes} Get VNF IP Address [Tags] verify Variable Should Exist ${ns_id} msg=NS is not available ${ip_addr}= Get Vnf Management Ip Address ${ns_id} ${vnf_member_index} - log ${ip_addr} + Log ${ip_addr} Set Suite Variable ${vnf_ip_addr} ${ip_addr} @@ -109,7 +109,7 @@ Check VDU disks Variable Should Exist ${vnf_ip_addr} msg=VNF is not available Sleep 30 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${vnf_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l - log ${stdout} + Log ${stdout} ${lines}= Get Lines Containing String ${stdout} disk ${num_lines}= Get Line Count ${lines} Run Keyword If ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) @@ -124,12 +124,12 @@ Delete NS Instance Test # [Tags] cleanup # Variable Should Exist ${volume_id} msg=Volume is not available # ${exists}= Check If Volume Exists ${volume_id} -# log ${exists} +# Log ${exists} # IF ${exists}==0 # Fail msg=Persistent volume was deleted # Set Suite Variable ${volume_id} ${EMPTY}} # ELSE -# log Persistent volume still exists, deleting... +# Log Persistent volume still exists, deleting... # Delete Volume ${volume_id} # Set Suite Variable ${volume_id} ${EMPTY}} # END