{% extends "base.html" %} {% block title %}{{ _("Job") }}: {{ job.name }}{% end block %} {% block body %}
{{ _("Actions") }}
{% if job.message %}
{{ "
".join(job.message.splitlines()) }}
{% end %} {% if job.state == "aborted" and job.aborted_state %}
{{ _("Job has been aborted") }}

{{ _("This build job is in an aborted state, because the build process crashed unexpectedly.") }} {{ _("In most cases, there is no log file and you must figure out the issue on your own.") }}

{{ _("The error code is:") }} {% if job.aborted_state == -11 %} SEGV - {{ _("Segmentation violation") }} {% else %} {{ job.aborted_state }} - {{ _("Unknown") }} {% end %}

{% if current_user and current_user.is_admin() %}

{{ _("You may resubmit the job to try again:") }} {{ _("Re-submit build") }}

{% end %}
{% end %}
{% module JobState(job, cls="lead", show_icon=True) %} {% if job.rank %}

{{ _("#%s in the build queue") % job.rank }}

{% end %}

{{ friendly_time(job.duration) }} {% if job.builder %}
{{ job.builder.name }} {% else %} {{ _("No builder assigned.") }} {% end %}

{{ _("Created") }}
{{ format_date(job.time_created, full_format=True) }}

{% if job.time_started %}

{{ _("Started") }}
{{ format_date(job.time_started, full_format=True) }}

{% end %} {% if job.time_finished %}

{{ _("Finished") }}
{{ format_date(job.time_finished, full_format=True) }}

{% end %}

{{ _("Build logs") }}

{% if job.logfiles %} {% module LogFilesTable(job, job.logfiles) %} {% else %}

{{ _("No logs available, yet.") }}

{% end %} {% if job.buildroot %}

{{ _("Buildroot") }} ({{ _("%s package", "%s packages", len(job.buildroot)) % len(job.buildroot) }})

{% end %}
{% if len(job) > 0 %}

{{ _("Package files") }} ({{ len(job) }})

{% module PackagesTable(job, job) %} {% end %} {% if log %}

{{ _("Log") }}

{% module Log(log) %} {% end %} {% end block %}