From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH] cr-publish-flight-logs: use ssh -o batchmode=yes Date: Thu, 17 Apr 2014 16:12:24 +0100 Message-ID: <1397747544-9224-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wao07-00067r-Ta for xen-devel@lists.xenproject.org; Thu, 17 Apr 2014 15:13:20 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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