From: Cédric Ollivier Date: Mon, 28 May 2018 07:04:12 +0000 (+0200) Subject: Print vping output instead of Paramiko object X-Git-Tag: opnfv-6.2.0~20 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F57989%2F1;p=functest.git Print vping output instead of Paramiko object Change-Id: Iddc1abdf443e482e8748434a4ba7d85709d8cd0e Signed-off-by: Cédric Ollivier (cherry picked from commit 72b17bc82ac5c6a388adbfc8a564f118d0ccd247) --- 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):