blob: 7fec7e6ee25905bba92a9f7cf5bb7c1ee069b228 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
{% extends "base.html" %}
{% block heading %}
Inocations {{invocation | e}}
{% endblock %}
{% macro show_action(action) %}
<li>
<details>
<summary>
{{ action["name_prefix"] | e }} <tt>{{ action["name"] | e}}</tt>
{% if action["may_fail"] %}
{% if action["exit_code"] != 0 %}
failure: <b>{{ action["may_fail"] }}</b>
{% else %}
tainted (<tt>{{ action["may_fail"] }}</tt>)
{% endif %}
{% elif action["primary_output"] %}
{% if action["exit_code"] != 0 %}
failed to build: <b>{{ action["primary_output"] | e }}</b>
{% else %}
build: <tt>{{ action["primary_output"] | e }}</tt>
{% endif %}
{% endif %}
</summary>
<ul>
{% if action["stdout"] %}
<li> stdout: <a href="/blob/{{ action["stdout"] | e }}">{{action["stdout"] | e }}</a></li>
{% endif %}
{% if action["stderr"] %}
<li> stderr: <a href="/blob/{{ action["stderr"] | e }}">{{action["stderr"] | e }}</a></li>
{% endif %}
{% if action["origins"] %}
<li> origins
<ul>
{% for origin in action["origins"] %}
<li> <tt>{{ origin | e }}</tt></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if action["exit_code"] != 0 %}
<li> exit code: {{ action["exit_code"] }}</li>
{% endif %}
{% if action["output"] %}
<li> output
<ul>
{% for out in action["output"] %}
{% if action["artifacts"].get(out) %}
<li> <a href="/blob/{{ action["artifacts"].get(out) | e}}"><tt>{{ out | e }}</tt></a></li>
{% else %}
<li> <tt>{{ out | e }}</tt></li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}
{% if action["output_dirs"] %}
<li> output directories
<ul>
{% for out in action["output_dirs"] %}
{% if action["artifacts"].get(out) %}
<li> <a href="/tree/{{ action["artifacts"].get(out) | e}}"><tt>{{ out | e }}</tt></a></li>
{% else %}
<li> <tt>{{ out | e }}</tt></li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}
</ul>
</details>
</li>
{% endmacro %}
{% block content %}
<h1>Invocation {{invocation | e}}</h1>
<h2>Overview</h2>
<ul>
{% if cmd %}
<li> Subcommand and positional arguments: <tt>{{ cmd | e }}</tt></li>
{% endif %}
{% if cmdline %}
<li> Full command line: <tt>{{ cmdline | e }}</tt></li>
{% endif %}
{% if repo_config %}
<li> Repository configuration:
<a href="/blob/{{ repo_config | e }}">{{ repo_config | e}}</a></li>
{% endif %}
{% if target %}
<li> Target: <tt>{{ target | e }}</tt></li>
{% endif %}
{% if config %}
<li> Target configuration: <tt>{{ config | e }}</tt></li>
{% endif %}
{% if exit_code != None %}
<li> exit code: {{ exit_code | e }}</li>
{% endif %}
</ul>
<h2>Failed actions</h2>
{% if failed_actions %}
<ul>
{% for action in failed_actions %}
{{ show_action(action) }}
{% endfor %}
</ul>
{% else %}
<i>(none)</i>
{% endif %}
<h2>Remaining non-cached actions</h2>
{% if non_cached %}
In order of decreasing run time.
<ul>
{% for action in non_cached %}
{{ show_action(action) }}
{% endfor %}
{% if more_non_cached %}
<li> … and {{ more_non_cached | e }} actions</li>
{% endif %}
</ul>
{% else %}
<i>(none)</i>
{% endif %}
{% endblock %}
|