From: Cédric Ollivier Date: Sat, 23 Jun 2018 05:35:27 +0000 (+0200) Subject: Decrease the log level when connecting in singlevm X-Git-Tag: opnfv-7.0.0~245 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F58941%2F1;p=functest.git Decrease the log level when connecting in singlevm https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/172/console Change-Id: I0fd3bb833d306626c0eb6393fff3d0fca0579100 Signed-off-by: Cédric Ollivier --- diff --git a/functest/core/singlevm.py b/functest/core/singlevm.py index 7520f2649..65743e37f 100644 --- a/functest/core/singlevm.py +++ b/functest/core/singlevm.py @@ -237,7 +237,7 @@ class SingleVm1(VmReady1): self.ssh_connect_timeout)) break except Exception: # pylint: disable=broad-except - self.__logger.info( + self.__logger.debug( "try %s: cannot connect to %s", loop + 1, self.sshvm.public_v4) time.sleep(10) @@ -254,7 +254,7 @@ class SingleVm1(VmReady1): Returns: echo exit codes """ (_, stdout, _) = self.ssh.exec_command('echo Hello World') - self.__logger.info("output:\n%s", stdout.read()) + self.__logger.debug("output:\n%s", stdout.read()) return stdout.channel.recv_exit_status() def run(self, **kwargs):