From: Ian Jackson Subject: [OSSTEST PATCH] cs-bisection-step: Limit size of revision log included in reports Date: Mon, 30 Nov 2015 13:41:08 +0000 Message-ID: <1448890868-27636-1-git-send-email-ian.jackson@eu.citrix.com> References: <565C3490.2070904@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a3Ohk-0002pu-Ko for xen-devel@lists.xenproject.org; Mon, 30 Nov 2015 13:41:20 +0000 In-Reply-To: <565C3490.2070904@citrix.com> 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 , David Vrabel List-Id: xen-devel@lists.xenproject.org There is a limit in cr-daily-branch, but none in cs-bisection-step. adhoc-revtuple-generator could usefully have this built in but that's not so simple, so do it again here. We already slurp the whole thing into core so from a resource usage point of view we might as well do the length check here too. Reported-by: David Vrabel Signed-off-by: Ian Jackson --- cs-bisection-step | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cs-bisection-step b/cs-bisection-step index e51babd..928a147 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -898,6 +898,11 @@ END "./adhoc-revtuple-generator -S @revtuplegenargs $rts"; my $revinfo= `$revrune`; if (!$?) { + if (length($revinfo) > 24000) { + $revinfo = <