Skip to content

Commit 694399e

Browse files
committed
M2b: verify — longer boot + SSH waits (first-boot host-key gen + Remote Login enable take time)
1 parent b2fa04a commit 694399e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/build-qemu-macos.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,11 @@ stage_verify() { # boot the turnkey tahoe:26 and confirm it reaches login (not
299299
for t in 1 2 3 4 5; do mon "sendkey ret"; sleep 8; done
300300
log "waiting for boot + first-boot SSH daemon (jiggle to keep display awake)"
301301
local w
302-
for w in 1 2 3 4 5 6 7 8; do python3 "$QMP_PY" "$QMP_SOCK" move $((60 + w * 25)) 400 2>/dev/null || true; sleep 25; done
302+
for w in $(seq 1 12); do python3 "$QMP_PY" "$QMP_SOCK" move $((60 + w * 20)) 400 2>/dev/null || true; sleep 25; done
303303
screendump "vf-01-loginscreen"
304304
log "testing SSH cocoon@localhost:$SSH_PORT"
305305
local ok=""
306-
for w in 1 2 3 4 5 6; do
306+
for w in $(seq 1 14); do
307307
if sshpass -p cocoon ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=8 \
308308
-p "$SSH_PORT" cocoon@localhost 'sw_vers; hostname; id' >"$ARTIFACT_DIR/ssh-output.txt" 2>&1; then
309309
ok=1; log "SSH OK:"; cat "$ARTIFACT_DIR/ssh-output.txt"; break

0 commit comments

Comments
 (0)