OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
7 "--show-path", | 7 "--show-path", |
8 "python", | 8 "python", |
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
10 ], | 10 ], |
11 "cwd": "[SLAVE_BUILD]", | |
12 "name": "cleanup_temp" | 11 "name": "cleanup_temp" |
13 }, | 12 }, |
14 { | 13 { |
15 "cmd": [ | 14 "cmd": [ |
16 "python", | 15 "python", |
17 "-u", | 16 "-u", |
18 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 17 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
19 "--master", | 18 "--master", |
20 "chromium.swarm", | 19 "chromium.swarm", |
21 "--builder", | 20 "--builder", |
22 "Mac deterministic", | 21 "Mac deterministic", |
23 "--slave", | 22 "--slave", |
24 "TestSlavename", | 23 "TestSlavename", |
25 "--spec", | 24 "--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'}]", | 25 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\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.c
hromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src',
'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", |
27 "--root", | 26 "--root", |
28 "src", | 27 "src", |
29 "--revision_mapping_file", | 28 "--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\"}", | 29 "{\"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", | 30 "--git-cache-dir", |
32 "[GIT_CACHE]", | 31 "[ROOT]/b/build/slave/cache_dir", |
33 "--output_json", | 32 "--output_json", |
34 "/path/to/tmp/json", | 33 "/path/to/tmp/json", |
35 "--revision", | 34 "--revision", |
36 "src@204787", | 35 "src@204787", |
37 "--force", | 36 "--force", |
38 "--output_manifest" | 37 "--output_manifest" |
39 ], | 38 ], |
40 "cwd": "[SLAVE_BUILD]", | |
41 "env": { | 39 "env": { |
42 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 40 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
43 }, | 41 }, |
44 "name": "bot_update", | 42 "name": "bot_update", |
45 "~followup_annotations": [ | 43 "~followup_annotations": [ |
46 "@@@STEP_TEXT@Some step text@@@", | 44 "@@@STEP_TEXT@Some step text@@@", |
47 "@@@STEP_LOG_LINE@json.output@{@@@", | 45 "@@@STEP_LOG_LINE@json.output@{@@@", |
48 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 46 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
49 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 47 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
50 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", | 48 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 107 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
110 ] | 108 ] |
111 }, | 109 }, |
112 { | 110 { |
113 "cmd": [ | 111 "cmd": [ |
114 "python", | 112 "python", |
115 "-u", | 113 "-u", |
116 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 114 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
117 "runhooks" | 115 "runhooks" |
118 ], | 116 ], |
119 "cwd": "[SLAVE_BUILD]", | |
120 "env": { | 117 "env": { |
121 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 118 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
122 "GYP_DEFINES": "clang=1 component=static_library gomadir='[BUILD]/goma' ta
rget_arch=ia32 test_isolation_mode=prepare use_goma=1", | 119 "GYP_DEFINES": "clang=1 component=static_library gomadir='[ROOT]/b/build/g
oma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
123 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
124 }, | 121 }, |
125 "name": "gclient runhooks" | 122 "name": "gclient runhooks" |
126 }, | 123 }, |
127 { | 124 { |
128 "allow_subannotations": true, | 125 "allow_subannotations": true, |
129 "cmd": [ | 126 "cmd": [ |
130 "python", | 127 "python", |
131 "-u", | 128 "-u", |
132 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 129 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
133 "--src-dir", | 130 "--src-dir", |
134 "[SLAVE_BUILD]/src", | 131 "[CWD]/src", |
135 "--output-json", | 132 "--output-json", |
136 "/path/to/tmp/json" | 133 "/path/to/tmp/json" |
137 ], | 134 ], |
138 "cwd": "[SLAVE_BUILD]", | |
139 "env": { | 135 "env": { |
140 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 136 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
141 }, | 137 }, |
142 "name": "clang_revision", | 138 "name": "clang_revision", |
143 "~followup_annotations": [ | 139 "~followup_annotations": [ |
144 "@@@STEP_LOG_LINE@json.output@{@@@", | 140 "@@@STEP_LOG_LINE@json.output@{@@@", |
145 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 141 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
146 "@@@STEP_LOG_LINE@json.output@}@@@", | 142 "@@@STEP_LOG_LINE@json.output@}@@@", |
147 "@@@STEP_LOG_END@json.output@@@" | 143 "@@@STEP_LOG_END@json.output@@@" |
148 ] | 144 ] |
149 }, | 145 }, |
150 { | 146 { |
151 "cmd": [ | 147 "cmd": [ |
152 "python", | 148 "python", |
153 "-u", | 149 "-u", |
154 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 150 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
155 "--show-path", | 151 "--show-path", |
156 "python", | 152 "python", |
157 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 153 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
158 "--gsutil-py-path", | 154 "--gsutil-py-path", |
159 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 155 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
160 "--ninja-path", | 156 "--ninja-path", |
161 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 157 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
162 "--target", | 158 "--target", |
163 "Release", | 159 "Release", |
164 "--src-dir", | 160 "--src-dir", |
165 "[SLAVE_BUILD]/src", | 161 "[CWD]/src", |
166 "--goma-cache-dir", | 162 "--goma-cache-dir", |
167 "[GOMA_CACHE]", | 163 "[ROOT]/b/build/slave/goma_cache", |
168 "--build-tool", | 164 "--build-tool", |
169 "ninja", | 165 "ninja", |
170 "--compiler", | 166 "--compiler", |
171 "goma-clang", | 167 "goma-clang", |
172 "--goma-jsonstatus", | 168 "--goma-jsonstatus", |
173 "/path/to/tmp/json", | 169 "/path/to/tmp/json", |
174 "--goma-service-account-json-file", | 170 "--goma-service-account-json-file", |
175 "/creds/service_accounts/service-account-goma-client.json", | 171 "/creds/service_accounts/service-account-goma-client.json", |
176 "--goma-dir", | 172 "--goma-dir", |
177 "[BUILD]/goma", | 173 "[ROOT]/b/build/goma", |
178 "--clobber", | 174 "--clobber", |
179 "--", | 175 "--", |
180 "all" | 176 "all" |
181 ], | 177 ], |
182 "cwd": "[SLAVE_BUILD]", | |
183 "env": { | 178 "env": { |
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 179 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
185 }, | 180 }, |
186 "name": "First build", | 181 "name": "First build", |
187 "~followup_annotations": [ | 182 "~followup_annotations": [ |
188 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 183 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
189 "@@@STEP_LOG_END@json.output (invalid)@@@" | 184 "@@@STEP_LOG_END@json.output (invalid)@@@" |
190 ] | 185 ] |
191 }, | 186 }, |
192 { | 187 { |
193 "cmd": [ | 188 "cmd": [ |
194 "python", | 189 "python", |
195 "-u", | 190 "-u", |
196 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 191 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
197 "--build-dir", | 192 "--build-dir", |
198 "[SLAVE_BUILD]/src/out/Release", | 193 "[CWD]/src/out/Release", |
199 "--src-dir", | 194 "--src-dir", |
200 "[SLAVE_BUILD]/src" | 195 "[CWD]/src" |
201 ], | 196 ], |
202 "cwd": "[SLAVE_BUILD]", | 197 "cwd": "[CWD]", |
203 "name": "remove_build_metadata", | 198 "name": "remove_build_metadata", |
204 "~followup_annotations": [ | 199 "~followup_annotations": [ |
205 "step returned non-zero exit code: 1", | 200 "step returned non-zero exit code: 1", |
206 "@@@STEP_WARNINGS@@@" | 201 "@@@STEP_WARNINGS@@@" |
207 ] | 202 ] |
208 }, | 203 }, |
209 { | 204 { |
210 "cmd": [ | 205 "cmd": [ |
211 "python", | 206 "python", |
212 "-u", | 207 "-u", |
213 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | 208 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", |
214 "/path/to/tmp/", | 209 "/path/to/tmp/", |
215 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | 210 "[CWD]/src/out/Release/*.isolated.gen.json" |
216 ], | 211 ], |
217 "cwd": "[SLAVE_BUILD]", | |
218 "name": "find isolated targets" | 212 "name": "find isolated targets" |
219 }, | 213 }, |
220 { | 214 { |
221 "cmd": [ | 215 "cmd": [ |
222 "python", | 216 "python", |
223 "-u", | 217 "-u", |
224 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 218 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
225 "[SLAVE_BUILD]/src/tools/swarming_client", | 219 "[CWD]/src/tools/swarming_client", |
226 "batcharchive", | 220 "batcharchive", |
227 "--dump-json", | 221 "--dump-json", |
228 "/path/to/tmp/json", | 222 "/path/to/tmp/json", |
229 "--isolate-server", | 223 "--isolate-server", |
230 "https://isolateserver.appspot.com", | 224 "https://isolateserver.appspot.com", |
231 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | 225 "[CWD]/src/out/Release/dummy_target_1.isolated.gen.json", |
232 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | 226 "[CWD]/src/out/Release/dummy_target_2.isolated.gen.json" |
233 ], | 227 ], |
234 "cwd": "[SLAVE_BUILD]", | |
235 "name": "isolate tests", | 228 "name": "isolate tests", |
236 "~followup_annotations": [ | 229 "~followup_annotations": [ |
237 "@@@STEP_LOG_LINE@json.output@{@@@", | 230 "@@@STEP_LOG_LINE@json.output@{@@@", |
238 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 231 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
239 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 232 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
240 "@@@STEP_LOG_LINE@json.output@}@@@", | 233 "@@@STEP_LOG_LINE@json.output@}@@@", |
241 "@@@STEP_LOG_END@json.output@@@", | 234 "@@@STEP_LOG_END@json.output@@@", |
242 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 235 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
243 ] | 236 ] |
244 }, | 237 }, |
245 { | 238 { |
246 "cmd": [ | 239 "cmd": [ |
247 "python", | 240 "python", |
248 "-u", | 241 "-u", |
249 "\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])", | 242 "\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])", |
250 "[SLAVE_BUILD]/src/out/Release", | 243 "[CWD]/src/out/Release", |
251 "[SLAVE_BUILD]/src/out/Release.1" | 244 "[CWD]/src/out/Release.1" |
252 ], | 245 ], |
253 "cwd": "[SLAVE_BUILD]", | 246 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.1", |
254 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", | |
255 "~followup_annotations": [ | 247 "~followup_annotations": [ |
256 "@@@STEP_LOG_LINE@python.inline@@@@", | 248 "@@@STEP_LOG_LINE@python.inline@@@@", |
257 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 249 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
258 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 250 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
259 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 251 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
260 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 252 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
261 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 253 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
262 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 254 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
263 "@@@STEP_LOG_END@python.inline@@@" | 255 "@@@STEP_LOG_END@python.inline@@@" |
264 ] | 256 ] |
265 }, | 257 }, |
266 { | 258 { |
267 "cmd": [ | 259 "cmd": [ |
268 "python", | 260 "python", |
269 "-u", | 261 "-u", |
270 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 262 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
271 "runhooks" | 263 "runhooks" |
272 ], | 264 ], |
273 "cwd": "[SLAVE_BUILD]", | |
274 "env": { | 265 "env": { |
275 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
276 "GYP_DEFINES": "clang=1 component=static_library gomadir='[BUILD]/goma' ta
rget_arch=ia32 test_isolation_mode=prepare use_goma=1", | 267 "GYP_DEFINES": "clang=1 component=static_library gomadir='[ROOT]/b/build/g
oma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
277 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 268 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
278 }, | 269 }, |
279 "name": "gclient runhooks (2)" | 270 "name": "gclient runhooks (2)" |
280 }, | 271 }, |
281 { | 272 { |
282 "allow_subannotations": true, | 273 "allow_subannotations": true, |
283 "cmd": [ | 274 "cmd": [ |
284 "python", | 275 "python", |
285 "-u", | 276 "-u", |
286 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 277 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
287 "--src-dir", | 278 "--src-dir", |
288 "[SLAVE_BUILD]/src", | 279 "[CWD]/src", |
289 "--output-json", | 280 "--output-json", |
290 "/path/to/tmp/json" | 281 "/path/to/tmp/json" |
291 ], | 282 ], |
292 "cwd": "[SLAVE_BUILD]", | |
293 "env": { | 283 "env": { |
294 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
295 }, | 285 }, |
296 "name": "clang_revision (2)", | 286 "name": "clang_revision (2)", |
297 "~followup_annotations": [ | 287 "~followup_annotations": [ |
298 "@@@STEP_LOG_LINE@json.output@{@@@", | 288 "@@@STEP_LOG_LINE@json.output@{@@@", |
299 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 289 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
300 "@@@STEP_LOG_LINE@json.output@}@@@", | 290 "@@@STEP_LOG_LINE@json.output@}@@@", |
301 "@@@STEP_LOG_END@json.output@@@" | 291 "@@@STEP_LOG_END@json.output@@@" |
302 ] | 292 ] |
303 }, | 293 }, |
304 { | 294 { |
305 "cmd": [ | 295 "cmd": [ |
306 "python", | 296 "python", |
307 "-u", | 297 "-u", |
308 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 298 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
309 "--show-path", | 299 "--show-path", |
310 "python", | 300 "python", |
311 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 301 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
312 "--gsutil-py-path", | 302 "--gsutil-py-path", |
313 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 303 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
314 "--ninja-path", | 304 "--ninja-path", |
315 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 305 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
316 "--target", | 306 "--target", |
317 "Release", | 307 "Release", |
318 "--src-dir", | 308 "--src-dir", |
319 "[SLAVE_BUILD]/src", | 309 "[CWD]/src", |
320 "--goma-cache-dir", | 310 "--goma-cache-dir", |
321 "[GOMA_CACHE]", | 311 "[ROOT]/b/build/slave/goma_cache", |
322 "--build-tool", | 312 "--build-tool", |
323 "ninja", | 313 "ninja", |
324 "--compiler", | 314 "--compiler", |
325 "goma-clang", | 315 "goma-clang", |
326 "--goma-jsonstatus", | 316 "--goma-jsonstatus", |
327 "/path/to/tmp/json", | 317 "/path/to/tmp/json", |
328 "--goma-service-account-json-file", | 318 "--goma-service-account-json-file", |
329 "/creds/service_accounts/service-account-goma-client.json", | 319 "/creds/service_accounts/service-account-goma-client.json", |
330 "--goma-dir", | 320 "--goma-dir", |
331 "[BUILD]/goma", | 321 "[ROOT]/b/build/goma", |
332 "--clobber", | 322 "--clobber", |
333 "--", | 323 "--", |
334 "all" | 324 "all" |
335 ], | 325 ], |
336 "cwd": "[SLAVE_BUILD]", | |
337 "env": { | 326 "env": { |
338 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 327 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
339 }, | 328 }, |
340 "name": "Second build", | 329 "name": "Second build", |
341 "~followup_annotations": [ | 330 "~followup_annotations": [ |
342 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 331 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
343 "@@@STEP_LOG_END@json.output (invalid)@@@" | 332 "@@@STEP_LOG_END@json.output (invalid)@@@" |
344 ] | 333 ] |
345 }, | 334 }, |
346 { | 335 { |
347 "cmd": [ | 336 "cmd": [ |
348 "python", | 337 "python", |
349 "-u", | 338 "-u", |
350 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 339 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
351 "--build-dir", | 340 "--build-dir", |
352 "[SLAVE_BUILD]/src/out/Release", | 341 "[CWD]/src/out/Release", |
353 "--src-dir", | 342 "--src-dir", |
354 "[SLAVE_BUILD]/src" | 343 "[CWD]/src" |
355 ], | 344 ], |
356 "cwd": "[SLAVE_BUILD]", | 345 "cwd": "[CWD]", |
357 "name": "remove_build_metadata (2)" | 346 "name": "remove_build_metadata (2)" |
358 }, | 347 }, |
359 { | 348 { |
360 "cmd": [ | 349 "cmd": [ |
361 "python", | 350 "python", |
362 "-u", | 351 "-u", |
363 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | 352 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", |
364 "/path/to/tmp/", | 353 "/path/to/tmp/", |
365 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | 354 "[CWD]/src/out/Release/*.isolated.gen.json" |
366 ], | 355 ], |
367 "cwd": "[SLAVE_BUILD]", | |
368 "name": "find isolated targets (2)" | 356 "name": "find isolated targets (2)" |
369 }, | 357 }, |
370 { | 358 { |
371 "cmd": [ | 359 "cmd": [ |
372 "python", | 360 "python", |
373 "-u", | 361 "-u", |
374 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 362 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
375 "[SLAVE_BUILD]/src/tools/swarming_client", | 363 "[CWD]/src/tools/swarming_client", |
376 "batcharchive", | 364 "batcharchive", |
377 "--dump-json", | 365 "--dump-json", |
378 "/path/to/tmp/json", | 366 "/path/to/tmp/json", |
379 "--isolate-server", | 367 "--isolate-server", |
380 "https://isolateserver.appspot.com", | 368 "https://isolateserver.appspot.com", |
381 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | 369 "[CWD]/src/out/Release/dummy_target_1.isolated.gen.json", |
382 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | 370 "[CWD]/src/out/Release/dummy_target_2.isolated.gen.json" |
383 ], | 371 ], |
384 "cwd": "[SLAVE_BUILD]", | |
385 "name": "isolate tests (2)", | 372 "name": "isolate tests (2)", |
386 "~followup_annotations": [ | 373 "~followup_annotations": [ |
387 "@@@STEP_LOG_LINE@json.output@{@@@", | 374 "@@@STEP_LOG_LINE@json.output@{@@@", |
388 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 375 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
389 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 376 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
390 "@@@STEP_LOG_LINE@json.output@}@@@", | 377 "@@@STEP_LOG_LINE@json.output@}@@@", |
391 "@@@STEP_LOG_END@json.output@@@", | 378 "@@@STEP_LOG_END@json.output@@@", |
392 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 379 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
393 ] | 380 ] |
394 }, | 381 }, |
395 { | 382 { |
396 "cmd": [ | 383 "cmd": [ |
397 "python", | 384 "python", |
398 "-u", | 385 "-u", |
399 "\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])", | 386 "\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])", |
400 "[SLAVE_BUILD]/src/out/Release", | 387 "[CWD]/src/out/Release", |
401 "[SLAVE_BUILD]/src/out/Release.2" | 388 "[CWD]/src/out/Release.2" |
402 ], | 389 ], |
403 "cwd": "[SLAVE_BUILD]", | 390 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.2", |
404 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", | |
405 "~followup_annotations": [ | 391 "~followup_annotations": [ |
406 "@@@STEP_LOG_LINE@python.inline@@@@", | 392 "@@@STEP_LOG_LINE@python.inline@@@@", |
407 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 393 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
408 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 394 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
409 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 395 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
410 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 396 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
411 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 397 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
412 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 398 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
413 "@@@STEP_LOG_END@python.inline@@@" | 399 "@@@STEP_LOG_END@python.inline@@@" |
414 ] | 400 ] |
415 }, | 401 }, |
416 { | 402 { |
417 "cmd": [ | 403 "cmd": [ |
418 "python", | 404 "python", |
419 "-u", | 405 "-u", |
420 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", | 406 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", |
421 "--first-build-dir", | 407 "--first-build-dir", |
422 "[SLAVE_BUILD]/src/out/Release.1", | 408 "[CWD]/src/out/Release.1", |
423 "--second-build-dir", | 409 "--second-build-dir", |
424 "[SLAVE_BUILD]/src/out/Release.2", | 410 "[CWD]/src/out/Release.2", |
425 "--target-platform", | 411 "--target-platform", |
426 "mac" | 412 "mac" |
427 ], | 413 ], |
428 "cwd": "[SLAVE_BUILD]", | 414 "cwd": "[CWD]", |
429 "name": "compare_build_artifacts" | 415 "name": "compare_build_artifacts" |
430 }, | 416 }, |
431 { | 417 { |
432 "name": "$result", | 418 "name": "$result", |
433 "recipe_result": null, | 419 "recipe_result": null, |
434 "status_code": 0 | 420 "status_code": 0 |
435 } | 421 } |
436 ] | 422 ] |
OLD | NEW |