From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes
Date: Thu, 17 Apr 2014 16:12:24 +0100 [thread overview]
Message-ID: <1397747544-9224-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
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
next reply other threads:[~2014-04-17 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 15:12 Ian Jackson [this message]
2014-04-22 8:39 ` [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1397747544-9224-1-git-send-email-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).