[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] osstest: reduce FreeBSD install timeouts



Only the first block is expected to take longer (because it decompresses
the image and writes it to a LVM volume), the remaining commands should
execute much faster, so reduce the timeout.

Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
I've checked this with the output of OSSTest, and those blocks execute
immediately, OSSTest doesn't even report execution times on them:

http://logs.test-lab.xenproject.org/osstest/logs/57419/test-amd64-i386-freebsd10-amd64/9.ts-freebsd-install.log
---
 ts-freebsd-install | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ts-freebsd-install b/ts-freebsd-install
index 0d6eb0c..98dad24 100755
--- a/ts-freebsd-install
+++ b/ts-freebsd-install
@@ -67,7 +67,7 @@ sub prep () {
             mount -t ufs -o ufstype=ufs2,rw $rootpartition_dev $mnt
 END
 
-    target_cmd_root($ho, <<END, 900);
+    target_cmd_root($ho, <<END, 15);
             mkdir -p $mnt/root/.ssh
             cat <<'ENDKEYS' >$mnt/root/.ssh/authorized_keys
 $authkeys
@@ -75,7 +75,7 @@ ENDKEYS
 
 END
 
-    target_cmd_root($ho, <<END, 900);
+    target_cmd_root($ho, <<END, 30);
             echo 'sshd_enable="YES"' >> $mnt/etc/rc.conf
             echo 'ifconfig_xn0="DHCP"' >> $mnt/etc/rc.conf
             echo 'PermitRootLogin yes' >> $mnt/etc/ssh/sshd_config
-- 
1.9.5 (Apple Git-50.3)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.