xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [OSSTEST PATCH 1/5] ms-flights-summary: Do gather_stats on jobs a bit later
@ 2016-07-18 14:04 Ian Jackson
  2016-07-18 14:04 ` [OSSTEST PATCH 2/5] ms-flights-summary: Do gather_stats without GROUP BY Ian Jackson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ian Jackson @ 2016-07-18 14:04 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

We are going to want to invent a fake status for `preparing' jobs
which have no allocation, separate from ones which do have an
allocation.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ms-flights-summary | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ms-flights-summary b/ms-flights-summary
index ea72088..413b703 100755
--- a/ms-flights-summary
+++ b/ms-flights-summary
@@ -342,11 +342,14 @@ enumerate_flights();
 
 foreach my $f (keys %flights) {
     enumerate_jobs($flights{$f});
-    gather_stats($flights{$f});
 }
 
 gather_events();
 
+foreach my $f (keys %flights) {
+    gather_stats($flights{$f});
+}
+
 printf("<html><head><title>Flights - %s</title></head><body>\n",
        $c{DnsDomain} // '?');
 printf("<p>Report at ".fmttime(time)." based on plan at ".fmttime($plan->{Start})."</p>\n");
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-18 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 14:04 [OSSTEST PATCH 1/5] ms-flights-summary: Do gather_stats on jobs a bit later Ian Jackson
2016-07-18 14:04 ` [OSSTEST PATCH 2/5] ms-flights-summary: Do gather_stats without GROUP BY Ian Jackson
2016-07-18 14:04 ` [OSSTEST PATCH 3/5] ms-flights-summary: Invent a `prep.alloc.' pseudo job state Ian Jackson
2016-07-18 14:04 ` [OSSTEST PATCH 4/5] ms-flights-summary: Treat preparing jobs outside the plan as `queued' Ian Jackson
2016-07-18 14:04 ` [OSSTEST PATCH 5/5] sg-execute-flight: Fix an error message Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).