{% extends "basebuilddetailpage.html" %} {% load projecttags %} {% load humanize %} {% 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_usage 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_usage > 0 %}
    CPU usage
    {{task.cpu_usage|format_none_and_zero|floatformat:2}}%
    {% endif %} {% if task.disk_io > 0 %}
    Disk I/O (ms)
    {{task.disk_io|format_none_and_zero}}
    {% endif %}
    {% endblock %}