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