1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-05 02:20:30 +00:00

arm/oeqa/fvp: show more log from the FVP on failure

If the FVP fails to boot, the last 20 lines may just be a stack trace.
Show the last 200 lines for further context.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2022-03-18 16:54:19 +00:00
committed by Jon Mason
parent 15e3e0daf6
commit 00cde20a9a
+2 -1
View File
@@ -63,7 +63,8 @@ class OEFVPTarget(oeqa.core.target.ssh.OESSHTarget):
return
except asyncio.TimeoutError:
self.logger.info("Timed out waiting for login prompt.")
self.logger.info(b"\n".join(bootlog.splitlines()[-20:]).decode("utf-8", errors="replace"))
self.logger.info("Boot log follows:")
self.logger.info(b"\n".join(bootlog.splitlines()[-200:]).decode("utf-8", errors="replace"))
raise RuntimeError("Failed to start FVP.")
def start(self, **kwargs):