{% extends "base.html" %} {% import "_dfm.html" as dfm with context %} {#- One DFM run as a list (docs/dfm-events.md §6): what it is doing, has done and plans to do. -#} {% block title %}{{ r.title }}{% endblock %} {% block crumbs %}/ DFM runs{% if r.project and r.wpid %} / {{ r.wpid[:8] }}{% endif %} / {{ r.sid[-8:] }}{% endblock %} {% block head %}{{ dfm.style() }} {% endblock %} {% macro name(n) -%}{{ n.label or n.name }}{%- endmacro %} {% macro log(n) -%}{% if n.log or n.logfile %} log{% endif %}{%- endmacro %} {% macro marks(n) -%} {% if n.errors %}{{ n.errors }} error{{ 's' if n.errors != 1 }}{% endif %} {% if n.warnings %}{{ n.warnings }} warning{{ 's' if n.warnings != 1 }}{% endif %} {% if n.markers %}{% endif %} {%- endmacro %} {% block main %}

{{ r.title }}

{{ dfm.status(r) }} {{ r.elapsed|secs }} {{ dfm.bar(r) }} {{ r.finished }}/{{ r.total }} {% if r.failed %}{{ r.failed|length }} failed{% endif %}

{{ r.host }} pid {{ r.pid }}{% if r.peer and r.peer != r.pid %} (socket peer {{ r.peer }}){% endif %} · {{ r.cwd }} {% if r.rundir %}· rundir {{ r.rundir }}{% endif %} {% if r.jobs %}· -j{{ r.jobs }}{% endif %} {% if r.dfm_run_id %}· DFM run {{ r.dfm_run_id }}{% endif %} {% if r.parent %}· started inside another run{% endif %} {% if r.wpid %}· {% if r.project %}packet {{ r.wpid[:8] }}{% else %}packet {{ r.wpid[:8] }}{% endif %}{% if r.step %} step {{ r.step }}{% if r.attempt and r.attempt != "1" %} attempt {{ r.attempt }}{% endif %}{% endif %}{% endif %}

{% if r.status == "lost" %}
The run stopped reporting{% if r.closed %} ({{ r.closed }}){% endif %} before it finished: the process was killed, hung, or the board restarted while it ran. What follows is the last thing it reported.
{% endif %} {% if r.partial or r.gaps or r.dropped %}

Incomplete stream:{% if r.partial %} the start is missing;{% endif %}{% if r.gaps %} {{ r.gaps }} lines lost in transit;{% endif %}{% if r.dropped %} DFM dropped {{ r.dropped }} events;{% endif %} counts may be off.

{% endif %} {% if kids %}

Nested runs ({{ kids|length }})

{{ dfm.table(kids, packet=False) }}{% endif %}

Running ({{ r.running|length }})

{% if r.running %}
{% for n in r.running %} {% endfor %}
{{ name(n) }}{{ n.for_s|secs }}{{ n.cmd or n.state }}{{ log(n) }}{{ marks(n) }}
{% else %}

Nothing is running.

{% endif %} {% if r.failed %}

Failed ({{ r.failed|length }})

{% for n in r.failed %} {% endfor %}
✗ {{ name(n) }}{{ n.dur|secs }}status {{ n.status }}{{ log(n) }}{{ marks(n) }}
{% endif %}

Pending ({{ r.pending|length }})

{% if r.pending %}
{% for n in r.pending %} {% endfor %}
{{ name(n) }}{% if n.waiting %}waiting on {{ n.waiting }}{% if n.n_waiting > 1 %} and {{ n.n_waiting - 1 }} more{% endif %}{% elif r.live %}ready{% else %}never ran{% endif %}
{% else %}

Nothing left to run.

{% endif %} {% if r.skipped %}
Skipped ({{ r.skipped|length }}) after a failure
{% for n in r.skipped %}{% endfor %}
{{ name(n) }}
{% endif %}

Done ({{ r.done|length + r.quiet|length }})

{% if r.done %}
{% for n in r.done %} {% endfor %}
✓ {{ name(n) }}{{ n.dur|secs }}{{ log(n) }}{{ marks(n) }}
{% endif %} {% if r.quiet %}
· {{ r.quiet|length }} up to date or cached
{% for n in r.quiet %}{% endfor %}
{{ name(n) }}{{ n.quiet|replace("_", " ") }}
{% endif %} {% if not r.done and not r.quiet %}

Nothing has finished yet.

{% endif %}
Command and context
{{ r.argv|join(" ") }}
{% if r.ctx %}
{% for k, v in r.ctx|dictsort %}
{{ k }}
{{ v }}
{% endfor %}
{% endif %}

Stream {{ r.sid }}{% if r.scopes %} · {{ r.scopes }} dynamic sub-graph{{ 's' if r.scopes != 1 }}{% endif %}

{% endblock %}