commit | 55d7a41e9359886381b606657c96c48e65975ac2 | [log] [tgz] |
---|---|---|
author | Ina Huh <ihuh@google.com> | Tue Feb 11 04:25:25 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 11 04:25:25 2025 -0800 |
tree | aad10f6ce8026f44ed413e0019917f03af144524 | |
parent | 3d5461c278256e24d2186bb6e95f21589e5047e9 [diff] |
[botanist] Start checking for SSH key after sending serial commands. Sometimes we see the serial commands to provision and cat the SSH key get stalled for some time. However since we start reading for the response before sending the commands, this may cause us to miss the response because we time out before we can send it. Instead we should start the timeout after sending the commands. The side effect is that in the case that we hang completely, this will cause the timeout to write to the serial socket to be 2 min instead of 10 seconds, multiplied by 5 tries. Bug: 395706575 Change-Id: I29ce3a2400ab3e521724e575a077e2d6d55b0fed Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1203870 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Carver Forbes <carverforbes@google.com> Fuchsia-Auto-Submit: Ina Huh <ihuh@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.