• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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      "python",
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  },
64  {
65    "cmd": [
66      "python",
67      "-u",
68      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
69      "--json-output",
70      "/path/to/tmp/json",
71      "copy",
72      "contents",
73      "myfile.txt"
74    ],
75    "infra_step": true,
76    "name": "write myfile.txt",
77    "~followup_annotations": [
78      "@@@STEP_LOG_LINE@myfile.txt@contents@@@",
79      "@@@STEP_LOG_END@myfile.txt@@@"
80    ]
81  },
82  {
83    "cmd": [
84      "python",
85      "-u",
86      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
87      "--json-output",
88      "/path/to/tmp/json",
89      "rmtree",
90      "mydir"
91    ],
92    "infra_step": true,
93    "name": "rmtree mydir"
94  },
95  {
96    "cmd": [
97      "python",
98      "-u",
99      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
100      "--json-output",
101      "/path/to/tmp/json",
102      "copy",
103      "[START_DIR]\\cache\\work\\skia\\infra\\bots\\assets\\my_asset\\VERSION",
104      "/path/to/tmp/"
105    ],
106    "infra_step": true,
107    "name": "Get my_asset VERSION"
108  },
109  {
110    "cmd": [
111      "env"
112    ],
113    "env": {
114      "CHROME_HEADLESS": "1",
115      "PATH": "mydir:<PATH>;RECIPE_REPO[depot_tools]"
116    },
117    "name": "env"
118  },
119  {
120    "cmd": [
121      "false"
122    ],
123    "env": {
124      "CHROME_HEADLESS": "1",
125      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
126    },
127    "name": "retry fail",
128    "~followup_annotations": [
129      "@@@STEP_FAILURE@@@"
130    ]
131  },
132  {
133    "cmd": [
134      "echo",
135      "between_attempt"
136    ],
137    "env": {
138      "CHROME_HEADLESS": "1",
139      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
140    },
141    "name": "between_attempts #1"
142  },
143  {
144    "cmd": [
145      "false"
146    ],
147    "env": {
148      "CHROME_HEADLESS": "1",
149      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
150    },
151    "name": "retry fail (attempt 2)",
152    "~followup_annotations": [
153      "@@@STEP_FAILURE@@@"
154    ]
155  },
156  {
157    "cmd": [
158      "echo",
159      "between_attempt"
160    ],
161    "env": {
162      "CHROME_HEADLESS": "1",
163      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
164    },
165    "name": "between_attempts #2"
166  },
167  {
168    "cmd": [
169      "false"
170    ],
171    "env": {
172      "CHROME_HEADLESS": "1",
173      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
174    },
175    "name": "retry fail (attempt 3)",
176    "~followup_annotations": [
177      "@@@STEP_FAILURE@@@"
178    ]
179  },
180  {
181    "cmd": [
182      "echo",
183      "between_attempt"
184    ],
185    "env": {
186      "CHROME_HEADLESS": "1",
187      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
188    },
189    "name": "between_attempts #3"
190  },
191  {
192    "cmd": [
193      "false"
194    ],
195    "env": {
196      "CHROME_HEADLESS": "1",
197      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
198    },
199    "name": "retry fail (attempt 4)",
200    "~followup_annotations": [
201      "@@@STEP_FAILURE@@@"
202    ]
203  },
204  {
205    "cmd": [
206      "echo",
207      "between_attempt"
208    ],
209    "env": {
210      "CHROME_HEADLESS": "1",
211      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
212    },
213    "name": "between_attempts #4"
214  },
215  {
216    "cmd": [
217      "false"
218    ],
219    "env": {
220      "CHROME_HEADLESS": "1",
221      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
222    },
223    "name": "retry fail (attempt 5)",
224    "~followup_annotations": [
225      "@@@STEP_FAILURE@@@"
226    ]
227  },
228  {
229    "cmd": [
230      "false"
231    ],
232    "env": {
233      "CHROME_HEADLESS": "1",
234      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
235    },
236    "name": "retry success",
237    "~followup_annotations": [
238      "@@@STEP_FAILURE@@@"
239    ]
240  },
241  {
242    "cmd": [
243      "echo",
244      "between_attempt"
245    ],
246    "env": {
247      "CHROME_HEADLESS": "1",
248      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
249    },
250    "name": "between_attempts #1 (2)"
251  },
252  {
253    "cmd": [
254      "false"
255    ],
256    "env": {
257      "CHROME_HEADLESS": "1",
258      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
259    },
260    "name": "retry success (attempt 2)",
261    "~followup_annotations": [
262      "@@@STEP_FAILURE@@@"
263    ]
264  },
265  {
266    "cmd": [
267      "echo",
268      "between_attempt"
269    ],
270    "env": {
271      "CHROME_HEADLESS": "1",
272      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
273    },
274    "name": "between_attempts #2 (2)"
275  },
276  {
277    "cmd": [
278      "false"
279    ],
280    "env": {
281      "CHROME_HEADLESS": "1",
282      "PATH": "<PATH>;RECIPE_REPO[depot_tools]"
283    },
284    "name": "retry success (attempt 3)"
285  },
286  {
287    "failure": {
288      "failure": {},
289      "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)"
290    },
291    "name": "$result"
292  }
293]