Francois Gouget : testbot/web: Use the TestBot records to show its activity.

Alexandre Julliard julliard at winehq.org
Tue Dec 19 09:10:08 CST 2017


Module: tools
Branch: master
Commit: 8d380ebe14c8dbedffba0dfcaaaec7c159306f01
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=8d380ebe14c8dbedffba0dfcaaaec7c159306f01

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Dec 18 23:53:58 2017 +0100

testbot/web: Use the TestBot records to show its activity.

The main index page is nice to browse the jobs but does not allow
getting a synthetic picture of what the TestBot is doing at a given
time. Even the VM table at the bottom falls short as it only shows the
current state and does not even show what task a given VM is running.

Each row of the new Activity page shows what each VM was doing at that
time, with color coding, links to the relevant task for running VMs,
and a count of the runnable and queued tasks.
Going down the table shows past history, allowing one to see how the
TestBot got in the current state.
The VMs are also grouped by host which makes it easier to verify that
the scheduler is obeying its operational parameters like the limits on
simultaneous running tasks, reverting VMs, etc.
While the activity page shows no sensitive information for now access to
it is restricted to users with a TestBot account.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/WineTestBot/Activity.pm            | 199 ++++++++++++++++++++
 testbot/lib/WineTestBot/CGI/PageBase.pm        |   1 +
 testbot/lib/WineTestBot/Config.pm              |   8 +-
 testbot/lib/WineTestBot/ConfigLocalTemplate.pl |   4 +
 testbot/lib/WineTestBot/RecordGroups.pm        |  12 +-
 testbot/lib/WineTestBot/Records.pm             |  24 ++-
 testbot/web/Activity.pl                        | 249 +++++++++++++++++++++++++
 testbot/web/WineTestBot.css                    |  39 ++++
 8 files changed, 528 insertions(+), 8 deletions(-)

Diff:   http://source.winehq.org/git/tools.git/?a=commitdiff;h=8d380ebe14c8dbedffba0dfcaaaec7c159306f01



More information about the wine-cvs mailing list