* [PATCH] osstest: reduce FreeBSD install timeouts
@ 2015-05-29 10:38 Roger Pau Monne
2015-06-08 10:32 ` Ian Campbell
2015-06-10 9:58 ` Ian Jackson
0 siblings, 2 replies; 3+ messages in thread
From: Roger Pau Monne @ 2015-05-29 10:38 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Jackson, Ian Campbell, Roger Pau Monne
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@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
---
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@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] osstest: reduce FreeBSD install timeouts
2015-05-29 10:38 [PATCH] osstest: reduce FreeBSD install timeouts Roger Pau Monne
@ 2015-06-08 10:32 ` Ian Campbell
2015-06-10 9:58 ` Ian Jackson
1 sibling, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2015-06-08 10:32 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel, Ian Jackson
On Fri, 2015-05-29 at 11:38 +0100, Roger Pau Monne wrote:
> 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@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] osstest: reduce FreeBSD install timeouts
2015-05-29 10:38 [PATCH] osstest: reduce FreeBSD install timeouts Roger Pau Monne
2015-06-08 10:32 ` Ian Campbell
@ 2015-06-10 9:58 ` Ian Jackson
1 sibling, 0 replies; 3+ messages in thread
From: Ian Jackson @ 2015-06-10 9:58 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel, Ian Campbell
Roger Pau Monne writes ("[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.
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-10 9:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-29 10:38 [PATCH] osstest: reduce FreeBSD install timeouts Roger Pau Monne
2015-06-08 10:32 ` Ian Campbell
2015-06-10 9:58 ` Ian Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.