blob: 6ccb0a56a1fd001f6dfc2ccb923a021e315292bb (
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
{% extends "base.html" %}
{% block heading %}
Invocation {{invocation | e}}
{% endblock %}
{% from 'macros.html' import show_action %}
{% block content %}
<h1>Invocation {{invocation | e}}</h1>
<h2>Overview</h2>
<ul>
{% if cmd %}
<li> Subcommand and positional arguments: <span id="invocation-target"><tt>{{ cmd | e }}</tt></span></li>
{% endif %}
{% if cmdline %}
<li>
<details>
<summary>Full command line</summary>
<tt>{{ cmdline | e }}</tt>
</details>
</li>
{% endif %}
{% if repo_config %}
<li> Repository configuration:
<a href="/blob/{{ repo_config | e }}"><tt>{{ repo_config | e}}</tt></a>
</li>
{% endif %}
{% if target %}
<li> Target:
<a href="/filterinvocations/target/{{ target["value_hex"] | e }}"><tt>{{ target["value"] | e }}</tt></a>
</li>
{% endif %}
{% if config %}
<li> Target configuration: <tt>{{ config | e }}</tt></li>
{% endif %}
{% if has_remote %}
<li>
{% if is_remote %}
Remote build:
{% else %}
Local build:
{% endif %}
<ul>
<li> Address:
<a href="/filterinvocations/remote/address/{{ remote_address["value_hex"] | e }}"><tt>{{ remote_address["value"] | e }}</tt></a>
</li>
{% if remote_props %}
<li> Properties:
<ul>
{% for prop in remote_props %}
<li> <tt>{{ prop["key"] | e }}</tt> :
<a href="/filterinvocations/remote/prop/{{ prop["key_hex"] | e }}/{{ prop["value_hex"] | e }}"><tt>{{ prop["value"] | e }}</tt></a>
</li>
{% endfor %}
</ul>
</li>
{% endif %}
{% if remote_dispatch %}
<li> Dispatch: <tt>{{ remote_dispatch | e }}</tt></li>
{% endif %}
</ul>
</li>
{% endif %}
{% if context %}
<li> Context:
<ul>
{% for entry in context %}
<li> <tt>{{ entry["key"] | e }}</tt> :
<a href="/filterinvocations/context/{{ entry["key_hex"] | e }}/{{ entry["value_hex"] | e }}"><tt>{{ entry["value"] | e }}</tt></a>
</li>
{% endfor %}
</ul>
</li>
{% else %}
<li> Context: <i>(none)</i></li>
{% endif %}
{% if exit_code != None %}
<li> Exit code: <tt>{{ exit_code | e }}</tt></li>
{% endif %}
{% if not fully_cached %}
<li> <a href="/critical_path/{{invocation | e}}">Critical path</a></li>
{% endif %}
{% if artifacts %}
<li>
<details>
<summary>{{ artifacts_count | e }} artifacts</summary>
<ul>
{% for entry in artifacts %}
<li>
<a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a>
{% if entry["type"] == "blob" %}
<a href="/blob/{{ entry["hash"] | e}}/{{ entry["basename"] | e}}">[↓]</a>
{% endif %}
</li>
{% endfor %}
</ul>
</details>
</li>
{% endif %}
</ul>
{% if have_profile %}
{% if analysis_errors %}
<h2>Analysis errors</h2>
<ul>
{% for error in analysis_errors %}
<li> <pre>{{ error["msg"] | e}}</pre>
{% if error["blobs"] %}
Blobs:
{% for blob in error["blobs"] %}
<a href="/blob/{{ blob | e }}"><tt>{{ blob | e }}</tt></a>
{% endfor %}
{% endif %}
</li>
{% endfor %}
</ul>
{% else %}
{% if exit_code == 0 or exit_code == 1 or exit_code == 2 %}
<h2>Actions</h2>
<ul>
<li> Processed: <tt>{{ action_count | e }}</tt></li>
<li> Cached: <tt>{{ action_count_cached | e }}</tt></li>
</ul>
<h3>Failed actions</h3>
{% if failed_actions %}
<ul>
{% for action in failed_actions %}
{{ show_action(action, loop.index == 1) }}
{% endfor %}
</ul>
{% else %}
<i>(none)</i>
{% endif %}
<h3>Other actions with console output</h3>
{% if output_actions %}
<ul>
{% for action in output_actions %}
{{ show_action(action) }}
{% endfor %}
</ul>
{% else %}
<i>(none)</i>
{% endif %}
<h3>Remaining non-cached actions</h3>
{% 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 %}
{% endif %}
{% endif %}
{% else %}
<b>No profiling data available; invocation data is not (yet) complete.</b>
{% endif %}
{% endblock %}
|