From: Ian Jackson Subject: [OSSTEST PATCH 3/4] cs-bisection-step: Print url for last failure repro flight Date: Mon, 19 Oct 2015 17:15:34 +0100 Message-ID: <1445271335-21792-3-git-send-email-ian.jackson@eu.citrix.com> References: <1445271335-21792-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZoD6C-0005Ee-Qk for xen-devel@lists.xenproject.org; Mon, 19 Oct 2015 16:15:48 +0000 In-Reply-To: <1445271335-21792-1-git-send-email-ian.jackson@eu.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 List-Id: xen-devel@lists.xenproject.org Print the url of the logs for last failure repro flight. This saves looking up the graph and manually constructing the url. Signed-off-by: Ian Jackson --- cs-bisection-step | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cs-bisection-step b/cs-bisection-step index ebecda4..7a97b10 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -857,11 +857,14 @@ sub search () { next if $nope; next unless @passparents; + my $fail_last_repro; return 1 if need_repro_sequence(3, sub { foreach my $pass (@passparents) { return 1 if need_repro('pass', $pass, "last pass"); } return 1 if need_repro('fail', $fail, "first failure"); + $fail_last_repro = $repro_lastflight; + return 0; }); $found_exact_failure++; @@ -885,6 +888,7 @@ END Bug is in tree: $treeinfos[$i]{Name} $treeinfos[$i]{Url} Bug introduced: $failrev[$i] Bug not present: $passrev[$i] +Last fail repro: $c{ReportHtmlPubBaseUrl}/$fail_last_repro/ END } } -- 1.7.10.4