From: garciadeblas Date: Wed, 21 Dec 2022 10:43:06 +0000 (+0100) Subject: Use case-sensitive keyword Log instead of log X-Git-Tag: release-v14.0-start~35 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F12799%2F1;p=osm%2Ftests.git Use case-sensitive keyword Log instead of log Change-Id: I756aedef764cdbbc91d27b6eba060cb4e5fea66b Signed-off-by: garciadeblas --- diff --git a/robot-systest/lib/connectivity_lib.robot b/robot-systest/lib/connectivity_lib.robot index fed1b23..79381e4 100644 --- a/robot-systest/lib/connectivity_lib.robot +++ b/robot-systest/lib/connectivity_lib.robot @@ -26,7 +26,7 @@ Test Ping Host [Arguments] ${host} ${rc} ${stdout}= Run and Return RC and Output ping -c 2 -W 1 ${host} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Test Connectivity diff --git a/robot-systest/lib/juju_lib.robot b/robot-systest/lib/juju_lib.robot index b125679..45208a8 100644 --- a/robot-systest/lib/juju_lib.robot +++ b/robot-systest/lib/juju_lib.robot @@ -21,7 +21,7 @@ Get Scale Number Should Not Be Empty ${application_name} ${model_name} ${host}= Remove String Using Regexp ${endpoint} :([0-9]+)$ ${stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey} juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}' - log ${stdout} + Log ${stdout} [Return] ${stdout} Get Model Name @@ -30,7 +30,7 @@ Get Model Name Should Not Be Empty ${ns_id} ${kdu_name} ${host}= Remove String Using Regexp ${endpoint} :([0-9]+)$ ${stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey} juju models | grep -i ${kdu_name} | grep -i ${ns_id} | cut -f1 -d " " - log ${stdout} + Log ${stdout} ${model_name}= Set Variable ${kdu_name}-${ns_id} Should Be Equal As Strings ${model_name} ${stdout} [Return] ${stdout} @@ -41,7 +41,7 @@ Get Application Name VDU Level Charm Should Not Be Empty ${model_name} ${host}= Remove String Using Regexp ${endpoint} :([0-9]+)$ ${stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-vdu" | grep -v "*" | grep -i ${vdu_profile_id} | cut -f1 -d " " - log ${stdout} + Log ${stdout} Should Not Be Empty ${stdout} Should Contain ${stdout} ${ee_name} [Return] ${stdout} @@ -52,7 +52,7 @@ Get Application Name NS Level Charm Should Not Be Empty ${model_name} ${host}= Remove String Using Regexp ${endpoint} :([0-9]+)$ ${stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-ns" | grep -v "*" | grep -i ${charm_name} | cut -f1 -d " " - log ${stdout} + Log ${stdout} Should Not Be Empty ${stdout} [Return] ${stdout} @@ -62,7 +62,7 @@ Get Application Name VNF Level Charm Should Not Be Empty ${model_name} ${host}= Remove String Using Regexp ${endpoint} :([0-9]+)$ ${stdout}= Execute Remote Command Check Rc Return Output ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-vnf" | grep -v "*" | grep -i ${vnf_profile_id} | cut -f1 -d " " - log ${stdout} + Log ${stdout} Should Not Be Empty ${stdout} Should Contain ${stdout} ${ee_name} [Return] ${stdout} \ No newline at end of file diff --git a/robot-systest/lib/k8scluster_lib.robot b/robot-systest/lib/k8scluster_lib.robot index 54b4225..8f642a3 100644 --- a/robot-systest/lib/k8scluster_lib.robot +++ b/robot-systest/lib/k8scluster_lib.robot @@ -23,7 +23,7 @@ ${k8scluster_delete_pol_time} 15sec Create K8s Cluster [Arguments] ${k8scluster_creds} ${k8scluster_version} ${k8scluster_vim} ${k8scluster_net} ${k8scluster_name} ${rc} ${stdout}= Run and Return RC and Output osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} WAIT UNTIL KEYWORD SUCCEEDS ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Check For K8s Cluster To Be Enabled ${k8scluster_name} @@ -38,7 +38,7 @@ Delete K8s Cluster Get K8s Cluster ${rc} ${stdout}= Run and Return RC and Output osm k8scluster-list Should Be Equal As Integers ${rc} ${success_return_code} - log ${stdout} + Log ${stdout} [Return] ${stdout} Check for K8s Cluster @@ -55,7 +55,7 @@ Check For K8s Cluster To Be Deleted Check For K8s Cluster To Be Ready [Arguments] ${k8scluster_name} ${rc} ${stdout}= Run and Return RC and Output osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" - log ${stdout} + Log ${stdout} ${rc} ${stdout}= Run and Return RC and Output echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Should Be Equal As Integers ${rc} ${success_return_code} Should Be Equal As Strings ${stdout} ${k8scluster_name} @@ -63,9 +63,9 @@ Check For K8s Cluster To Be Ready Check For K8s Cluster To Be Enabled [Arguments] ${k8scluster_name} ${rc2} ${stdout2}= Run and Return RC and Output osm k8scluster-show ${k8scluster_name} - log ${stdout2} + Log ${stdout2} ${rc} ${stdout}= Run and Return RC and Output osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" - log ${stdout} + Log ${stdout} ${rc} ${stdout}= Run and Return RC and Output echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Should Be Equal As Integers ${rc} ${success_return_code} Should Be Equal As Strings ${stdout} ${k8scluster_name} diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index d65f93c..e67636c 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -39,7 +39,7 @@ Create Network Service ${config_file_attr} Set Variable If '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ ${ns_id}= Instantiate Network Service ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} - log ${ns_id} + Log ${ns_id} WAIT UNTIL KEYWORD SUCCEEDS ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Check For NS Instance For Failure ${ns_name} @@ -50,7 +50,7 @@ Instantiate Network Service [Arguments] ${ns_name} ${nsd} ${vim_name} ${ns_extra_args} ${rc} ${stdout}= Run and Return RC and Output osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -59,7 +59,7 @@ Update Network Service [Arguments] ${ns_id} ${update_type} ${ns_update_config} ${ns_update_timeout} ${rc} ${stdout}= Run and Return RC and Output osm ns-update ${ns_id} --updatetype ${update_type} --config ${ns_update_config} --timeout ${ns_update_timeout} --wait - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -70,7 +70,7 @@ Get Vnf Management Ip Address Should Not Be Empty ${ns_id} Should Not Be Empty ${vnf_member_index} ${rc} ${stdout}= Run and Return RC and Output osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -81,7 +81,7 @@ Get Vnf Id Should Not Be Empty ${ns_id} Should Not Be Empty ${vnf_member_index} ${rc} ${stdout}= Run and Return RC and Output osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -91,7 +91,7 @@ Get Ns Id Should Not Be Empty ${ns_name} ${rc} ${stdout}= Run and Return RC and Output osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Not Be Empty ${stdout} [Return] ${stdout} @@ -114,7 +114,7 @@ Get Ns Ip List should not be empty @{vnf_list} @{temp_list}= Create List FOR ${vnf_id} IN @{vnf_list} - log ${vnf_id} + Log ${vnf_id} @{vnf_ip_list} Get Vnf Ip List ${vnf_id} @{temp_list}= Combine Lists ${temp_list} ${vnf_ip_list} END @@ -130,7 +130,7 @@ Get Vnf Ip List # returns a string of ip addresses and needs to be converted into a list should not be empty ${vnf_ip_list_string}[1] @{vnf_ip_list} = split string ${vnf_ip_list_string}[1] - log list ${vnf_ip_list} + Log Many ${vnf_ip_list} should not be empty ${vnf_ip_list} [return] @{vnf_ip_list} @@ -139,9 +139,9 @@ Check For Ns Instance To Configured [arguments] ${ns_name} ${rc} ${stdout}= Run and Return RC and Output openstack server list - log ${stdout} + Log ${stdout} ${rc} ${stdout}= run and return rc and output osm ns-list --filter name="${ns_name}" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain Any ${stdout} READY BROKEN @@ -149,9 +149,9 @@ Check For NS Instance For Failure [Arguments] ${ns_name} ${rc} ${stdout}= Run and Return RC and Output openstack server list - log ${stdout} + Log ${stdout} ${rc} ${stdout}= Run and Return RC and Output osm ns-list --filter name="${ns_name}" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Not Contain ${stdout} BROKEN @@ -159,7 +159,7 @@ Check For NS Instance To Be Deleted [Arguments] ${ns} ${rc} ${stdout}= Run and Return RC and Output openstack server list - log ${stdout} + Log ${stdout} ${rc} ${stdout}= Run and Return RC and Output osm ns-list | awk '{print $2}' | grep ${ns} Should Not Be Equal As Strings ${stdout} ${ns} @@ -271,8 +271,8 @@ Get Operations List Should Not Be Empty ${ns_name} ${rc} ${stdout}= Run and Return RC and Output osm ns-op-list ${ns_name} - log ${stdout} - log ${rc} + Log ${stdout} + Log ${rc} Should Be Equal As Integers ${rc} ${success_return_code} @@ -283,7 +283,7 @@ Check For NS Operation Completed Should Not Be Empty ${ns_operation_id} ${rc} ${stdout}= Run and Return RC and Output osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False @@ -295,7 +295,7 @@ Check For NS Operation Failed Should Not Be Empty ${ns_operation_id} ${rc} ${stdout}= Run and Return RC and Output osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain ${stdout} FAILED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False @@ -307,7 +307,7 @@ Check For NS Operation Ended Should Not Be Empty ${ns_operation_id} ${rc} ${stdout}= Run and Return RC and Output osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain Any ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False @@ -367,10 +367,10 @@ Get VDU Affinity Group Name [Arguments] ${ns_name} ${vnf_id} ${vdur_id} ${rc} ${affinity_group_id}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \\" 2>&1 - log ${affinity_group_id} + Log ${affinity_group_id} Should Be Equal As Integers ${rc} ${success_return_code} msg=${affinity_group_id} values=False ${rc} ${affinity_group_name}= Run and Return RC and Output osm ns-show ${ns_name} --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'${affinity_group_id}'")' | yq '.name' | tr -d \\" 2>&1 - log ${affinity_group_name} + Log ${affinity_group_name} Should Be Equal As Integers ${rc} ${success_return_code} msg=${affinity_group_name} values=False [Return] ${affinity_group_name} @@ -382,7 +382,7 @@ Get Operations By Type Should Not Be Empty ${ns_id} Should Not Be Empty ${type} ${rc} ${stdout}= Run and Return RC and Output osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Not Be Empty ${stdout} [Return] ${stdout} diff --git a/robot-systest/lib/nsd_lib.robot b/robot-systest/lib/nsd_lib.robot index cb84d72..40132d7 100644 --- a/robot-systest/lib/nsd_lib.robot +++ b/robot-systest/lib/nsd_lib.robot @@ -35,7 +35,7 @@ ${delete_pol_time} 15sec *** Keywords *** Get NSDs List ${rc} ${stdout}= Run and Return RC and Output osm nspkg-list - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} @@ -43,7 +43,7 @@ Create NSD [Arguments] ${nsd_pkg} ${rc} ${stdout}= Run and Return RC and Output osm nspkg-create ${nsd_pkg} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} ${lines}= Get Line Count ${stdout} ${last}= Evaluate ${lines} - 1 @@ -56,7 +56,7 @@ Delete NSD ${rc} ${stdout}= Run Keyword And Continue On Failure Run and Return RC and Output osm nspkg-delete ${nsd_id} Should Be Equal As Integers ${rc} ${success_return_code} - log ${stdout} + Log ${stdout} WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} diff --git a/robot-systest/lib/nsi_lib.robot b/robot-systest/lib/nsi_lib.robot index 5bdd17b..1b88396 100644 --- a/robot-systest/lib/nsi_lib.robot +++ b/robot-systest/lib/nsi_lib.robot @@ -45,7 +45,7 @@ Create Network Slice ${config_file_attr} Set Variable If '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ ${nsi_id}= Instantiate Network Slice ${slice_name} ${nst} ${vim_name} ${config_attr} ${config_file_attr} ${sshkeys_attr} - log ${nsi_id} + Log ${nsi_id} WAIT UNTIL KEYWORD SUCCEEDS ${slice_launch_max_wait_time} ${slice_launch_pol_time} Check For Network Slice Instance To Configured ${slice_name} Check For Network Slice Instance For Failure ${slice_name} @@ -65,7 +65,7 @@ Instantiate Network Slice [Arguments] ${slice_name} ${nst} ${vim_name} ${slice_extra_args} ${sshkeys_attr} ${rc} ${stdout}= Run and Return RC and Output osm nsi-create --nsi_name ${slice_name} --nst_name ${nst} --vim_account ${vim_name} ${sshkeys_attr} ${slice_extra_args} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -118,7 +118,7 @@ Get Slice Ns Count Should Not Be Empty ${slice_name} ${rc} ${stdout}= Run and Return RC and Output osm ns-list | grep ${slice_name} | wc -l 2>&1 - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -134,11 +134,11 @@ Get Slice Vnf Ip Addresses # Get all the ns_id in the slice @{slice_ns_list} Get Slice Ns List ${slice_name} - log many @{slice_ns_list} + Log Many @{slice_ns_list} @{temp_list}= Create List # For each ns_id in the list, get all the vnf_id and their IP addresses FOR ${ns_id} IN @{slice_ns_list} - log ${ns_id} + Log ${ns_id} @{vnf_id_list} Get Ns Vnf List ${ns_id} # For each vnf_id in the list, get all its IP addresses @{ns_ip_list} Get Ns Ip List @{vnf_id_list} @@ -158,7 +158,7 @@ Check For Network Slice Instance To Configured [Arguments] ${slice_name} ${rc} ${stdout}= Run and Return RC and Output osm nsi-list --filter name="${slice_name}" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain Any ${stdout} READY BROKEN configured @@ -173,7 +173,7 @@ Check For Network Slice Instance For Failure [Arguments] ${slice_name} ${rc} ${stdout}= Run and Return RC and Output osm nsi-list --filter name="${slice_name}" - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Not Contain ${stdout} failed @@ -189,7 +189,7 @@ Delete NSI [Arguments] ${slice_name} ${slice_delete_max_wait_time}=4min ${rc} ${stdout}= Run and Return RC and Output osm nsi-delete ${slice_name} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} ${slice_delete_max_wait_time}= Convert Time ${slice_delete_max_wait_time} result_format=number diff --git a/robot-systest/lib/nst_lib.robot b/robot-systest/lib/nst_lib.robot index c775bf9..6fac729 100644 --- a/robot-systest/lib/nst_lib.robot +++ b/robot-systest/lib/nst_lib.robot @@ -22,8 +22,8 @@ ${ns_delete_pol_time} 15sec *** Keywords *** Get NST List ${rc} ${stdout}= Run and Return RC and Output osm netslice-template-list - log ${stdout} - log ${rc} + Log ${stdout} + Log ${rc} Should Be Equal As Integers ${rc} ${success_return_code} @@ -31,7 +31,7 @@ Create NST [Arguments] ${nst} ${rc} ${stdout}= Run and Return RC and Output osm netslice-template-create ${nst} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -40,7 +40,7 @@ Delete NST [Arguments] ${nst_id} ${rc} ${stdout}= Run and Return RC and Output osm netslice-template-delete ${nst_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} diff --git a/robot-systest/lib/openstack_lib.robot b/robot-systest/lib/openstack_lib.robot index 172e105..6ef6d0a 100644 --- a/robot-systest/lib/openstack_lib.robot +++ b/robot-systest/lib/openstack_lib.robot @@ -20,7 +20,7 @@ Get Server Flavor ID Should Not Be Empty ${server_id} ${rc} ${stdout}= Run and Return RC and Output openstack server show ${server_id} | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -30,7 +30,7 @@ Get Flavor Properties Should Not Be Empty ${flavor_id} ${rc} ${stdout}= Run and Return RC and Output openstack flavor show ${flavor_id} | grep properties | awk -F '|' '{print $3}' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -41,7 +41,7 @@ Check NS Servers In VIM Should Not Be Empty ${ns_name} ${rc} ${stdout}= Run and Return RC and Output openstack server list | grep ${ns_name} | awk '{print $4}' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} @{servers} = Split String ${stdout} ${n_servers}= Get Length ${servers} @@ -54,7 +54,7 @@ Get Project Quota Should Not Be Empty ${field} ${rc} ${stdout}= Run and Return RC and Output openstack quota show -c ${field} -f value - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -66,7 +66,7 @@ Get Server Property Should Not Be Empty ${server_id} Should Not Be Empty ${field} ${rc} ${stdout}= Run and Return RC and Output openstack server show ${server_id} -c ${field} -f value - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -78,7 +78,7 @@ Check VM In Server Group Should Not Be Empty ${server_group_name} Should Not Be Empty ${server_id} ${rc} ${stdout}= Run and Return RC and Output openstack server group show ${server_group_name} -c members -f value - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Should Contain ${stdout} ${server_id} @@ -89,7 +89,7 @@ Check If Volume Exists Should Not Be Empty ${volume_id} ${rc} ${stdout}= Run and Return RC and Output openstack volume list | grep ${volume_id} | wc -l - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -100,7 +100,7 @@ Delete Volume Should Not Be Empty ${volume_id} ${rc} ${stdout}= Run and Return RC and Output openstack volume delete ${volume_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -111,7 +111,7 @@ Stop Server Should Not Be Empty ${server_id} ${rc} ${stdout}= Run and Return RC and Output openstack server stop ${server_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -122,7 +122,7 @@ Halt Server Should Not Be Empty ${server_id} ${rc} ${stdout}= Run and Return RC and Output openstack server set --state error ${server_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -133,7 +133,7 @@ Delete Server Should Not Be Empty ${server_id} ${rc} ${stdout}= Run and Return RC and Output openstack server delete ${server_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} diff --git a/robot-systest/lib/package_lib.robot b/robot-systest/lib/package_lib.robot index e797a6f..a9d3804 100644 --- a/robot-systest/lib/package_lib.robot +++ b/robot-systest/lib/package_lib.robot @@ -40,7 +40,7 @@ Upload Package # Proceedes with the onboarding with the appropriate arguments ${rc} ${stdout}= Run and Return RC and Output tar -czf ${pkg}.tar.gz -C ${pkg} . ${rc} ${stdout}= Run and Return RC and Output osm upload-package ${pkg}.tar.gz - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} diff --git a/robot-systest/lib/project_lib.robot b/robot-systest/lib/project_lib.robot index f44ddac..35366e2 100644 --- a/robot-systest/lib/project_lib.robot +++ b/robot-systest/lib/project_lib.robot @@ -63,7 +63,7 @@ Update Project Name Should Not Be Empty ${project_name} Should Not Be Empty ${new_name} ${rc} ${stdout}= Run and Return RC and Output osm project-update ${project_name} --name ${new_name} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} diff --git a/robot-systest/lib/role_lib.robot b/robot-systest/lib/role_lib.robot index e3241a6..984b69a 100644 --- a/robot-systest/lib/role_lib.robot +++ b/robot-systest/lib/role_lib.robot @@ -39,7 +39,7 @@ Update Role ${osm_update_command}= Catenate ${osm_update_command} --${param_name}=${param_value} END ${rc} ${stdout}= Run and Return RC and Output ${osm_update_command} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} diff --git a/robot-systest/lib/sdnc_lib.robot b/robot-systest/lib/sdnc_lib.robot index 0a9a20d..a897675 100644 --- a/robot-systest/lib/sdnc_lib.robot +++ b/robot-systest/lib/sdnc_lib.robot @@ -44,7 +44,7 @@ Create SDNC ${osm_sdnc_create_command}= Catenate ${osm_sdnc_create_command} --${param_name}=${param_value} END ${rc} ${stdout}= Run and Return RC and Output ${osm_sdnc_create_command} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -60,14 +60,14 @@ Delete SDNC [Arguments] ${sdnc_name} ${rc} ${stdout}= Run Keyword And Continue On Failure Run and Return RC and Output osm sdnc-delete ${sdnc_name} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False Wait Until Keyword Succeeds ${delete_max_wait_time} ${delete_pol_time} Check for SDNC To Be Deleted ${sdnc_name} Get SDNC List ${rc} ${stdout}= Run and Return RC and Output osm sdnc-list - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} @@ -75,7 +75,7 @@ Check for SDNC [Arguments] ${sdnc_id} ${rc} ${stdout}= Run and Return RC and Output osm sdnc-show ${sdnc_id} | grep -io ENABLED - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} diff --git a/robot-systest/lib/sol003_common_lib.robot b/robot-systest/lib/sol003_common_lib.robot index 5231e92..7262161 100644 --- a/robot-systest/lib/sol003_common_lib.robot +++ b/robot-systest/lib/sol003_common_lib.robot @@ -39,7 +39,7 @@ Get Auth Token &{headers} Create Dictionary Content-Type=application/json Accept=application/json &{data} Create Dictionary username=${osm_user} password=${osm_password} project-id=${osm_project} ${resp}= Post On Session osmhit ${auth_token_uri} json=${data} headers=${headers} - log ${resp} + Log ${resp} Pass Execution If ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Set Suite Variable ${token_status_code} ${resp.status_code} ${access_token}= Get Value From Json ${resp.json()} $..id diff --git a/robot-systest/lib/ssh_lib.robot b/robot-systest/lib/ssh_lib.robot index 8be049e..3e3c00b 100644 --- a/robot-systest/lib/ssh_lib.robot +++ b/robot-systest/lib/ssh_lib.robot @@ -71,8 +71,8 @@ Execute Remote Command Check Rc Return Output Run Keyword If '${password}'!='${EMPTY}' Login ${username} ${password} ... ELSE Login With Public Key ${username} ${privatekey} ${stdout} ${rc}= Execute Command ${command} return_rc=True return_stdout=True - log ${rc} - log ${stdout} + Log ${rc} + Log ${stdout} Close All Connections Should Be Equal As Integers ${rc} 0 [Return] ${stdout} diff --git a/robot-systest/lib/vim_lib.robot b/robot-systest/lib/vim_lib.robot index bfaae36..c1eaf91 100644 --- a/robot-systest/lib/vim_lib.robot +++ b/robot-systest/lib/vim_lib.robot @@ -46,7 +46,7 @@ Create VIM Target ${osm_vim_create_command}= Catenate ${osm_vim_create_command} --${param_name}=${param_value} END ${rc} ${stdout}= Run and Return RC and Output ${osm_vim_create_command} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -55,13 +55,13 @@ Delete VIM Target [Arguments] ${vim_name} ${rc} ${stdout}= Run Keyword And Continue On Failure Run and Return RC and Output osm vim-delete ${vim_name} - log ${stdout} + Log ${stdout} Wait Until Keyword Succeeds ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Get VIM Targets ${rc} ${stdout}= Run and Return RC and Output osm vim-list - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} diff --git a/robot-systest/lib/vnf_lib.robot b/robot-systest/lib/vnf_lib.robot index 9fa2f95..78f971d 100644 --- a/robot-systest/lib/vnf_lib.robot +++ b/robot-systest/lib/vnf_lib.robot @@ -20,7 +20,7 @@ Get VNF VIM ID Should Not Be Empty ${vnf_id} ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} [Return] ${stdout} @@ -32,7 +32,7 @@ Get VDU list from VNF Should Not Be Empty ${vnf_id} ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[].id' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False @{vdur_ids}= Split String ${stdout} [Return] @{vdur_ids} @@ -45,7 +45,7 @@ Get VDU VIM Id Should Not Be Empty ${vnf_id} ${rc} ${vm_vim_id}= Run and Return RC and Output osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."vim-id"' | tr -d \\" - log ${vm_vim_id} + Log ${vm_vim_id} Should Be Equal As Integers ${rc} ${success_return_code} msg=${vm_vim_id} values=False [Return] ${vm_vim_id} diff --git a/robot-systest/lib/vnfd_lib.robot b/robot-systest/lib/vnfd_lib.robot index d171b67..4433a48 100644 --- a/robot-systest/lib/vnfd_lib.robot +++ b/robot-systest/lib/vnfd_lib.robot @@ -36,8 +36,8 @@ ${delete_pol_time} 15sec *** Keywords *** Get VNFDs List ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-list - log ${stdout} - log ${rc} + Log ${stdout} + Log ${rc} Should Be Equal As Integers ${rc} ${success_return_code} @@ -63,7 +63,7 @@ Create VNFD # Proceedes with the onboarding with the appropriate arguments ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-create ${overrides} ${vnfd_pkg} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} ${lines}= Get Line Count ${stdout} ${last}= Evaluate ${lines} - 1 @@ -81,7 +81,7 @@ Update VNFD # Proceedes with the onboarding with the appropriate arguments ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-update --content ${vnfd_pkg} ${vnfd_name} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} ${lines}= Get Line Count ${stdout} ${last}= Evaluate ${lines} - 1 @@ -112,7 +112,7 @@ Create VNFD Overriding Fields # Proceedes with the onboarding with the appropriate arguments ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-create ${overrides} ${vnfd_pkg} --override '${override_fields}' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} ${lines}= Get Line Count ${stdout} ${last}= Evaluate ${lines} - 1 @@ -124,7 +124,7 @@ Delete VNFD [Arguments] ${vnfd_id} ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-delete ${vnfd_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} @@ -134,7 +134,7 @@ Assert Failure Delete VNFD [Arguments] ${vnfd_id} ${rc} ${stdout}= Run and Return RC and Output osm vnfpkg-delete ${vnfd_id} - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${failure_return_code} Should Contain ${stdout} 409 msg=Expected Conflict values=False WAIT UNTIL KEYWORD SUCCEEDS ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} True diff --git a/robot-systest/testsuite/basic_05-instantiation_parameters_in_cloud_init.robot b/robot-systest/testsuite/basic_05-instantiation_parameters_in_cloud_init.robot index 5e4dca0..62994df 100644 --- a/robot-systest/testsuite/basic_05-instantiation_parameters_in_cloud_init.robot +++ b/robot-systest/testsuite/basic_05-instantiation_parameters_in_cloud_init.robot @@ -64,7 +64,7 @@ Instantiate Cloudinit Network Service Using Instantiation Parameters Get Management Ip Addresses ${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} diff --git a/robot-systest/testsuite/basic_06-vnf_with_charm.robot b/robot-systest/testsuite/basic_06-vnf_with_charm.robot index a3bf07e..6b296c5 100644 --- a/robot-systest/testsuite/basic_06-vnf_with_charm.robot +++ b/robot-systest/testsuite/basic_06-vnf_with_charm.robot @@ -85,10 +85,10 @@ Check VNF Charm Application Name Get Management Ip Addresses ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} diff --git a/robot-systest/testsuite/basic_07-secure_key_management.robot b/robot-systest/testsuite/basic_07-secure_key_management.robot index d692801..811e659 100644 --- a/robot-systest/testsuite/basic_07-secure_key_management.robot +++ b/robot-systest/testsuite/basic_07-secure_key_management.robot @@ -71,7 +71,7 @@ Get Ns Id Get Management Ip Addresses [Tags] verify ${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} diff --git a/robot-systest/testsuite/basic_11-native_charms.robot b/robot-systest/testsuite/basic_11-native_charms.robot index da3f0ea..eeb5ba6 100644 --- a/robot-systest/testsuite/basic_11-native_charms.robot +++ b/robot-systest/testsuite/basic_11-native_charms.robot @@ -72,10 +72,10 @@ Instantiate Charm Network Service Get Management Ip Addresses ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} diff --git a/robot-systest/testsuite/basic_12-ns_primitives.robot b/robot-systest/testsuite/basic_12-ns_primitives.robot index 9a15ddf..2bde49c 100644 --- a/robot-systest/testsuite/basic_12-ns_primitives.robot +++ b/robot-systest/testsuite/basic_12-ns_primitives.robot @@ -145,6 +145,6 @@ Delete Temporary Descriptor Folder [Arguments] ${folder_name} ${rc} ${stdout}= Run and Return RC and Output rm -rf '${folder_name}' - log ${stdout} + Log ${stdout} diff --git a/robot-systest/testsuite/basic_18-ns_ip_profile.robot b/robot-systest/testsuite/basic_18-ns_ip_profile.robot index 1d4dc46..9028bd0 100644 --- a/robot-systest/testsuite/basic_18-ns_ip_profile.robot +++ b/robot-systest/testsuite/basic_18-ns_ip_profile.robot @@ -83,10 +83,10 @@ Get Vnfs Info Set Suite Variable ${vnf_id2} ${vnfr_list}[1] ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${vnf1_ipmgmt} ${ip} - log ${vnf1_ipmgmt} + Log ${vnf1_ipmgmt} ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} Set Suite Variable ${vnf2_ipmgmt} ${ip} - log ${vnf2_ipmgmt} + Log ${vnf2_ipmgmt} Check Vnf1 IPs @@ -130,7 +130,7 @@ Verify Vnf1 Interfaces Variable Should Exist ${privatekey} msg=SSH private key not available Sleep 10 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' - log ${stdout} + Log ${stdout} @{ip} = Split String ${stdout} Should Match Regexp ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Should Match Regexp ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} @@ -142,7 +142,7 @@ Verify Vnf2 Interfaces Variable Should Exist ${vnf2_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' - log ${stdout} + Log ${stdout} @{ip} = Split String ${stdout} Should Match Regexp ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Should Match Regexp ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} @@ -154,13 +154,13 @@ Ping from Vnf1 to Vnf2 Variable Should Exist ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} - log ${stdout} + Log ${stdout} Ping from Vnf2 to Vnf1 @@ -168,13 +168,13 @@ Ping from Vnf2 to Vnf1 Variable Should Exist ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Variable Should Exist ${privatekey} msg=SSH private key not available ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ipmgmt} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip1} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip2} - log ${stdout} + Log ${stdout} ${stdout}= Execute Remote Command Check Rc Return Output ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip3} - log ${stdout} + Log ${stdout} Delete NS Instance diff --git a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot index 4949a3b..1f705cd 100644 --- a/robot-systest/testsuite/basic_19-vnf_ip_profile.robot +++ b/robot-systest/testsuite/basic_19-vnf_ip_profile.robot @@ -75,7 +75,7 @@ Get Vnf Info Set Suite Variable ${vnf_id} ${vnfr_list}[0] ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${vnf_ipmgmt} ${ip} - log ${vnf_ipmgmt} + Log ${vnf_ipmgmt} Check Vnf IPs 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 diff --git a/robot-systest/testsuite/basic_25-update_charm_in_running_vnf_instance.robot b/robot-systest/testsuite/basic_25-update_charm_in_running_vnf_instance.robot index f5ae2fc..f024b64 100644 --- a/robot-systest/testsuite/basic_25-update_charm_in_running_vnf_instance.robot +++ b/robot-systest/testsuite/basic_25-update_charm_in_running_vnf_instance.robot @@ -79,7 +79,7 @@ Set NS Update Config Variable Should Exist ${ns_id} msg=NS is not available ${id} Get Vnf Id ${ns_id} ${vnf_member_index} - log ${id} + Log ${id} Set Suite Variable ${vnf_id} ${id} Set Suite Variable ${ns_update_config} '{changeVnfPackageData: [{vnfInstanceId: "${vnf_id}", vnfdId: "${vnfd_id}"}]}' @@ -87,7 +87,7 @@ Set NS Update Config Get Management Ip Address ${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} diff --git a/robot-systest/testsuite/basic_26-secure_helm_execution_environment.robot b/robot-systest/testsuite/basic_26-secure_helm_execution_environment.robot index 54806ba..ae518e7 100644 --- a/robot-systest/testsuite/basic_26-secure_helm_execution_environment.robot +++ b/robot-systest/testsuite/basic_26-secure_helm_execution_environment.robot @@ -71,7 +71,7 @@ Instantiate Network Service Get Management Ip Address ${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} diff --git a/robot-systest/testsuite/basic_27-update_helm_ee_in_running_vnf_instance.robot b/robot-systest/testsuite/basic_27-update_helm_ee_in_running_vnf_instance.robot index 1f62bd8..ba0b5e2 100644 --- a/robot-systest/testsuite/basic_27-update_helm_ee_in_running_vnf_instance.robot +++ b/robot-systest/testsuite/basic_27-update_helm_ee_in_running_vnf_instance.robot @@ -79,7 +79,7 @@ Set NS Update Config Variable Should Exist ${ns_id} msg=NS is not available ${id} Get Vnf Id ${ns_id} ${vnf_member_index} - log ${id} + Log ${id} Set Suite Variable ${vnf_id} ${id} Set Suite Variable ${ns_update_config} '{changeVnfPackageData: [{vnfInstanceId: "${vnf_id}", vnfdId: "${vnfd_id}"}]}' @@ -87,7 +87,7 @@ Set NS Update Config Get Management Ip Address ${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} diff --git a/robot-systest/testsuite/epa_01-epa_sriov.robot b/robot-systest/testsuite/epa_01-epa_sriov.robot index cdee22d..981ed58 100644 --- a/robot-systest/testsuite/epa_01-epa_sriov.robot +++ b/robot-systest/testsuite/epa_01-epa_sriov.robot @@ -70,7 +70,7 @@ Instantiate Network Service Get VNF IP Address ${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} diff --git a/robot-systest/testsuite/epa_02-additional_capabilities.robot b/robot-systest/testsuite/epa_02-additional_capabilities.robot index a719a2b..86b0e97 100644 --- a/robot-systest/testsuite/epa_02-additional_capabilities.robot +++ b/robot-systest/testsuite/epa_02-additional_capabilities.robot @@ -71,7 +71,7 @@ Get VNF Server ID ${vnfs_list}= Get Ns Vnf List ${ns_id} ${vim_id}= Get VNF VIM ID ${vnfs_list}[0] - log ${vim_id} + Log ${vim_id} Set Suite Variable ${vnf_server_id} ${vim_id} @@ -79,7 +79,7 @@ Get Server Flavor Properties ${flavor_id}= Get Server Flavor ID ${vnf_server_id} ${properties}= Get Flavor Properties ${flavor_id} - log ${properties} + Log ${properties} Set Suite Variable ${flavor_properties} ${properties} diff --git a/robot-systest/testsuite/epa_04-epa_underlay_sriov.robot b/robot-systest/testsuite/epa_04-epa_underlay_sriov.robot index a7ea9b0..38a7023 100644 --- a/robot-systest/testsuite/epa_04-epa_underlay_sriov.robot +++ b/robot-systest/testsuite/epa_04-epa_underlay_sriov.robot @@ -74,11 +74,11 @@ Get Management Ip Addresses Variable Should Exist ${ns_id} msg=Network service instance is not available ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${ip_mgmt_1} ${ip} - log ${ip_mgmt_1} + Log ${ip_mgmt_1} ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} Set Suite Variable ${ip_mgmt_2} ${ip} - log ${ip_mgmt_2} + Log ${ip_mgmt_2} Ping from Vnf1 to Vnf2 @@ -86,14 +86,14 @@ Ping from Vnf1 to Vnf2 Variable Should Exist ${ip_mgmt_1} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Sleep 30 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${ip_mgmt_1} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip2} - log ${stdout} + Log ${stdout} Ping from Vnf2 to Vnf1 Variable Should Exist ${ip_mgmt_2} msg=IP address of the data VNF '${vnf_member_index_2}' is not available ${stdout}= Execute Remote Command Check Rc Return Output ${ip_mgmt_2} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip1} - log ${stdout} + Log ${stdout} Delete NS Instance diff --git a/robot-systest/testsuite/epa_05-epa_underlay_passthrough.robot b/robot-systest/testsuite/epa_05-epa_underlay_passthrough.robot index df72e28..0e6dd50 100644 --- a/robot-systest/testsuite/epa_05-epa_underlay_passthrough.robot +++ b/robot-systest/testsuite/epa_05-epa_underlay_passthrough.robot @@ -74,11 +74,11 @@ Get Management Ip Addresses Variable Should Exist ${ns_id} msg=Network service instance is not available ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} Set Suite Variable ${ip_mgmt_1} ${ip} - log ${ip_mgmt_1} + Log ${ip_mgmt_1} ${ip} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} Set Suite Variable ${ip_mgmt_2} ${ip} - log ${ip_mgmt_2} + Log ${ip_mgmt_2} Ping from Vnf1 to Vnf2 @@ -86,14 +86,14 @@ Ping from Vnf1 to Vnf2 Variable Should Exist ${ip_mgmt_1} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Sleep 30 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${ip_mgmt_1} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip2} - log ${stdout} + Log ${stdout} Ping from Vnf2 to Vnf1 Variable Should Exist ${ip_mgmt_2} msg=IP address of the data VNF '${vnf_member_index_2}' is not available ${stdout}= Execute Remote Command Check Rc Return Output ${ip_mgmt_2} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip1} - log ${stdout} + Log ${stdout} Delete NS Instance diff --git a/robot-systest/testsuite/fail_01-insufficient_resources.robot b/robot-systest/testsuite/fail_01-insufficient_resources.robot index 1df7d30..022ae5a 100644 --- a/robot-systest/testsuite/fail_01-insufficient_resources.robot +++ b/robot-systest/testsuite/fail_01-insufficient_resources.robot @@ -64,7 +64,7 @@ Create VNF Descriptor ELSE ${memory}= Evaluate ${ram_quota} / 1000 END - log ${memory} + Log ${memory} Create VNFD Overriding Fields '%{PACKAGES_FOLDER}/${vnfd_pkg}' virtual-compute-desc.1.virtual-memory.size=${memory} @@ -78,16 +78,16 @@ Cannot Instantiate Network Service ${rand}= Generate Random String 4 [NUMBERS] ${ns_name}= Catenate SEPARATOR=_ ${ns_name_prefix} ${rand} Set Suite Variable ${ns_name} - log ${ns_name} + Log ${ns_name} ${id}= Instantiate Network Service ${ns_name} ${nsd_name} %{VIM_TARGET} --config '${ns_config}' --ssh_keys ${publickey} - log ${id} + Log ${id} Set Suite Variable ${ns_id} ${id} WAIT UNTIL KEYWORD SUCCEEDS ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For Ns Instance To Configured ${ns_name} ${rc} ${stdout}= run and return rc and output osm ns-list --filter id="${ns_id}" | grep ${ns_id} | awk '{print $8}' - log ${stdout} + Log ${stdout} Should Contain ${stdout} BROKEN ${rc} ${stdout}= run and return rc and output osm ns-show ${ns_id} --literal | yq .errorDetail - log ${stdout} + Log ${stdout} Should Contain ${stdout} Deploying at VIM: Error at create vdu diff --git a/robot-systest/testsuite/hackfest_basic.robot b/robot-systest/testsuite/hackfest_basic.robot index ee079f9..3c3bb50 100644 --- a/robot-systest/testsuite/hackfest_basic.robot +++ b/robot-systest/testsuite/hackfest_basic.robot @@ -71,7 +71,7 @@ Network Service Instance Test Get Vnf Ip Address ${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} Test Ping diff --git a/robot-systest/testsuite/hackfest_cloudinit.robot b/robot-systest/testsuite/hackfest_cloudinit.robot index 5f20a71..cb95f0f 100644 --- a/robot-systest/testsuite/hackfest_cloudinit.robot +++ b/robot-systest/testsuite/hackfest_cloudinit.robot @@ -70,7 +70,7 @@ Network Service Instance Test Get Vnf Ip Address ${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} @@ -83,7 +83,7 @@ Test SSH Access Check Remote File Injected Via Cloud-init ${stdout}= Execute Remote Command Check Rc Return Output ${vnf_ip_addr} ${username} ${password} ${EMPTY} sudo cat /root/helloworld.txt - log ${stdout} + Log ${stdout} Delete NS Instance Test diff --git a/robot-systest/testsuite/hackfest_multivdu.robot b/robot-systest/testsuite/hackfest_multivdu.robot index 2344563..b5706e6 100644 --- a/robot-systest/testsuite/hackfest_multivdu.robot +++ b/robot-systest/testsuite/hackfest_multivdu.robot @@ -74,7 +74,7 @@ Network Service Instance Test Get Vnf Ip Address ${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} Test Ping diff --git a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot index 8df8a3f..8b73611 100644 --- a/robot-systest/testsuite/heal_01-volume_vdu_healing.robot +++ b/robot-systest/testsuite/heal_01-volume_vdu_healing.robot @@ -86,9 +86,9 @@ Get NS Id Get VIM Objects Variable Should Exist ${ns_id} msg=NS is not available @{vnf_id_list}= Get Ns Vnf List ${ns_id} - log ${vnf_id_list} + Log ${vnf_id_list} FOR ${vnf_id} IN @{vnf_id_list} - log ${vnf_id} + Log ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} @{vdu_ids}= Split String ${id} Append To List ${vim_vdus} @{vdu_ids} @@ -102,25 +102,25 @@ Get VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Get Volume VNF Info Variable Should Exist ${ns_id} msg=NS is not available ${ip_addr}= Get Vnf Management Ip Address ${ns_id} ${vnf_several_index} - log ${ip_addr} + Log ${ip_addr} Set Suite Variable ${vnf_volumes_ip_addr} ${ip_addr} ${vnf_id}= Get Vnf Id ${ns_id} ${vnf_several_index} Set Suite Variable ${vnf_volumes_id} ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} Set Suite Variable ${vdu_volumes_id} ${id} - log ${vdu_volumes_id} + Log ${vdu_volumes_id} @{volumes_ip_list}= Get Vnf Vdur IPs ${vnf_volumes_id} Set Suite Variable @{volumes_ip_list} @{volumes_ip_list} - log @{volumes_ip_list} + Log @{volumes_ip_list} Get Volumes Info @@ -128,7 +128,7 @@ Get Volumes Info 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} ${volumes_attached}= Get Server Property ${vdu_volumes_id} volumes_attached ${match}= Get Regexp Matches ${volumes_attached} '([0-9a-f\-]+)' 1 Set Suite Variable ${volume_id} ${match}[0] @@ -138,7 +138,7 @@ Check VDU Disks Variable Should Exist ${vnf_volumes_ip_addr} msg=VNF is not available Sleep 20 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${vnf_volumes_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}) @@ -159,11 +159,11 @@ Check VNF After Healing Variable Should Exist ${vnf_volumes_id} msg=VNF is not available @{ip_list}= Get Vnf Vdur IPs ${vnf_volumes_id} - log @{ip_list} + Log @{ip_list} Should Be Equal ${ip_list} ${volumes_ip_list} IP addresses have changed after healing ${id}= Get VNF VIM ID ${vnf_volumes_id} - log ${id} + Log ${id} Should Not Be Equal ${id} ${vdu_volumes_id} VDU id has not changed after healing ${volumes_attached}= Get Server Property ${id} volumes_attached @@ -172,7 +172,7 @@ Check VNF After Healing Sleep 30 seconds Wait for SSH daemon to be up ${stdout}= Execute Remote Command Check Rc Return Output ${vnf_volumes_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}) @@ -201,8 +201,8 @@ Update VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Delete NS Instance @@ -225,21 +225,21 @@ Delete Objects in VIM [Tags] cleanup ${error}= Set Variable 0 FOR ${vol_id} IN @{vim_volumes} - log Checking if volume ${vol_id} is still in VIM + Log Checking if volume ${vol_id} is still in VIM ${exists}= Check If Volume Exists ${vol_id} IF ${exists}!=0 ${error}= Set Variable 1 - log Deleting volume ${vol_id} + Log Deleting volume ${vol_id} Run Keyword And Ignore Error Delete Volume ${vol_id} END END FOR ${vdu_id} IN @{vim_vdus} - log Checking if server ${vdu_id} is still in VIM + Log Checking if server ${vdu_id} is still in VIM ${status}= Run Keyword And Ignore Error Get Server Property ${vdu_id} id - log ${status}[0] + Log ${status}[0] IF '${status}[0]' == 'PASS' ${error}= Set Variable 1 - log Deleting server ${vdu_id} + Log Deleting server ${vdu_id} Run Keyword And Ignore Error Delete Server ${vdu_id} END END diff --git a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot index df655b0..edb7a1a 100644 --- a/robot-systest/testsuite/heal_02-scale_vdu_healing.robot +++ b/robot-systest/testsuite/heal_02-scale_vdu_healing.robot @@ -104,9 +104,9 @@ Scale Out Charm VNF Get VIM Objects Variable Should Exist ${ns_id} msg=NS is not available @{vnf_id_list}= Get Ns Vnf List ${ns_id} - log ${vnf_id_list} + Log ${vnf_id_list} FOR ${vnf_id} IN @{vnf_id_list} - log ${vnf_id} + Log ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} @{vdu_ids}= Split String ${id} Append To List ${vim_vdus} @{vdu_ids} @@ -120,8 +120,8 @@ Get VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Get Charm VNF Info @@ -134,7 +134,7 @@ Get Charm VNF Info ${id}= Get VNF VIM ID ${vnf_charm_id} @{vdu_charm_ids}= Split String ${id} Set Suite Variable @{vdu_charm_ids} @{vdu_charm_ids} - log ${vdu_charm_ids}[1] + Log ${vdu_charm_ids}[1] @{charm_ip_list}= Get Vnf Vdur IPs ${vnf_charm_id} Set Suite Variable @{charm_ip_list} @{charm_ip_list} @@ -164,7 +164,7 @@ Check VNF After Healing ${ip}= Get Vdu Attribute ${vnf_charm_id} ip-address 1 ${stdout}= Execute Remote Command Check Rc Return Output ${ip} ${username} ${password} ${privatekey} sudo ls ${vnf_charm_cloudinit_file} - log ${stdout} + Log ${stdout} Check If remote File Exists ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} @@ -191,8 +191,8 @@ Update VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Delete NS Instance @@ -215,21 +215,21 @@ Delete Objects in VIM [Tags] cleanup ${error}= Set Variable 0 FOR ${vol_id} IN @{vim_volumes} - log Checking if volume ${vol_id} is still in VIM + Log Checking if volume ${vol_id} is still in VIM ${exists}= Check If Volume Exists ${vol_id} IF ${exists}!=0 ${error}= Set Variable 1 - log Deleting volume ${vol_id} + Log Deleting volume ${vol_id} Run Keyword And Ignore Error Delete Volume ${vol_id} END END FOR ${vdu_id} IN @{vim_vdus} - log Checking if server ${vdu_id} is still in VIM + Log Checking if server ${vdu_id} is still in VIM ${status}= Run Keyword And Ignore Error Get Server Property ${vdu_id} id - log ${status}[0] + Log ${status}[0] IF '${status}[0]' == 'PASS' ${error}= Set Variable 1 - log Deleting server ${vdu_id} + Log Deleting server ${vdu_id} Run Keyword And Ignore Error Delete Server ${vdu_id} END END diff --git a/robot-systest/testsuite/heal_03-multiple_healing.robot b/robot-systest/testsuite/heal_03-multiple_healing.robot index ac67be1..89f67dd 100644 --- a/robot-systest/testsuite/heal_03-multiple_healing.robot +++ b/robot-systest/testsuite/heal_03-multiple_healing.robot @@ -104,9 +104,9 @@ Scale Out Charm VNF Get VIM Objects Variable Should Exist ${ns_id} msg=NS is not available @{vnf_id_list}= Get Ns Vnf List ${ns_id} - log ${vnf_id_list} + Log ${vnf_id_list} FOR ${vnf_id} IN @{vnf_id_list} - log ${vnf_id} + Log ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} @{vdu_ids}= Split String ${id} Append To List ${vim_vdus} @{vdu_ids} @@ -120,8 +120,8 @@ Get VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Get Charm VNF Info @@ -134,7 +134,7 @@ Get Charm VNF Info ${id}= Get VNF VIM ID ${vnf_charm_id} @{vdu_charm_ids}= Split String ${id} Set Suite Variable @{vdu_charm_ids} @{vdu_charm_ids} - log ${vdu_charm_ids}[1] + Log ${vdu_charm_ids}[1] @{charm_ip_list}= Get Vnf Vdur IPs ${vnf_charm_id} Set Suite Variable @{charm_ip_list} @{charm_ip_list} @@ -142,18 +142,18 @@ Get Charm VNF Info Get Volume VNF Info Variable Should Exist ${ns_id} msg=NS is not available ${ip_addr}= Get Vnf Management Ip Address ${ns_id} ${vnf_several_index} - log ${ip_addr} + Log ${ip_addr} Set Suite Variable ${vnf_volumes_ip_addr} ${ip_addr} ${vnf_id}= Get Vnf Id ${ns_id} ${vnf_several_index} Set Suite Variable ${vnf_volumes_id} ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} Set Suite Variable ${vdu_volumes_id} ${id} - log ${vdu_volumes_id} + Log ${vdu_volumes_id} @{volumes_ip_list}= Get Vnf Vdur IPs ${vnf_volumes_id} Set Suite Variable @{volumes_ip_list} @{volumes_ip_list} - log @{volumes_ip_list} + Log @{volumes_ip_list} Stop VDUs @@ -185,7 +185,7 @@ Check VNFs After Healing ${ip}= Get Vdu Attribute ${vnf_charm_id} ip-address 1 ${stdout}= Execute Remote Command Check Rc Return Output ${ip} ${username} ${password} ${privatekey} sudo ls ${vnf_charm_cloudinit_file} - log ${stdout} + Log ${stdout} Check If remote File Exists ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} @@ -212,8 +212,8 @@ Update VIM Objects END END END - log Many @{vim_vdus} - log Many @{vim_volumes} + Log Many @{vim_vdus} + Log Many @{vim_volumes} Delete NS Instance @@ -236,21 +236,21 @@ Delete Objects in VIM [Tags] cleanup ${error}= Set Variable 0 FOR ${vol_id} IN @{vim_volumes} - log Checking if volume ${vol_id} is still in VIM + Log Checking if volume ${vol_id} is still in VIM ${exists}= Check If Volume Exists ${vol_id} IF ${exists}!=0 ${error}= Set Variable 1 - log Deleting volume ${vol_id} + Log Deleting volume ${vol_id} Run Keyword And Ignore Error Delete Volume ${vol_id} END END FOR ${vdu_id} IN @{vim_vdus} - log Checking if server ${vdu_id} is still in VIM + Log Checking if server ${vdu_id} is still in VIM ${status}= Run Keyword And Ignore Error Get Server Property ${vdu_id} id - log ${status}[0] + Log ${status}[0] IF '${status}[0]' == 'PASS' ${error}= Set Variable 1 - log Deleting server ${vdu_id} + Log Deleting server ${vdu_id} Run Keyword And Ignore Error Delete Server ${vdu_id} END END diff --git a/robot-systest/testsuite/heal_04-autohealing.robot b/robot-systest/testsuite/heal_04-autohealing.robot index 225d3e5..ada204a 100644 --- a/robot-systest/testsuite/heal_04-autohealing.robot +++ b/robot-systest/testsuite/heal_04-autohealing.robot @@ -84,31 +84,31 @@ Get NS Id Get VIM Objects Variable Should Exist ${ns_id} msg=NS is not available @{vnf_id_list}= Get Ns Vnf List ${ns_id} - log ${vnf_id_list} + Log ${vnf_id_list} FOR ${vnf_id} IN @{vnf_id_list} - log ${vnf_id} + Log ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} @{vdu_ids}= Split String ${id} Append To List ${vim_vdus} @{vdu_ids} END - log Many @{vim_vdus} + Log Many @{vim_vdus} Get VNF Info Variable Should Exist ${ns_id} msg=NS is not available ${ip_addr}= Get Vnf Management Ip Address ${ns_id} ${vnf_index} - log ${ip_addr} + Log ${ip_addr} Set Suite Variable ${vnf_ip_addr} ${ip_addr} ${vnf_id}= Get Vnf Id ${ns_id} ${vnf_index} Set Suite Variable ${vnf_autoheal_id} ${vnf_id} ${id}= Get VNF VIM ID ${vnf_id} Set Suite Variable ${vdu_autoheal_id} ${id} - log ${vdu_autoheal_id} + Log ${vdu_autoheal_id} @{autoheal_ip_list}= Get Vnf Vdur IPs ${vnf_autoheal_id} Set Suite Variable @{autoheal_ip_list} @{autoheal_ip_list} - log @{autoheal_ip_list} + Log @{autoheal_ip_list} Stop Autoheal VDU @@ -130,11 +130,11 @@ Check VNF After Healing Variable Should Exist ${vnf_autoheal_id} msg=VNF is not available @{ip_list}= Get Vnf Vdur IPs ${vnf_autoheal_id} - log @{ip_list} + Log @{ip_list} Should Be Equal ${ip_list} ${autoheal_ip_list} IP addresses have changed after healing ${id}= Get VNF VIM ID ${vnf_autoheal_id} - log ${id} + Log ${id} Should Not Be Equal ${id} ${vdu_autoheal_id} VDU id has not changed after healing @@ -150,7 +150,7 @@ Update VIM Objects END END END - log Many @{vim_vdus} + Log Many @{vim_vdus} Delete NS Instance @@ -172,12 +172,12 @@ Delete Objects in VIM [Tags] cleanup ${error}= Set Variable 0 FOR ${vdu_id} IN @{vim_vdus} - log Checking if server ${vdu_id} is still in VIM + Log Checking if server ${vdu_id} is still in VIM ${status}= Run Keyword And Ignore Error Get Server Property ${vdu_id} id - log ${status}[0] + Log ${status}[0] IF '${status}[0]' == 'PASS' ${error}= Set Variable 1 - log Deleting server ${vdu_id} + Log Deleting server ${vdu_id} Run Keyword And Ignore Error Delete Server ${vdu_id} END END diff --git a/robot-systest/testsuite/k8s_01-create_k8s_cluster.robot b/robot-systest/testsuite/k8s_01-create_k8s_cluster.robot index 341237c..899aed4 100644 --- a/robot-systest/testsuite/k8s_01-create_k8s_cluster.robot +++ b/robot-systest/testsuite/k8s_01-create_k8s_cluster.robot @@ -99,19 +99,19 @@ Instantiate K8s Cluster Network Service Get Management Ip Addresses ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} ${ip_addr_3} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_3} - log ${ip_addr_3} + Log ${ip_addr_3} Set Suite Variable ${vnf_3_ip_addr} ${ip_addr_3} ${ip_addr_4} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_4} - log ${ip_addr_4} + Log ${ip_addr_4} Set Suite Variable ${vnf_4_ip_addr} ${ip_addr_4} ${ip_addr_5} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_5} - log ${ip_addr_5} + Log ${ip_addr_5} Set Suite Variable ${vnf_5_ip_addr} ${ip_addr_5} diff --git a/robot-systest/testsuite/k8s_04-openldap_helm.robot b/robot-systest/testsuite/k8s_04-openldap_helm.robot index 4370074..214bbc6 100644 --- a/robot-systest/testsuite/k8s_04-openldap_helm.robot +++ b/robot-systest/testsuite/k8s_04-openldap_helm.robot @@ -83,7 +83,7 @@ Check Replicas After Upgrade Operation [Tags] verify Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Equal As Integers ${count} ${replica_count} Execute Rollback Operation @@ -95,7 +95,7 @@ Check Replicas After Rollback Operation [Tags] verify Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Empty ${count} Delete Network Service Instance diff --git a/robot-systest/testsuite/k8s_05-k8s_proxy_charms.robot b/robot-systest/testsuite/k8s_05-k8s_proxy_charms.robot index 10ad9c5..4cf5ed0 100644 --- a/robot-systest/testsuite/k8s_05-k8s_proxy_charms.robot +++ b/robot-systest/testsuite/k8s_05-k8s_proxy_charms.robot @@ -72,10 +72,10 @@ Instantiate Charm Network Service Get Management Ip Addresses ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} diff --git a/robot-systest/testsuite/k8s_06-k8s_secure_key_management.robot b/robot-systest/testsuite/k8s_06-k8s_secure_key_management.robot index 40611ab..25a999e 100644 --- a/robot-systest/testsuite/k8s_06-k8s_secure_key_management.robot +++ b/robot-systest/testsuite/k8s_06-k8s_secure_key_management.robot @@ -76,10 +76,10 @@ Get Ns Id Get Management Ip Addresses [Tags] verify ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} diff --git a/robot-systest/testsuite/k8s_10-sol004_sol007_with_k8s_proxy_charms.robot b/robot-systest/testsuite/k8s_10-sol004_sol007_with_k8s_proxy_charms.robot index b804aee..cd8cb11 100644 --- a/robot-systest/testsuite/k8s_10-sol004_sol007_with_k8s_proxy_charms.robot +++ b/robot-systest/testsuite/k8s_10-sol004_sol007_with_k8s_proxy_charms.robot @@ -72,10 +72,10 @@ Instantiate Charm Network Service Get Management Ip Addresses ${ip_addr_1} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_1} - log ${ip_addr_1} + Log ${ip_addr_1} Set Suite Variable ${vnf_1_ip_addr} ${ip_addr_1} ${ip_addr_2} Get Vnf Management Ip Address ${ns_id} ${vnf_member_index_2} - log ${ip_addr_2} + Log ${ip_addr_2} Set Suite Variable ${vnf_2_ip_addr} ${ip_addr_2} diff --git a/robot-systest/testsuite/k8s_11-simple_helm_k8s_scaling.robot b/robot-systest/testsuite/k8s_11-simple_helm_k8s_scaling.robot index 6731ec7..f5a73a7 100644 --- a/robot-systest/testsuite/k8s_11-simple_helm_k8s_scaling.robot +++ b/robot-systest/testsuite/k8s_11-simple_helm_k8s_scaling.robot @@ -82,7 +82,7 @@ Get Scale Count Before Scale Out Variable Should Exist ${ns_id} msg=Network service instance is not available ${kdu_count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${kdu_count} + Log ${kdu_count} Set Suite Variable ${initial_kdu_count} ${kdu_count} Perform Manual KDU Scale Out @@ -95,7 +95,7 @@ Check Scale Count After Scale Out Variable Should Exist ${initial_kdu_count} msg=Initial KDU count is not available ${kdu_count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${kdu_count} + Log ${kdu_count} Run Keyword If ${kdu_count} != ${initial_kdu_count} + 2 Fail msg=There is no new KDU in the model after Scale Out Perform Manual KDU Scale In 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 ac02202..4bf9d67 100644 --- a/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot +++ b/robot-systest/testsuite/k8s_12-openldap_helm_day-2.robot @@ -92,7 +92,7 @@ Execute Upgrade Operation Check Replicas After Upgrade Operation Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Equal As Integers ${count} ${replica_count} Execute Rollback Operation @@ -102,7 +102,7 @@ Execute Rollback Operation Check Replicas After Rollback Operation Variable Should Exist ${ns_id} msg=Network service instance is not available ${count}= Get Vnf Kdu Replica Count ${vnf_id} ${kdu_name} - log ${count} + Log ${count} Should Be Empty ${count} Delete Network Service Instance diff --git a/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot b/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot index 76b3229..d550810 100644 --- a/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot +++ b/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot @@ -78,7 +78,7 @@ Get Scale-Out Threshold From VNF Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False ${scaleout_threshold}= Convert To Number ${stdout} Set Suite Variable ${metric_threshold} ${scaleout_threshold} - log ${metric_threshold} + Log ${metric_threshold} Create NS Descriptor @@ -102,7 +102,7 @@ Get VNF Id Get VNF IP Address ${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} diff --git a/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot b/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot index 4055dfd..9ce02b5 100644 --- a/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot +++ b/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot @@ -100,7 +100,7 @@ Instantiate Webhook Service Network Service Get Webhook Service VNF IP Address ${ip_addr}= Get Vnf Management Ip Address ${ws_ns_id} ${ws_vnf_member_index} - log ${ip_addr} + Log ${ip_addr} Set Suite Variable ${ws_vnf_ip_addr} ${ip_addr} @@ -114,7 +114,7 @@ Start Webhook Service Create VNF Descriptor ${rc} ${stdout}= Run and Return RC and Output mkdir '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' && WEBHOOK_URL="http://${ws_vnf_ip_addr}:${ws_port}" envsubst < '%{PACKAGES_FOLDER}/${vnfd_pkg}'/'${vnfd_file}' > '%{PACKAGES_FOLDER}/${new_vnfd_pkg}'/'${vnfd_file}' - log ${stdout} + Log ${stdout} Should Be Equal As Integers ${rc} ${success_return_code} Create VNFD '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' @@ -199,6 +199,6 @@ Delete Temporary Descriptor Folder [Documentation] Removes the temporary package folder created for the test [Arguments] ${folder_name} ${rc} ${stdout}= Run and Return RC and Output rm -rf '${folder_name}' - log ${stdout} + Log ${stdout} diff --git a/robot-systest/testsuite/slice_01-network_slicing.robot b/robot-systest/testsuite/slice_01-network_slicing.robot index 33d3bab..a910524 100644 --- a/robot-systest/testsuite/slice_01-network_slicing.robot +++ b/robot-systest/testsuite/slice_01-network_slicing.robot @@ -107,11 +107,11 @@ Get Slice Vnf Ip Addresses # Get all the ns_id in the slice except the middle one to avoid self ping @{slice_ns_list} Get Slice Ns List Except One ${slice_name} ${middle_ns_name} - log many @{slice_ns_list} + Log many @{slice_ns_list} @{temp_list}= Create List # For each ns_id in the list, get all the vnf_id and their IP addresses FOR ${ns_id} IN @{slice_ns_list} - log ${ns_id} + Log ${ns_id} @{vnf_id_list} Get Ns Vnf List ${ns_id} # For each vnf_id in the list, get all its IP addresses @{ns_ip_list} Get Ns Ip List @{vnf_id_list} @@ -126,7 +126,7 @@ Test Middle Ns Ping Sleep 60s Waiting for the network to be up # Ping to the middle VNF - log ${mgmt_vnf_ip} + Log ${mgmt_vnf_ip} Test Connectivity ${mgmt_vnf_ip}