{% extends "layouts/content-bootstrap.html" %} {% load utils %} {% block styles %} {% endblock %} {% block content %} {% 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 %}
{% 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 job.is_pipeline %}
{% endif %} {% if job.status < job.RUNNING %} No log file yet. {% elif job.archived_job_file %} Job log file archived. Please contact the administrator for job log file. {% else %} {% if job_file_present and not job.archived_job_file %} {% for tag in job.failure_tags.all %} {% if forloop.first %} {% if forloop.revcounter > 1 %}

Job failure tags

{% else %}

Job failure tag

{% endif %} {% endif %}
{{ tag.name }}
{{ tag.description }}
{% endfor %} {% if job.failure_comment %}
{{ job.failure_comment }}
{% endif %} {% if size_warning %}

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

{% endif %} End of log file

{% for level in levels %} {% if level.1 %} {% else %} {% endif %} {% endfor %}
{% for log in job_log_messages %} {{ log.1 }} {% endfor %} {% if job.status == job.RUNNING %} {% endif %}
{% else %} {% if job.failure_comment %}
{{ job.failure_comment }}
Job file missing. {% endif %} {% endif %} {% endif %} {% if job.is_pipeline %}

Job Description YAML

Pipeline jobs use the job definition to generate a descriptive YAML file when the pipeline is validated. The file represents the data sent to the dispatcher at the start of the job, including details of the device as well as the job parameters and the details of the parameters sent to each of the deploy, boot and test actions in the job pipeline.

Click on the Device or Job Actions headings below to see some of the information from the description file for this job or download the complete file as YAML using the link above.

device type
{{ device_data.device_type }}
hostname
{{ device_data.hostname }}
timeouts
    {% for key, value in device_data.timeouts.items %}
  • {{ key }}: {{ value.values|join:'' }} {{ value.keys|join:'' }}
  • {% endfor %}
device action methods
{% for key, value in device_data.actions.items %}
  • {{ key }}:
      {% for itemkey, itemvalue in value.methods.items %}
    • {{ itemkey }}:
        {% for paramkey, paramvalue in itemvalue.parameters.items %}
      • {{ paramkey }}: {{ paramvalue }}
      • {% endfor %}
    • {% endfor %}
  • {% endfor %}
    target
    {{ job_data.target|default:'...' }}
    timeouts
    {% if job_data.timeouts %}
      {% for key, value in job_data.timeouts.items %}
    • {{ key }}: {{ value }}
    • {% endfor %}
    {% else %}... {% endif %}
      {% for entry in deploy_list %}

    1. {% for key, value in entry.items %} {% if key == 'timeout' %}
      Timeout
        {% for timekey, timevalue in value.items %} {% if timekey == 'yaml_line' %}
      • {{ timekey }} {{ timevalue }}
      • {% else %}
      • {{ timevalue }} {{ timekey }}
      • {% endif %} {% endfor %}
      {% else %}
      {{ key }}
      {{ value }}
      {% endif %} {% endfor %}
    2. {% endfor %}
      {% for entry in boot_list %}

    1. {% for key, value in entry.items %} {% if key == 'timeout' %}
      Timeout
        {% for timekey, timevalue in value.items %} {% if timekey == 'yaml_line' %}
      • {{ timekey }} {{ timevalue }}
      • {% else %}
      • {{ timevalue }} {{ timekey }}
      • {% endif %} {% endfor %}
      {% else %}
      {{ key }}
      {{ value }}
      {% endif %} {% endfor %}
    2. {% endfor %}
      {% for entry in test_list %}

    1. {% for key, value in entry.items %} {% if key == 'timeout' %}
      Timeout
        {% for timekey, timevalue in value.items %} {% if timekey == 'yaml_line' %}
      • {{ timekey }} {{ timevalue }}
      • {% else %}
      • {{ timevalue }} {{ timekey }}
      • {% endif %} {% endfor %}
      {% elif key == 'definitions' %}
      Definitions
        {% for item in value %}
        • {% for elem_key, elem_value in item.items %}
        • {{ elem_key }} {{ elem_value }}
        • {% endfor %}
      1. {% endfor %}
      {% else %}
      {{ key }}
      {{ value }}
      {% endif %} {% endfor %}
    2. {% endfor %}
    {% endif %} {% if job.status >= job.RUNNING and job_file_present and job_file_size > 0 and not job.archived_job_file %} Start of log file

    {% endif %} {% endblock %} {% block scripts %} {% endblock scripts %}