xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes
@ 2014-04-17 15:12 Ian Jackson
  2014-04-22  8:39 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Jackson @ 2014-04-17 15:12 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson, Ian Campbell

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@eu.citrix.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes
  2014-04-17 15:12 [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes Ian Jackson
@ 2014-04-22  8:39 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2014-04-22  8:39 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

On Thu, 2014-04-17 at 16:12 +0100, Ian Jackson wrote:
> 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@eu.citrix.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-22  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 15:12 [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes Ian Jackson
2014-04-22  8:39 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).