OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
7 "--show-path", | |
8 "python", | |
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
10 ], | |
11 "cwd": "[SLAVE_BUILD]", | |
12 "name": "cleanup_temp" | |
13 }, | |
14 { | |
15 "cmd": [ | |
16 "python", | |
17 "-u", | |
18 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
19 "--master", | |
20 "chromium.swarm", | |
21 "--builder", | |
22 "linux_deterministic", | |
23 "--slave", | |
24 "TestSlavename", | |
25 "--spec", | |
26 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url'
: 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.
chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]", | |
27 "--root", | |
28 "src", | |
29 "--revision_mapping_file", | |
30 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", | |
31 "--git-cache-dir", | |
32 "[GIT_CACHE]", | |
33 "--output_json", | |
34 "/path/to/tmp/json", | |
35 "--revision", | |
36 "src@204787", | |
37 "--force", | |
38 "--output_manifest" | |
39 ], | |
40 "cwd": "[SLAVE_BUILD]", | |
41 "env": { | |
42 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
43 }, | |
44 "name": "bot_update", | |
45 "~followup_annotations": [ | |
46 "@@@STEP_TEXT@Some step text@@@", | |
47 "@@@STEP_LOG_LINE@json.output@{@@@", | |
48 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
49 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
50 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", | |
51 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
52 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
53 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
54 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
55 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
56 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
57 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
58 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
59 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
60 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
61 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
62 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
63 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
64 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
65 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
66 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
68 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
69 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
70 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
75 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
76 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
77 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
78 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
79 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
80 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
82 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
84 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
85 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
86 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
87 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
88 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
92 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
93 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
94 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
95 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
96 "@@@STEP_LOG_LINE@json.output@}@@@", | |
97 "@@@STEP_LOG_END@json.output@@@", | |
98 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
99 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
100 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
101 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
102 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
103 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
104 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
105 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
106 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
107 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
108 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
109 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | |
110 ] | |
111 }, | |
112 { | |
113 "cmd": [ | |
114 "python", | |
115 "-u", | |
116 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
117 "runhooks" | |
118 ], | |
119 "cwd": "[SLAVE_BUILD]", | |
120 "env": { | |
121 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc
h=ia32 test_isolation_mode=prepare use_goma=1", | |
122 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
123 }, | |
124 "name": "gclient runhooks" | |
125 }, | |
126 { | |
127 "cmd": [ | |
128 "python", | |
129 "-u", | |
130 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
131 "--show-path", | |
132 "python", | |
133 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
134 "--ninja-path", | |
135 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
136 "--target", | |
137 "Release", | |
138 "--src-dir", | |
139 "[SLAVE_BUILD]/src", | |
140 "--goma-cache-dir", | |
141 "[GOMA_CACHE]", | |
142 "--build-tool", | |
143 "ninja", | |
144 "--compiler", | |
145 "goma", | |
146 "--goma-jsonstatus", | |
147 "/path/to/tmp/json", | |
148 "--goma-dir", | |
149 "[BUILD]/goma", | |
150 "--clobber", | |
151 "--", | |
152 "chromium_swarm_tests" | |
153 ], | |
154 "cwd": "[SLAVE_BUILD]", | |
155 "name": "First build", | |
156 "~followup_annotations": [ | |
157 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
158 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
159 ] | |
160 }, | |
161 { | |
162 "cmd": [ | |
163 "python", | |
164 "-u", | |
165 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | |
166 "--build-dir", | |
167 "[SLAVE_BUILD]/src/out/Release", | |
168 "--src-dir", | |
169 "[SLAVE_BUILD]/src" | |
170 ], | |
171 "cwd": "[SLAVE_BUILD]", | |
172 "name": "remove_build_metadata", | |
173 "~followup_annotations": [ | |
174 "step returned non-zero exit code: 1", | |
175 "@@@STEP_WARNINGS@@@" | |
176 ] | |
177 }, | |
178 { | |
179 "cmd": [ | |
180 "python", | |
181 "-u", | |
182 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | |
183 "/path/to/tmp/", | |
184 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | |
185 ], | |
186 "cwd": "[SLAVE_BUILD]", | |
187 "name": "find isolated targets" | |
188 }, | |
189 { | |
190 "cmd": [ | |
191 "python", | |
192 "-u", | |
193 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
194 "[SLAVE_BUILD]/src/tools/swarming_client", | |
195 "batcharchive", | |
196 "--dump-json", | |
197 "/path/to/tmp/json", | |
198 "--isolate-server", | |
199 "https://isolateserver.appspot.com", | |
200 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | |
201 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | |
202 ], | |
203 "cwd": "[SLAVE_BUILD]", | |
204 "name": "isolate tests", | |
205 "~followup_annotations": [ | |
206 "@@@STEP_LOG_LINE@json.output@{@@@", | |
207 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
208 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
209 "@@@STEP_LOG_LINE@json.output@}@@@", | |
210 "@@@STEP_LOG_END@json.output@@@", | |
211 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
212 ] | |
213 }, | |
214 { | |
215 "cmd": [ | |
216 "python", | |
217 "-u", | |
218 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | |
219 "[SLAVE_BUILD]/src/out/Release", | |
220 "[SLAVE_BUILD]/src/out/Release.1" | |
221 ], | |
222 "cwd": "[SLAVE_BUILD]", | |
223 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", | |
224 "~followup_annotations": [ | |
225 "@@@STEP_LOG_LINE@python.inline@@@@", | |
226 "@@@STEP_LOG_LINE@python.inline@import os@@@", | |
227 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | |
228 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
229 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | |
230 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | |
231 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | |
232 "@@@STEP_LOG_END@python.inline@@@" | |
233 ] | |
234 }, | |
235 { | |
236 "cmd": [ | |
237 "python", | |
238 "-u", | |
239 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
240 "runhooks" | |
241 ], | |
242 "cwd": "[SLAVE_BUILD]", | |
243 "env": { | |
244 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc
h=ia32 test_isolation_mode=prepare use_goma=1", | |
245 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
246 }, | |
247 "name": "gclient runhooks (2)" | |
248 }, | |
249 { | |
250 "cmd": [ | |
251 "python", | |
252 "-u", | |
253 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
254 "--show-path", | |
255 "python", | |
256 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
257 "--ninja-path", | |
258 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
259 "--target", | |
260 "Release", | |
261 "--src-dir", | |
262 "[SLAVE_BUILD]/src", | |
263 "--goma-cache-dir", | |
264 "[GOMA_CACHE]", | |
265 "--build-tool", | |
266 "ninja", | |
267 "--compiler", | |
268 "goma", | |
269 "--goma-jsonstatus", | |
270 "/path/to/tmp/json", | |
271 "--goma-dir", | |
272 "[BUILD]/goma", | |
273 "--clobber", | |
274 "--", | |
275 "chromium_swarm_tests" | |
276 ], | |
277 "cwd": "[SLAVE_BUILD]", | |
278 "name": "Second build", | |
279 "~followup_annotations": [ | |
280 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
281 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
282 ] | |
283 }, | |
284 { | |
285 "cmd": [ | |
286 "python", | |
287 "-u", | |
288 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | |
289 "--build-dir", | |
290 "[SLAVE_BUILD]/src/out/Release", | |
291 "--src-dir", | |
292 "[SLAVE_BUILD]/src" | |
293 ], | |
294 "cwd": "[SLAVE_BUILD]", | |
295 "name": "remove_build_metadata (2)" | |
296 }, | |
297 { | |
298 "cmd": [ | |
299 "python", | |
300 "-u", | |
301 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | |
302 "/path/to/tmp/", | |
303 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | |
304 ], | |
305 "cwd": "[SLAVE_BUILD]", | |
306 "name": "find isolated targets (2)" | |
307 }, | |
308 { | |
309 "cmd": [ | |
310 "python", | |
311 "-u", | |
312 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
313 "[SLAVE_BUILD]/src/tools/swarming_client", | |
314 "batcharchive", | |
315 "--dump-json", | |
316 "/path/to/tmp/json", | |
317 "--isolate-server", | |
318 "https://isolateserver.appspot.com", | |
319 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | |
320 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | |
321 ], | |
322 "cwd": "[SLAVE_BUILD]", | |
323 "name": "isolate tests (2)", | |
324 "~followup_annotations": [ | |
325 "@@@STEP_LOG_LINE@json.output@{@@@", | |
326 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
327 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
328 "@@@STEP_LOG_LINE@json.output@}@@@", | |
329 "@@@STEP_LOG_END@json.output@@@", | |
330 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
331 ] | |
332 }, | |
333 { | |
334 "cmd": [ | |
335 "python", | |
336 "-u", | |
337 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | |
338 "[SLAVE_BUILD]/src/out/Release", | |
339 "[SLAVE_BUILD]/src/out/Release.2" | |
340 ], | |
341 "cwd": "[SLAVE_BUILD]", | |
342 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", | |
343 "~followup_annotations": [ | |
344 "@@@STEP_LOG_LINE@python.inline@@@@", | |
345 "@@@STEP_LOG_LINE@python.inline@import os@@@", | |
346 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | |
347 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
348 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | |
349 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | |
350 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | |
351 "@@@STEP_LOG_END@python.inline@@@" | |
352 ] | |
353 }, | |
354 { | |
355 "cmd": [ | |
356 "python", | |
357 "-u", | |
358 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", | |
359 "--first-build-dir", | |
360 "[SLAVE_BUILD]/src/out/Release.1", | |
361 "--second-build-dir", | |
362 "[SLAVE_BUILD]/src/out/Release.2", | |
363 "--target-platform", | |
364 "linux" | |
365 ], | |
366 "cwd": "[SLAVE_BUILD]", | |
367 "name": "compare_build_artifacts" | |
368 }, | |
369 { | |
370 "name": "$result", | |
371 "recipe_result": null, | |
372 "status_code": 0 | |
373 } | |
374 ] | |
OLD | NEW |