From c7117abcb8ee09e69f01f4aec0328a54464f49d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 23 Feb 2017 17:33:00 +0100 Subject: [PATCH] improve logging, refs #20596 --- tests/test_mediaworker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py index 8e489986..8e0c3970 100755 --- a/tests/test_mediaworker.py +++ b/tests/test_mediaworker.py @@ -23,7 +23,7 @@ conf = es_utils.load_conf() def check_ssh(ip): cmd = 'ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no %s ls /tmp' % ip - print('Connecting: %s' % cmd) + print('Connecting to MediaWorker: %s' % cmd) try: subprocess.check_output(cmd, shell=True, timeout=2) print('%sLogged in successfully%s' % (GREEN, DEF)) @@ -33,6 +33,7 @@ def check_ssh(ip): return True def check_apt(ip): + print('Checkout apt-get update on MediaWorker') cmd = 'ssh %s apt-get update' % ip try: subprocess.check_output(cmd, shell=True, timeout=10) -- GitLab