Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(766)

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_mac_asan.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 }, 236 },
237 "name": "clang_revision", 237 "name": "clang_revision",
238 "~followup_annotations": [ 238 "~followup_annotations": [
239 "@@@STEP_LOG_LINE@json.output@{@@@", 239 "@@@STEP_LOG_LINE@json.output@{@@@",
240 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 240 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
241 "@@@STEP_LOG_LINE@json.output@}@@@", 241 "@@@STEP_LOG_LINE@json.output@}@@@",
242 "@@@STEP_LOG_END@json.output@@@" 242 "@@@STEP_LOG_END@json.output@@@"
243 ] 243 ]
244 }, 244 },
245 { 245 {
246 "cmd": [
247 "python",
248 "-u",
249 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
250 ],
251 "name": "calculate the number of recommended jobs",
252 "stdout": "/path/to/tmp/",
253 "~followup_annotations": [
254 "@@@STEP_LOG_LINE@python.inline@@@@",
255 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
256 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
257 "@@@STEP_LOG_LINE@python.inline@@@@",
258 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
259 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
260 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
261 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
262 "@@@STEP_LOG_LINE@python.inline@@@@",
263 "@@@STEP_LOG_LINE@python.inline@try:@@@",
264 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
265 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
266 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
269 "@@@STEP_LOG_END@python.inline@@@"
270 ]
271 },
272 {
273 "cmd": [], 246 "cmd": [],
274 "name": "preprocess_for_goma" 247 "name": "preprocess_for_goma"
275 }, 248 },
276 { 249 {
277 "cmd": [ 250 "cmd": [
278 "python", 251 "python",
279 "-u", 252 "-u",
280 "[CACHE]/cipd/goma/goma_ctl.py", 253 "[CACHE]/cipd/goma/goma_ctl.py",
281 "restart" 254 "restart"
282 ], 255 ],
(...skipping 22 matching lines...) Expand all
305 "env": { 278 "env": {
306 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
307 }, 280 },
308 "name": "preprocess_for_goma.start cloudtail", 281 "name": "preprocess_for_goma.start cloudtail",
309 "~followup_annotations": [ 282 "~followup_annotations": [
310 "@@@STEP_NEST_LEVEL@1@@@" 283 "@@@STEP_NEST_LEVEL@1@@@"
311 ] 284 ]
312 }, 285 },
313 { 286 {
314 "cmd": [ 287 "cmd": [
288 "python",
289 "-u",
290 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
291 ],
292 "name": "calculate the number of recommended jobs",
293 "stdout": "/path/to/tmp/",
294 "~followup_annotations": [
295 "@@@STEP_LOG_LINE@python.inline@@@@",
296 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
297 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
298 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
300 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
301 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
302 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
303 "@@@STEP_LOG_LINE@python.inline@@@@",
304 "@@@STEP_LOG_LINE@python.inline@try:@@@",
305 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
306 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
307 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
310 "@@@STEP_LOG_END@python.inline@@@"
311 ]
312 },
313 {
314 "cmd": [
315 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 315 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
316 "-j",
317 "50",
316 "-w", 318 "-w",
317 "dupbuild=err", 319 "dupbuild=err",
318 "-C", 320 "-C",
319 "[BUILDER_CACHE]/Mac_Asan/src/out/Release", 321 "[BUILDER_CACHE]/Mac_Asan/src/out/Release"
320 "-j",
321 "50"
322 ], 322 ],
323 "env": { 323 "env": {
324 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 324 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
325 }, 325 },
326 "name": "compile with ninja" 326 "name": "compile with ninja"
327 }, 327 },
328 { 328 {
329 "cmd": [], 329 "cmd": [],
330 "name": "postprocess_for_goma" 330 "name": "postprocess_for_goma"
331 }, 331 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 "-u", 381 "-u",
382 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 382 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
383 "--upload-compiler-proxy-info", 383 "--upload-compiler-proxy-info",
384 "--json-status", 384 "--json-status",
385 "[CACHE]/cipd/goma/jsonstatus", 385 "[CACHE]/cipd/goma/jsonstatus",
386 "--ninja-log-outdir", 386 "--ninja-log-outdir",
387 "[BUILDER_CACHE]/Mac_Asan/src/out/Release", 387 "[BUILDER_CACHE]/Mac_Asan/src/out/Release",
388 "--ninja-log-compiler", 388 "--ninja-log-compiler",
389 "goma-clang", 389 "goma-clang",
390 "--ninja-log-command", 390 "--ninja-log-command",
391 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/Mac_Asan/src/out/Release', '-j', 50]", 391 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/Mac_Asan/src/out/Release']",
392 "--ninja-log-exit-status", 392 "--ninja-log-exit-status",
393 "0", 393 "0",
394 "--buildbot-buildername", 394 "--buildbot-buildername",
395 "Mac Asan", 395 "Mac Asan",
396 "--buildbot-mastername", 396 "--buildbot-mastername",
397 "client.webrtc", 397 "client.webrtc",
398 "--buildbot-slavename", 398 "--buildbot-slavename",
399 "slavename" 399 "slavename"
400 ], 400 ],
401 "env": { 401 "env": {
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 ], 863 ],
864 "cwd": "[BUILDER_CACHE]/Mac_Asan", 864 "cwd": "[BUILDER_CACHE]/Mac_Asan",
865 "name": "xmllite_xmpp_unittests" 865 "name": "xmllite_xmpp_unittests"
866 }, 866 },
867 { 867 {
868 "name": "$result", 868 "name": "$result",
869 "recipe_result": null, 869 "recipe_result": null,
870 "status_code": 0 870 "status_code": 0
871 } 871 }
872 ] 872 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698