test-qemu: Extend timeouts to 300 seconds (5 minutes)
Be a bit more tolerant of slow boot processes.
Change-Id: I2c1afd48768c33e049f14ac65645364aedc77e1d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/scripts/test-qemu b/scripts/test-qemu
index fd8ba8d..949c9e7 100755
--- a/scripts/test-qemu
+++ b/scripts/test-qemu
@@ -43,7 +43,7 @@
-nographic \
-net nic \
-net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu" \
- -c 'set timeout 120' \
+ -c 'set timeout 300' \
-c 'expect timeout { exit 1 } "login:"' \
-c 'spawn sshpass -p 0penBmc ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p2222 root@localhost journalctl -b' \
-c 'expect -i $spawn_id eof'
@@ -58,7 +58,7 @@
-nographic \
-net nic \
-net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu" \
- -c 'set timeout 120' \
+ -c 'set timeout 300' \
-c 'expect timeout { exit 1 } "login:"' \
-c 'spawn sshpass -p 0penBmc ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p2222 root@localhost journalctl -b' \
-c 'expect -i $spawn_id eof'
@@ -84,7 +84,7 @@
-net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu \
-nographic \
-append \"console=ttyS4,115200n8 rootwait root=PARTLABEL=rofs-a\"" \
- -c 'set timeout 120' \
+ -c 'set timeout 300' \
-c 'expect timeout { exit 1 } "login:"' \
-c 'spawn sshpass -p 0penBmc ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p2222 root@localhost journalctl -b' \
-c 'expect -i $spawn_id eof'