Remove use of deprecated rprint functions
For each of the rprint functions, there is a corresponding gen_print function
that can be used instead.
Change-Id: I89c6e0b63cac7aee92da7dc7945e413001287967
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/systest/adapter_ucode_update.robot b/systest/adapter_ucode_update.robot
index df14de6..b54bca4 100644
--- a/systest/adapter_ucode_update.robot
+++ b/systest/adapter_ucode_update.robot
@@ -34,7 +34,7 @@
[Documentation] Load and activate firmware on the given adapters.
[Tags] Load_And_Activate_uCode_On_Adapters
- Rprintn
+ Printn
# Format parms.
# Ensure that nvme (pci-e storage utility) tool exists.
${device_names}= Split String ${DEVICE_NAMES} ,
@@ -103,4 +103,4 @@
... wget ${ADAPTER_UCODE_URL}
${image_dir_path_url} ${image_file_name}=
... Split Path ${ADAPTER_UCODE_URL}
- Set Global Variable ${image_file_name}
\ No newline at end of file
+ Set Global Variable ${image_file_name}
diff --git a/systest/gpu_stress_test.robot b/systest/gpu_stress_test.robot
index a384150..17e11c4 100755
--- a/systest/gpu_stress_test.robot
+++ b/systest/gpu_stress_test.robot
@@ -49,7 +49,7 @@
... Fail msg=${failmsg01}
# Show parameters for HTX stress test.
- Rprintn
+ Printn
Rpvars HTX_DURATION HTX_LOOP HTX_INTERVAL
# Set the iteration (loop) counter.
@@ -78,7 +78,7 @@
Set Suite Variable ${iteration} ${iteration + 1}
${loop_count}= Catenate Starting iteration: ${iteration}
- Rprintn
+ Printn
Rpvars loop_count
REST Power On stack_mode=skip
@@ -107,7 +107,7 @@
${temperature}= Get GPU Max Temperature
${temperature_via_rest}= Get GPU Temperature Via REST
${clock}= Get GPU Clock
- Rprintn
+ Printn
Rpvars power power_max temperature temperature_via_rest
... temperature_max clock clock_max
@@ -137,10 +137,10 @@
Flush REST Sessions
- Rprint Timen HTX Test ran for: ${HTX_DURATION}
+ Print Timen HTX Test ran for: ${HTX_DURATION}
${loop_count}= Catenate Ending iteration: ${iteration}
- Rprintn
+ Printn
Rpvars loop_count
@@ -165,7 +165,7 @@
# Get number of GPUs reported by the OS.
${cmd}= Catenate lspci | grep NVIDIA | wc -l
${num_os_gpus} ${stderr} ${rc}= OS Execute Command ${cmd}
- Rprintn
+ Printn
Rpvars num_os_gpus
# If no GPUs detected, we cannot continue.
diff --git a/systest/htx_hardbootme_test.robot b/systest/htx_hardbootme_test.robot
index 2ce02ce..34883d2 100755
--- a/systest/htx_hardbootme_test.robot
+++ b/systest/htx_hardbootme_test.robot
@@ -67,7 +67,7 @@
[Documentation] Stress the system using HTX exerciser.
[Tags] Hard_Bootme_Test
- Rprintn
+ Printn
Rpvars HTX_DURATION HTX_LOOP HTX_INTERVAL CHECK_INVENTORY
... INV_IGNORE_LIST PREV_INV_FILE_PATH
@@ -117,7 +117,7 @@
${loop_count}= Catenate Starting iteration: ${iteration}
${estimated_time_remaining}= Convert Time
... ${est_seconds_left} result_format=compact
- Rprintn
+ Printn
Rpvars loop_count estimated_loop_time estimated_time_remaining
REST Power On stack_mode=skip
@@ -149,7 +149,7 @@
Close All Connections
Flush REST Sessions
- Rprint Timen HTX Test ran for: ${HTX_DURATION}
+ Print Timen HTX Test ran for: ${HTX_DURATION}
${loop_count}= Catenate Ending iteration: ${iteration}
@@ -187,7 +187,7 @@
... ${file2} ${json_diff_file_path} ${INV_IGNORE_LIST}
Run Keyword If '${diff_rc}' != '${0}'
... Report Inventory Mismatch ${diff_rc} ${json_diff_file_path}
- ... ELSE Rprint Timen Inventoy check: No differences found.
+ ... ELSE Print Timen Inventoy check: No differences found.
Report Inventory Mismatch
@@ -230,7 +230,7 @@
${bmc_version} ${stderr} ${rc}= BMC Execute Command
... cat /etc/os-release
- Rprintn
+ Printn
Rpvars bmc_version
${pnor_version}= Get Host Software Objects Details
diff --git a/systest/io_storage_compability.robot b/systest/io_storage_compability.robot
index 2b95c70..e62c14f 100644
--- a/systest/io_storage_compability.robot
+++ b/systest/io_storage_compability.robot
@@ -29,7 +29,7 @@
[Tags] IO_Storage_Compatibility_Stress
Run MDT Profile
- Rprint Timen Running HTX. Please wait.
+ Print Timen Running HTX. Please wait.
Repeat Keyword ${LOOP_COUNT} times
... Run Keywords
... Set Suite Variable ${ITERATION} ${ITERATION +1}
diff --git a/systest/network_stability_test.robot b/systest/network_stability_test.robot
index 5194a71..bf1dfdd 100755
--- a/systest/network_stability_test.robot
+++ b/systest/network_stability_test.robot
@@ -54,7 +54,7 @@
Shutdown HTX Exerciser
- Rprint Timen HTX Test ran for: ${HTX_DURATION}
+ Print Timen HTX Test ran for: ${HTX_DURATION}
Start Network Test
diff --git a/systest/proc_freq_check.robot b/systest/proc_freq_check.robot
index 69d14ee..d37e9f8 100755
--- a/systest/proc_freq_check.robot
+++ b/systest/proc_freq_check.robot
@@ -24,7 +24,7 @@
${actual_min_freq}= Get CPU Min Frequency
${min_freq_designated_lower_limit}= Get CPU Min Frequency Limit
- Rprintn
+ Printn
Rpvars actual_min_freq min_freq_designated_lower_limit
${err_msg}= Catenate Reported CPU frequency below designated limit.
diff --git a/systest/proc_turbo_freq_check.robot b/systest/proc_turbo_freq_check.robot
index 8f140e3..30c9247 100755
--- a/systest/proc_turbo_freq_check.robot
+++ b/systest/proc_turbo_freq_check.robot
@@ -41,7 +41,7 @@
REST Power On stack_mode=normal
${proc_speed_turbo}= Get CPU Max Frequency
- Rprintn
+ Printn
Rpvars proc_speed_non_turbo proc_speed_turbo
${err_msg}= Catenate Reported turbo processor speed should be