• Sergey Ulanov's avatar
    [Fuchsia] Capture system logs while waiting for system to boot. · 79be0a02
    Sergey Ulanov authored
    Previously runner scripts were capturing debug logs from test instance
    only after successful SSH connection to the test device. This made it
    hard to debug issues that break system boot (mainly after SDK updates).
    This CL sets SSH connect timeout to 5 seconds (previously there was no
    timeout) and updates Target._WaitUntilReady() to capture logs with
    loglistener while waiting for SSH connection. The logs are printed to
    the output after second failed connection attempt.
    
    Change-Id: I4b57d3a13f3baa520d9e7bdd08a6e6a9236e7ecc
    Reviewed-on: https://chromium-review.googlesource.com/1148939
    Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
    Reviewed-by: default avatarWez <wez@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#578894}
    79be0a02
target.py 7.14 KB