{% extends "layouts/content-bootstrap.html" %} {% load utils %} {% block styles %} {% endblock %} {% block content %} {% load linenumbers %} {% if job.status >= job.RUNNING %} End of log file

{% endif %}
Description
{{job.description|default:"not set" }}
Status
{{ job.get_status_display }}
Priority
{{ job.get_priority_display }}
Submitter
{{ job.submitter }}
{% if job.actual_device %}
Name
{{ job.actual_device.hostname }}{% if not job.is_vmgroup %} (reports){% endif %}
{% endif %} {% if job.requested_device %}
Type
{{ job.requested_device.device_type }}{% if not job.is_vmgroup %} (reports){% endif %}
{% elif job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %} {% for tag in job.tags.all %} {% if forloop.first %} {% if forloop.revcounter > 1 %}
Required Tags
{% else %}
Required Tag
{% endif %} {% endif %}
{{ tag.name }}(?)
{% endfor %} {% if job.actual_device %}
Owner
{% if job.actual_device.user %} {{ job.actual_device.user.email }} {% elif job.actual_device.group %} Group {{ job.actual_device.group }} {% else %} Unrestricted {% endif %}
Physical access
{% if job.actual_device.physical_owner %} {{ job.actual_device.physical_owner.email }} {% elif job.actual_device.physical_group %} Group {{ job.actual_device.physical_group }} {% else %} Unknown {% endif %}
{% endif %}
Submitted
{{ job.submit_time|timesince }}
Started
{% if job.start_time %}{{ job.start_time|timesince }}{% else %}not started{% endif %}
Finished
{% if job.end_time %}{{ job.end_time|timesince }}{% else %}not finished{% endif %}
{% if job.start_time and job.end_time %}
Duration
{{ job.end_time|timeuntil:job.start_time }}
{% endif %}
{% if show_failure %} {% endif %} {% if change_priority and not job.is_multinode %}
{% csrf_token %}
{{ job.priority|get_priority_select }}
{% endif %}
{% if job.is_multinode or job.is_vmgroup %}
{% for subjob in job.sub_jobs_list %}
{{ subjob.sub_id }} {% if '0' in subjob.sub_id and '0' not in job.sub_id %} (?) {% endif %}
{% if subjob.actual_device.hostname %} on: {{ subjob.actual_device.hostname }} as: {{ subjob.device_role }}
{% else %} No device assigned as {{ subjob.device_role }}. {% endif %} {% endfor %}
{% endif %} {% if size_warning %}

This log file is too large to view, (over {{ size_warning|filesizeformat }} bytes). It can only be downloaded.

{% endif %} {% if job.archived_job_file %}

Job log file archived. Please contact the administrator for job log file.

{% endif %} {% if not job.archived_job_file %} End of log file
{% for section in sections %} Section {{ forloop.counter0 }} {% if section.0 == 'console' and section.1 > 20 and not forloop.last %} skip {{ section.1 }} lines to next log entry → {% endif %} {% linenumbers section.2 forloop.counter0 section.0 %} {% endfor %} {% if job.status == job.RUNNING %} {% endif %}
Start of log file

{% endif %}
{% if job.status == job.RUNNING %}
Description
{{job.description|default:"not set" }}
Submitter
{{ job.submitter }}
{% if job.actual_device %}
Name
{{ job.actual_device.hostname }} {% if not job.is_vmgroup %} (reports){% endif %}
{% if job.requested_device %}
Type
{{ job.requested_device.device_type }}{% if not job.is_vmgroup %} (reports){% endif %}
{% elif job.requested_device_type %}
Requested type
{{ job.requested_device_type }} (reports)
{% endif %}
{% endif %} {% endif %} {% endblock %} {% block scripts %} {% if job.status == job.RUNNING %} {% endif %} {% endblock scripts %}