|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH 12/13] Reporting: Provide report_find_push_age_info
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 <Ian.Jackson@xxxxxxxxxxxxx>
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 <ian.campbell@xxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |