From: Ian Jackson Subject: [OSSTEST PATCH 6/6] Revert "cs-bisection-step: allow -bisect blessed flights for basis pass" Date: Wed, 20 May 2015 13:54:13 +0100 Message-ID: <1432126453-22068-7-git-send-email-ian.jackson@eu.citrix.com> References: <1432126453-22068-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yv3Vu-0002Mk-T8 for xen-devel@lists.xenproject.org; Wed, 20 May 2015 12:54:23 +0000 In-Reply-To: <1432126453-22068-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 If the bisector is allowed to consider its own output flights as candidates for the basis pass, then it will (generally) restart with a new basis each time it finds a pass. This is very slow and wasteful. There is not much explanation in 01edca47 of the change I am now reverting, but I think I probably created by some semi-manual process a flight to serve as the basis. I now think that my mistake was to bless that flight `adhoc-bisect' or some such, rather than `adhoc'. This reverts commit 01edca47be3742a1660b1956c1f06ca934b97352. Signed-off-by: Ian Jackson --- cs-bisection-step | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-bisection-step b/cs-bisection-step index da13927..67a92b7 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -320,7 +320,7 @@ END SELECT * FROM flights JOIN steps USING (flight) WHERE job = ? AND testid = ? - AND $blessingscond + AND blessing = ? AND status = 'pass' AND branch = ? AND $flight_is_not_broken @@ -371,7 +371,7 @@ END print STDERR "/"; my ($basisrow,$trybasis); - $basisq->execute($job,$testid,$branch); + $basisq->execute($job,$testid,$blessings[0],$branch); while ($trybasis= $basisq->fetchrow_hashref()) { print STDERR " $trybasis->{flight}"; my $basishosts= relevant_hosts($trybasis->{flight}); -- 1.7.10.4