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