Use case-sensitive keyword Log instead of log
Change-Id: I756aedef764cdbbc91d27b6eba060cb4e5fea66b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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 @@
[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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 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 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 @@
${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 @@
[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 @@
[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 @@
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 @@
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 @@
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 @@
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 @@
# 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 @@
[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 @@
[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 @@
[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 @@
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 @@
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 @@
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 @@
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 @@
[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 @@
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 @@
*** 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 @@
[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 @@
${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 @@
${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 @@
[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 @@
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 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 @@
[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 @@
[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 @@
[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 @@
*** 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 @@
[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 @@
[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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
# 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 @@
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 @@
${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 @@
${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 @@
[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 @@
[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 @@
&{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 @@
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 @@
${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 @@
[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 @@
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 @@
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 @@
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 @@
*** 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 @@
# 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 @@
# 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 @@
# 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 @@
[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 @@
[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