blob: 9dc080efbbb98fa6645b150df6f510d4aedede60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
{% extends "browse-layout.html" %}
{% block content %}
<h1 class="page-header">Currently running tests</h1>
<p>Click on the package name to jump to the currently running tests of that package.</p>
<table class="table-condensed table-striped">
{% for column in running|sort|batch(3) %}
<tr>
{% for p in column %}
<td><a href="#pkg-{{p}}">{{p}}</a></td>
{% endfor %}
</tr>
{% endfor %}
</table>
<h3>Queue lengths</h3>
<p>Click on the number in a cell to jump to the list of test requests for
that release and architecture which are waiting to be run.</p>
{% for context in ["ubuntu", "huge", "ppa", "upstream"] %}
<table class="table-condensed table-striped" style="display: inline-block; padding-right: 30px">
<tr>
<th>{{context}}</th>
{% for a in arches %}<th>{{a}}</th>{% endfor %}
</tr>
{% for r in releases %}
<tr>
<td>{{r}}</td>
{% for a in arches %}
<td>{% if queue_lengths[context][r][a] %}<a href="#queue-{{context}}-{{r}}-{{a}}">{{queue_lengths[context][r][a]}} {% else %}-{% endif %}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
{% endfor %}
<!-- Running tests -->
{% for p in running|sort %}
<h2 id="pkg-{{p}}"><a href="/packages/{{p}}">{{p}}</a></h2>
{% for runhash, relinfo in running[p].items() %}
{% for release, archinfo in relinfo.items() %}
{% for arch, (params, duration, logtail) in archinfo.items() %}
<table class="table-condensed">
<tr><th>Release:</th><td>{{release}}</td></tr>
<tr><th>Architecture:</th><td>{{arch}}</td></tr>
{% for param, v in params.items() %}
<tr><th>{{param|capitalize}}:</th><td>{{v}}</td></tr>
{% endfor %}
<tr><th>Running for:</th><td>{{duration//3600 }}h {{duration % 3600//60}}m {{duration % 60}}s</td></tr>
</table>
<pre>
{{logtail}}
</pre>
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
<!-- queue contents -->
{% for context in contexts %}
{% for r in queue_info[context] %}
{% for a in queue_info[context][r] %}
{% if queue_info[context][r][a] %}
{% set (nreqs, reqs) = queue_info[context][r][a] %}
{% if nreqs > 0 %}
<h3 id="queue-{{context}}-{{r}}-{{a}}">Queued tests for {{context}} {{r}} {{a}}</h3>
<table class="table-condensed table-striped">
{% for req in reqs %}
<tr><td>{{req}}</td></tr>
{% endfor %}
{% endif %}
</table>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}
|