From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 12/13] Reporting: Provide report_find_push_age_info Date: Tue, 30 Jun 2015 10:39:24 +0100 Message-ID: <1435657164.21469.46.camel@citrix.com> References: <1435598089-21647-1-git-send-email-ian.jackson@eu.citrix.com> <1435598089-21647-13-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z9s0s-0005CA-A1 for xen-devel@lists.xenproject.org; Tue, 30 Jun 2015 09:39:34 +0000 In-Reply-To: <1435598089-21647-13-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: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Mon, 2015-06-29 at 18:14 +0100, Ian Jackson wrote: > This utility function provides information about how far behind the > push gate is right now. > > I have tested it with this rune in the Cambridge instance: > > perl -we 'use Osstest::Executive; use Osstest; use Data::Dumper; open DEBUG, ">&STDERR" or die $!; csreadconfig(); print Dumper report_find_push_age_info([qw(real)], undef, [qw(osstest linux-next)], "osstest", "280a18b2b2612174e473a1c1a137ddd47c49aab9", "cc8b79ce9586d2b0fbddbd4260e876eab1d408d4")' > > Currently it produces this output: > > $VAR1 = { > 'CountTip' => '4', > 'FirstTip' => { > 'flight' => 37635, > 'intended' => 'real', > 'blessing' => 'real', > 'started' => 1435460756, > 'branch' => 'osstest' > }, > 'LastTip' => { > 'flight' => 37638, > 'intended' => 'real', > 'blessing' => 'real', > 'started' => 1435538150, > 'branch' => 'osstest' > }, > 'Basis' => { > 'flight' => 37629, > 'intended' => 'real', > 'blessing' => 'real', > 'started' => 1435181770, > 'branch' => 'osstest' > }, > 'FirstAfterBasis' => { > 'flight' => 37630, > 'intended' => 'real', > 'blessing' => 'real', > 'started' => 1435314944, > 'branch' => 'osstest' > }, > 'CountAfterBasis' => '9' > }; > > Signed-off-by: Ian Jackson I've applied this and had a go, but not yet attempted to integrate into the mg-all-branches-status script I posted. But still: Acked-by: Ian Campbell