[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 3/4] cs-bisection-step: Print url for last failure repro flight



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 <Ian.Jackson@xxxxxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.