mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
target/ssh.py: Add dump_target support
This adds the dump_target support when the ssh command fails with a 'No route to host'. This is will provide additional data when a Qemu target fails to respond during autobuilder testing. This does not fix 14002 [0], but may help track down why qemu looses networking [0] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14002 (From OE-Core rev: cef1a2b03b359c018911abc29db1895d0f46814c) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
406857b019
commit
78b473e7f8
@@ -88,6 +88,8 @@ class OESSHTarget(OETarget):
|
||||
|
||||
status, output = self._run(sshCmd, processTimeout, True)
|
||||
self.logger.debug('Command: %s\nOutput: %s\n' % (command, output))
|
||||
if (status == 255) and (('No route to host') in output):
|
||||
self.target_dumper.dump_target()
|
||||
return (status, output)
|
||||
|
||||
def copyTo(self, localSrc, remoteDst):
|
||||
|
||||
Reference in New Issue
Block a user