From patchwork Fri Nov 8 18:49:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 11235367 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD1861864 for ; Fri, 8 Nov 2019 18:51:43 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A4B52178F for ; Fri, 8 Nov 2019 18:51:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="YkY+lQ8E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A4B52178F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iT9L7-0007tv-7W; Fri, 08 Nov 2019 18:50:33 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iT9L6-0007tI-05 for xen-devel@lists.xenproject.org; Fri, 08 Nov 2019 18:50:32 +0000 X-Inumbo-ID: 971b90e5-0258-11ea-a1d6-12813bfff9fa Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 971b90e5-0258-11ea-a1d6-12813bfff9fa; Fri, 08 Nov 2019 18:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1573239011; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=aO0bCTPy7260kSyFsrFfUbuxe2ickWqS2zgdE01NmfE=; b=YkY+lQ8EJFiPwQ7X/T0Rl0HiXNqQA6JGN/pAyBFOguSQexIYq7LlSI/E OQJX0YJO96pXdXcqMqwzlWu17jKpRRpYrdE1Fi+22MJnv9yLG4+DWfvr9 Ekc8w73oRX+gXb65lhOnxSVTzJaEqJ6Nr4/T9h3x/yQqjNhM2sgJ4IQXt M=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: ELIpcErRlch3McRR9I/nUi9S1PEKrKbXPz+4m/NycwmwwDM0lb+9DTUc6QxHiYgD9+SzXUx+W0 TEDFxuZnhS/e/tAvFwGBlSfkUHPa/LSByGMDthprGTf8GjWjSGqHFyQ3aFoNkyCmjHGwRssEts LMY1YP9fo6hUNWEp1l5tIXRl8oSg8Uq/7vWdaowbv5oMTyW81BWpkXR8LuiHImXj4LOGQEgILJ 2AOxkAAJO/J2dfUNA739oxBMvdzR4DcuOyXbEknjh0i0gzh8fDFZh9jflvqgXlM7BUAXvZdNjs dyk= X-SBRS: 2.7 X-MesageID: 8076644 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.68,282,1569297600"; d="scan'208";a="8076644" From: Ian Jackson To: Date: Fri, 8 Nov 2019 18:49:51 +0000 Message-ID: <20191108185001.3319-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191108185001.3319-1-ian.jackson@eu.citrix.com> References: <20191108185001.3319-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 03/13] sg-report-host-history: Move `computeflightsrange' after hosts X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This will allow the flights range computation to depend on the hosts we are interested in. Signed-off-by: Ian Jackson --- sg-report-host-history | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sg-report-host-history b/sg-report-host-history index c9f4aaa6..fc51074d 100755 --- a/sg-report-host-history +++ b/sg-report-host-history @@ -329,10 +329,6 @@ END if $doinstall; } -db_retry($dbh_tests, [], sub { - computeflightsrange(); -}); - foreach my $host (@ARGV) { if ($host =~ m/^flight:/) { my $flight=$'; #'; @@ -365,6 +361,10 @@ END exit 0 unless %hosts; db_retry($dbh_tests, [], sub { + computeflightsrange(); +}); + +db_retry($dbh_tests, [], sub { mainquery(); });