Debian Codegraph @

infra/bots/recipe_modules/run/examples/full.expected/test.json

raw
1 [
2 {
3 "cmd": [
4 "false"
5 ],
6 "env": {
7 "CHROME_HEADLESS": "1",
8 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
9 },
10 "name": "fail",
11 "~followup_annotations": [
12 "@@@STEP_FAILURE@@@"
13 ]
14 },
15 {
16 "cmd": [
17 "false"
18 ],
19 "env": {
20 "CHROME_HEADLESS": "1",
21 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
22 },
23 "name": "fail again",
24 "~followup_annotations": [
25 "@@@STEP_FAILURE@@@"
26 ]
27 },
28 {
29 "cmd": [
30 "echo",
31 "do the thing"
32 ],
33 "env": {
34 "CHROME_HEADLESS": "1",
35 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
36 },
37 "name": "do a thing"
38 },
39 {
40 "cmd": [
41 "echo",
42 "0"
43 ],
44 "env": {
45 "CHROME_HEADLESS": "1",
46 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
47 },
48 "name": "run 0"
49 },
50 {
51 "cmd": [
52 "vpython3",
53 "-u",
54 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
55 "--json-output",
56 "/path/to/tmp/json",
57 "copy",
58 "myfile.txt",
59 "/path/to/tmp/"
60 ],
61 "infra_step": true,
62 "name": "read myfile.txt",
63 "~followup_annotations": [
64 "@@@[email protected]@@@"
65 ]
66 },
67 {
68 "cmd": [
69 "vpython3",
70 "-u",
71 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
72 "--json-output",
73 "/path/to/tmp/json",
74 "copy",
75 "contents",
76 "myfile.txt"
77 ],
78 "infra_step": true,
79 "name": "write myfile.txt",
80 "~followup_annotations": [
81 "@@@[email protected]@contents@@@",
82 "@@@[email protected]@@@"
83 ]
84 },
85 {
86 "cmd": [
87 "vpython3",
88 "-u",
89 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
90 "--json-output",
91 "/path/to/tmp/json",
92 "rmtree",
93 "mydir"
94 ],
95 "infra_step": true,
96 "name": "rmtree mydir"
97 },
98 {
99 "cmd": [
100 "vpython3",
101 "-u",
102 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
103 "--json-output",
104 "/path/to/tmp/json",
105 "copy",
106 "[START_DIR]\\cache\\work\\skia\\infra\\bots\\assets\\my_asset\\VERSION",
107 "/path/to/tmp/"
108 ],
109 "infra_step": true,
110 "name": "Get my_asset VERSION",
111 "~followup_annotations": [
112 "@@@STEP_LOG_LINE@VERSION@42@@@",
113 "@@@STEP_LOG_END@VERSION@@@"
114 ]
115 },
116 {
117 "cmd": [
118 "env"
119 ],
120 "env": {
121 "CHROME_HEADLESS": "1",
122 "PATH": "mydir:<PATH>;RECIPE_REPO[depot_tools]"
123 },
124 "name": "env"
125 },
126 {
127 "cmd": [
128 "false"
129 ],
130 "env": {
131 "CHROME_HEADLESS": "1",
132 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
133 },
134 "name": "retry fail",
135 "~followup_annotations": [
136 "@@@STEP_FAILURE@@@"
137 ]
138 },
139 {
140 "cmd": [
141 "echo",
142 "between_attempt"
143 ],
144 "env": {
145 "CHROME_HEADLESS": "1",
146 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
147 },
148 "name": "between_attempts #1"
149 },
150 {
151 "cmd": [
152 "false"
153 ],
154 "env": {
155 "CHROME_HEADLESS": "1",
156 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
157 },
158 "name": "retry fail (attempt 2)",
159 "~followup_annotations": [
160 "@@@STEP_FAILURE@@@"
161 ]
162 },
163 {
164 "cmd": [
165 "echo",
166 "between_attempt"
167 ],
168 "env": {
169 "CHROME_HEADLESS": "1",
170 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
171 },
172 "name": "between_attempts #2"
173 },
174 {
175 "cmd": [
176 "false"
177 ],
178 "env": {
179 "CHROME_HEADLESS": "1",
180 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
181 },
182 "name": "retry fail (attempt 3)",
183 "~followup_annotations": [
184 "@@@STEP_FAILURE@@@"
185 ]
186 },
187 {
188 "cmd": [
189 "echo",
190 "between_attempt"
191 ],
192 "env": {
193 "CHROME_HEADLESS": "1",
194 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
195 },
196 "name": "between_attempts #3"
197 },
198 {
199 "cmd": [
200 "false"
201 ],
202 "env": {
203 "CHROME_HEADLESS": "1",
204 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
205 },
206 "name": "retry fail (attempt 4)",
207 "~followup_annotations": [
208 "@@@STEP_FAILURE@@@"
209 ]
210 },
211 {
212 "cmd": [
213 "echo",
214 "between_attempt"
215 ],
216 "env": {
217 "CHROME_HEADLESS": "1",
218 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
219 },
220 "name": "between_attempts #4"
221 },
222 {
223 "cmd": [
224 "false"
225 ],
226 "env": {
227 "CHROME_HEADLESS": "1",
228 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
229 },
230 "name": "retry fail (attempt 5)",
231 "~followup_annotations": [
232 "@@@STEP_FAILURE@@@"
233 ]
234 },
235 {
236 "cmd": [
237 "echo",
238 "between_attempt"
239 ],
240 "env": {
241 "CHROME_HEADLESS": "1",
242 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
243 },
244 "name": "between_attempts #5"
245 },
246 {
247 "cmd": [
248 "false"
249 ],
250 "env": {
251 "CHROME_HEADLESS": "1",
252 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
253 },
254 "name": "retry success",
255 "~followup_annotations": [
256 "@@@STEP_FAILURE@@@"
257 ]
258 },
259 {
260 "cmd": [
261 "echo",
262 "between_attempt"
263 ],
264 "env": {
265 "CHROME_HEADLESS": "1",
266 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
267 },
268 "name": "between_attempts #1 (2)"
269 },
270 {
271 "cmd": [
272 "false"
273 ],
274 "env": {
275 "CHROME_HEADLESS": "1",
276 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
277 },
278 "name": "retry success (attempt 2)",
279 "~followup_annotations": [
280 "@@@STEP_FAILURE@@@"
281 ]
282 },
283 {
284 "cmd": [
285 "echo",
286 "between_attempt"
287 ],
288 "env": {
289 "CHROME_HEADLESS": "1",
290 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
291 },
292 "name": "between_attempts #2 (2)"
293 },
294 {
295 "cmd": [
296 "false"
297 ],
298 "env": {
299 "CHROME_HEADLESS": "1",
300 "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
301 },
302 "name": "retry success (attempt 3)"
303 },
304 {
305 "failure": {
306 "failure": {},
307 "humanReason": "Failed build steps: fail, fail again, retry fail, retry fail (attempt 2), retry fail (attempt 3), retry fail (attempt 4), retry fail (attempt 5)"
308 },
309 "name": "$result"
310 }
311 ]