diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/core/target/ssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py index b80939c0e5..a2eafcd6f2 100644 --- a/meta/lib/oeqa/core/target/ssh.py +++ b/meta/lib/oeqa/core/target/ssh.py | |||
@@ -211,7 +211,7 @@ def SSHCall(command, logger, timeout=None, **opts): | |||
211 | process.stdout.close() | 211 | process.stdout.close() |
212 | eof = True | 212 | eof = True |
213 | else: | 213 | else: |
214 | data = data.decode("utf-8") | 214 | data = data.decode("utf-8", errors='replace') |
215 | output += data | 215 | output += data |
216 | logger.debug('Partial data from SSH call: %s' % data) | 216 | logger.debug('Partial data from SSH call: %s' % data) |
217 | endtime = time.time() + timeout | 217 | endtime = time.time() + timeout |
@@ -233,7 +233,7 @@ def SSHCall(command, logger, timeout=None, **opts): | |||
233 | output += lastline | 233 | output += lastline |
234 | 234 | ||
235 | else: | 235 | else: |
236 | output = process.communicate()[0].decode("utf-8") | 236 | output = process.communicate()[0].decode("utf-8", errors='replace') |
237 | logger.debug('Data from SSH call: %s' % output.rstrip()) | 237 | logger.debug('Data from SSH call: %s' % output.rstrip()) |
238 | 238 | ||
239 | options = { | 239 | options = { |