From 72b17bc82ac5c6a388adbfc8a564f118d0ccd247 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Mon, 28 May 2018 09:04:12 +0200 Subject: [PATCH] Print vping output instead of Paramiko object MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Iddc1abdf443e482e8748434a4ba7d85709d8cd0e Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/openstack/vping/vping_ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functest/opnfv_tests/openstack/vping/vping_ssh.py b/functest/opnfv_tests/openstack/vping/vping_ssh.py index 933779ec1..dd864e084 100644 --- a/functest/opnfv_tests/openstack/vping/vping_ssh.py +++ b/functest/opnfv_tests/openstack/vping/vping_ssh.py @@ -119,7 +119,7 @@ class VPingSSH(vping_base.VPingBase): self.logger.debug("ssh: %s", self.ssh) (_, stdout, _) = self.ssh.exec_command( 'ping -c 1 ' + self.vm1.private_v4) - self.logger.debug("ping output: %s", stdout) + self.logger.debug("ping output:\n%s", stdout.read()) return stdout.channel.recv_exit_status() def clean(self): -- 2.16.6