From: Ian Jackson Subject: [OSSTEST PATCH 3/6] cs-bisection-step: Flail detection: look only at our blessing Date: Wed, 20 May 2015 13:54:10 +0100 Message-ID: <1432126453-22068-4-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 1Yv3Vz-0002Q3-6x for xen-devel@lists.xenproject.org; Wed, 20 May 2015 12:54:27 +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 When looking for identical previously flights, consider only ones which have the same blessing as our prospective flight will have. There are good reasons why apparently identical flights might appear with other in-scope blessings: notably, a single-test-job main branch might produce many failures from its push gate, which would all have the main branch blessing (rather than the bisector's blessing). Signed-off-by: Ian Jackson --- cs-bisection-step | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cs-bisection-step b/cs-bisection-step index 4891e93..3035912 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -1230,7 +1230,10 @@ END # one side is NULL (runvar was missing) it still counts. my $equalflightsqt = <execute($branch, $popflight, $minflight); + $equalflightsq->execute($branch, $popflight, $popflight, $minflight); my $nequalflights = 0; my $explanation = ''; while (my $identical = $equalflightsq->fetchrow_hashref()) { -- 1.7.10.4