diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-16 19:28:11 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-17 10:30:01 +0100 |
commit | 360b8c3e09ecf900f15a293d8889ea4fd51c3cc4 (patch) | |
tree | 7ca4c4efd07cb7b46284c359360baa25831dca1a /functest/core | |
parent | 1a673a0e5e1114082ab22930bbdd8d4b7c457d59 (diff) |
Print monit summary before running IMS testing
Change-Id: I94310aa609d2c56609e0a5f0e46932af4aee02eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7bc4e13a4c5409ed7d869ae5c0220feba70dbf65)
Diffstat (limited to 'functest/core')
-rw-r--r-- | functest/core/singlevm.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/functest/core/singlevm.py b/functest/core/singlevm.py index 16c066ef6..521eb1484 100644 --- a/functest/core/singlevm.py +++ b/functest/core/singlevm.py @@ -227,12 +227,13 @@ class VmReady1(tenantnetwork.TenantNetwork1): console = self.cloud.get_server_console(name) self.__logger.debug("console: \n%s", console) if re.search(regex, console): - self.__logger.debug("regex found: ''%s' in console", regex) + self.__logger.debug( + "regex found: '%s' in console\n%s", regex, console) return True else: self.__logger.debug( - "try %s: cannot find regex '%s' in console", - iloop + 1, regex) + "try %s: cannot find regex '%s' in console\n%s", + iloop + 1, regex, console) time.sleep(10) self.__logger.error("cannot find regex '%s' in console", regex) return False |