diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html deleted file mode 100644 index 6af2c51277..0000000000 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ /dev/null @@ -1,74 +0,0 @@ -{% extends "basebuildpage.html" %} - -{% block localbreadcrumb %} -
No tasks were executed in this build!
- {% else %} - -{{task.message}}
| Recipe | {{task.recipe.file_path}} |
| Source | {{task.file_name}}:{{task.line_number}} |
| Workdir | {{task.work_directory}} |
| Log | {{task.logfile}} |
No tasks were executed in this build!
+ {% else %} + {% for task in objects %} +sstate-cache directory or mirrors. It also tells you why not executed tasks did not need to run',
+ 'orderfield': _get_toggle_order(request, "outcome"),
+ 'ordericon':_get_toggle_order_icon(request, "outcome"),
+ 'filter' : {
+ 'class' : 'outcome',
+ 'label': 'Show:',
+ 'options' : [
+ ('Succeeded Tasks', 'outcome:%d'%Task.OUTCOME_SUCCESS),
+ ('Failed Tasks', 'outcome:%d'%Task.OUTCOME_FAILED),
+ ('Cached Tasks', 'outcome:%d'%Task.OUTCOME_CACHED),
+ ('Prebuilt Tasks', 'outcome:%d'%Task.OUTCOME_PREBUILT),
+ ('Covered Tasks', 'outcome:%d'%Task.OUTCOME_COVERED),
+ ('Empty Tasks', 'outcome:%d'%Task.OUTCOME_NA),
+ ]
+ }
+
+ },
+ {
+ 'name':'Cache attempt',
+ 'qhelp':'This column tells you if a task tried to restore output from the sstate-cache directory or mirrors, and what was the result: Succeeded, Failed or File not in cache',
+ 'orderfield': _get_toggle_order(request, "sstate_result"),
+ 'ordericon':_get_toggle_order_icon(request, "sstate_result"),
+ 'filter' : {
+ 'class' : 'cache_attempt',
+ 'label': 'Show:',
+ 'options' : [
+ ('Tasks with cache attempts', 'sstate_result:%d'%Task.SSTATE_NA),
+ ("Tasks with 'File not in cache' attempts", 'sstate_result:%d'%Task.SSTATE_MISS),
+ ("Tasks with 'Failed' cache attempts", 'sstate_result:%d'%Task.SSTATE_FAILED),
+ ("Tasks with 'Succeeded' cache attempts", 'sstate_result:%d'%Task.SSTATE_RESTORED),
+ ]
+ }
+
+ },
+ {
+ 'name':'Time (secs)',
+ 'qhelp':'How long it took the task to finish, expressed in seconds',
+ 'clclass': 'time_taken',
+ 'hidden' : 1,
+ },
+ {
+ 'name':'CPU usage',
+ 'qhelp':'Task CPU utilisation, expressed as a percentage',
+ 'clclass': 'cpu_used',
+ 'hidden' : 1,
+ },
+ {
+ 'name':'Disk I/O (ms)',
+ 'qhelp':'Number of miliseconds the task spent doing disk input and output',
+ 'clclass': 'disk_io',
+ 'hidden' : 1,
+ },
+ {
+ 'name':'Log',
+ 'qhelp':'The location in disk of the task log file',
+ 'clclass': 'task_log',
+ 'hidden' : 1,
+ },
+ ]}
return render(request, template, context)