Show the target node(s) for executing steps
Change-Id: Ifcb169020e378b146a4b3be84ef4bc3495ce0f9b
diff --git a/tcp_tests/managers/execute_commands.py b/tcp_tests/managers/execute_commands.py
index af30bec..a8cea3d 100644
--- a/tcp_tests/managers/execute_commands.py
+++ b/tcp_tests/managers/execute_commands.py
@@ -93,8 +93,11 @@
for x in range(retry_count, 0, -1):
time.sleep(3)
- retry_msg = ' (try {0} of {1}, skip_fail={2})'.format(
- retry_count - x + 1, retry_count, skip_fail)
+ retry_msg = (' (try {0} of {1}, skip_fail={2}, node_name={3})'
+ .format(retry_count - x + 1,
+ retry_count,
+ skip_fail,
+ node_name))
LOG.info("\n\n{0}\n{1}".format(
msg + retry_msg, '=' * len(msg + retry_msg)))
@@ -148,8 +151,11 @@
for x in range(retry_count, 0, -1):
time.sleep(3)
- retry_msg = ' (try {0} of {1}, skip_fail={2})'.format(
- retry_count - x + 1, retry_count, skip_fail)
+ retry_msg = (' (try {0} of {1}, skip_fail={2}, target={3})'
+ .format(retry_count - x + 1,
+ retry_count,
+ skip_fail,
+ target))
LOG.info("\n\n{0}\n{1}".format(
msg + retry_msg, '=' * len(msg + retry_msg)))