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

[Xen-devel] [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes



This avoids a problem (seen twice now) where NAT causes this
to hang and block everything.

Other invocations of rsync (eg in TestSupport) are all inside the
command-running machinery which imposes its own timeout.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 cr-publish-flight-logs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/cr-publish-flight-logs b/cr-publish-flight-logs
index d299329..f971522 100755
--- a/cr-publish-flight-logs
+++ b/cr-publish-flight-logs
@@ -50,6 +50,7 @@ if ($push_harness) {
 sub copydir ($$) {
     my ($src,$dst) = @_;
     my @cmd= qw(rsync --compress --compress-level=9 --stats --delete -auH);
+    push @cmd, '-e', 'ssh -o batchmode=yes';
     #--bwlimit=50
     push @cmd, $src, $dst;
     print "+ @cmd\n";
-- 
1.7.10.4


_______________________________________________
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®.