{% extends "basebuilddetailpage.html" %} {% load projecttags %} {% load humanize %} {% block title %} {{task.recipe.name}}_{{task.recipe.version}} {{task.task_name}} - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster {% endblock %} {% block localbreadcrumb %}
  • Tasks
  • {{task.recipe.name}}_{{task.recipe.version}} {{task.task_name}}
  • {% endblock %} {% block pagedetailinfomain %}
    {# Outcome section #}

    {{task.get_outcome_display}}

    {%if task.task_executed %} {# executed tasks outcome #} {% if task.logfile %} Download task log {% endif %} {# show stack trace for failed task #} {% if task.outcome == task.OUTCOME_FAILED and log_head %}

    Python stack trace

                        {{log_head}}...
                        
    {% endif %} {% else %} {# not executed tasks outcome #} {% if task.outcome == task.OUTCOME_PREBUILT %} {% if not showing_matches %} Match to tasks in previous builds {% elif matching_tasks %}

    Prebuilt task could be based on

    {% for match in matching_tasks %} {% endfor %}
    Recipe Task Executed Outcome Build completed on
    {{match.recipe.name}} {{match.task_name}} {% if task.get_description %} {% endif %} {{match.get_executed_display}} {{match.get_outcome_display}} {{match.build.completed_on|date:"d/m/y H:i"}}
    {% else %}

    We have found no tasks matching this prebuilt task
    The task you are looking for could belong to a build for which Toaster has no data.

    {% endif %} {% elif task.outcome == task.OUTCOME_COVERED %}
    Task covered by
    {%elif task.outcome == task.OUTCOME_CACHED%} {% for t in task.get_related_setscene %} {% if forloop.last %} Download task log {% endif %} {% endfor %} {%elif task.outcome == task.OUTCOME_EMPTY%}
    This task is empty because it has the noexec flag set to 1, or the task function is empty
    {% endif %} {% endif %} {# Execution section #} {% if task.task_executed %}

    Executed {% else %}

    Not Executed {% endif %}

    Task inputs signature
    {{task.sstate_checksum}}
    {% if task.sstate_result != task.SSTATE_NA %}
    Attempting to restore output from sstate cache
    File searched for
    {{task.path_to_sstate_obj}}
    URI(s) searched
      {% for uri in uri_list %}
    • {{uri}}
    • {% endfor %}
    {% endif %} {% if task.sstate_result == task.SSTATE_MISS %}
    File not in sstate cache. Running the real task instead.
    {% elif task.sstate_result == task.SSTATE_FAILED%}
    Failed to restore output from sstate cache. The file was found but could not be unpacked.
    Download log
    Running the real task instead.
    {% elif task.sstate_result == task.SSTATE_RESTORED %}
    Output successfully restored from sstate cache.
    {% endif %}
    Task order
    {{task.order}}
    {% if task.task_executed %}
    Task script type
    {{task.get_script_type_display}}
    {% endif %}
    Dependencies
    Reverse dependencies
    {# Performance section - shown only for executed tasks #} {%if task.elapsed_time or task.cpu_time_user or task.cpu_time_system or task.disk_io %}

    Performance

    {% endif %}
    {% if task.elapsed_time %}
    Time (secs)
    {{task.elapsed_time|format_none_and_zero|floatformat:2}}
    {% endif %} {% if task.cpu_time_user > 0 %}
    User CPU time (secs)
    {{task.cpu_time_user|format_none_and_zero|floatformat:2}}
    {% endif %} {% if task.cpu_time_system > 0 %}
    System CPU time (secs)
    {{task.cpu_time_system|format_none_and_zero|floatformat:2}}
    {% endif %} {% if task.disk_io > 0 %}
    Disk I/O (bytes)
    {{task.disk_io|format_none_and_zero|intcomma}}
    {% endif %}
    {% endblock %}