summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/templates/simple_task.html
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /bitbake/lib/toaster/bldviewer/templates/simple_task.html
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/simple_task.html')
-rw-r--r--bitbake/lib/toaster/bldviewer/templates/simple_task.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_task.html b/bitbake/lib/toaster/bldviewer/templates/simple_task.html
new file mode 100644
index 0000000000..a5ed5295ea
--- /dev/null
+++ b/bitbake/lib/toaster/bldviewer/templates/simple_task.html
@@ -0,0 +1,71 @@
1{% extends "simple_basebuildpage.html" %}
2
3{% block pagetitle %}Tasks{% endblock %}
4{% block pagetable %}
5 {% if not objects %}
6 <p>No tasks were executed in this build!</p>
7 {% else %}
8
9 <tr>
10 <th>Order</th>
11 <th>Task</th>
12 <th>Recipe Version</th>
13 <th>Task Type</th>
14 <th>Checksum</th>
15 <th>Outcome</th>
16 <th>Message</th>
17 <th>Time</th>
18 <th>CPU usage</th>
19 <th>Disk I/O</th>
20 <th>Script type</th>
21 <th>Filesystem</th>
22 <th>Depends</th>
23 </tr>
24
25 {% for task in objects %}
26
27 <tr class="data">
28 <td>{{task.order}}</td>
29 <td><a name="{{task.recipe.name}}.{{task.task_name}}">
30 <a href="{% url "simple-layer_versions_recipes" task.recipe.layer_version_id %}#{{task.recipe.name}}">{{task.recipe.name}}</a>.{{task.task_name}}</a></td>
31 <td>{{task.recipe.version}}</td>
32
33 {% if task.task_executed %}
34 <td>Executed</td>
35 {% else %}
36 <td>Not Executed</td>
37 {% endif %}
38
39 <td>{{task.sstate_checksum}}</td>
40 <td>{{task.get_outcome_display}}{% if task.provider %}</br>(by <a href="#{{task.provider.recipe.name}}.{{task.provider.task_name}}">{{task.provider.recipe.name}}.{{task.provider.task_name}}</a>){% endif %}
41 {% if task.outcome == task.OUTCOME_CACHED %}{% for t in task.get_related_setscene %}
42 <br/>({{t.task_name}} {{t.get_outcome_display}})
43 {% endfor %}{%endif%}
44 </td>
45 <td><p>{{task.message}}</td>
46 <td>{{task.elapsed_time}}</td>
47 <td>{{task.cpu_usage}}</td>
48 <td>{{task.disk_io}}</td>
49 <td>{{task.get_script_type_display}}</td>
50 <td> <table>
51<tr><td> Recipe</td><td><a target="_fileview" href="file:///{{task.recipe.file_path}}">{{task.recipe.file_path}}</a></td></tr>
52<tr><td> Source</td><td><a target="_fileview" href="file:///{{task.file_name}}">{{task.file_name}}:{{task.line_number}}</a></td></tr>
53<tr><td> Workdir</td><td><a target="_fileview" href="file:///{{task.work_directory}}">{{task.work_directory}}</a></td></tr>
54<tr><td> Log</td><td><a target="_fileview" href="file:///{{task.logfile}}">{{task.logfile}}</a><br/></td></tr>
55</table>
56 </td>
57 <td>
58 <div style="height: 3em; overflow:auto">
59 {% for tt in task.task_dependencies_task.all %}
60 <a href="#{{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}">
61 {{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}</a><br/>
62 {% endfor %}
63 </div>
64 </td>
65 </tr>
66
67 {% endfor %}
68
69 {% endif %}
70
71{% endblock %}