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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux_tsan_v2.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Linux_Tsan_v2", 7 "[BUILDER_CACHE]/Linux_Tsan_v2",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 }, 260 },
261 "name": "clang_revision", 261 "name": "clang_revision",
262 "~followup_annotations": [ 262 "~followup_annotations": [
263 "@@@STEP_LOG_LINE@json.output@{@@@", 263 "@@@STEP_LOG_LINE@json.output@{@@@",
264 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 264 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
265 "@@@STEP_LOG_LINE@json.output@}@@@", 265 "@@@STEP_LOG_LINE@json.output@}@@@",
266 "@@@STEP_LOG_END@json.output@@@" 266 "@@@STEP_LOG_END@json.output@@@"
267 ] 267 ]
268 }, 268 },
269 { 269 {
270 "cmd": [
271 "python",
272 "-u",
273 "\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"
274 ],
275 "name": "calculate the number of recommended jobs",
276 "stdout": "/path/to/tmp/",
277 "~followup_annotations": [
278 "@@@STEP_LOG_LINE@python.inline@@@@",
279 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
280 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
281 "@@@STEP_LOG_LINE@python.inline@@@@",
282 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
283 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
284 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
285 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
286 "@@@STEP_LOG_LINE@python.inline@@@@",
287 "@@@STEP_LOG_LINE@python.inline@try:@@@",
288 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
289 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
290 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
291 "@@@STEP_LOG_LINE@python.inline@@@@",
292 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
293 "@@@STEP_LOG_END@python.inline@@@"
294 ]
295 },
296 {
297 "cmd": [], 270 "cmd": [],
298 "name": "preprocess_for_goma" 271 "name": "preprocess_for_goma"
299 }, 272 },
300 { 273 {
301 "cmd": [ 274 "cmd": [
302 "python", 275 "python",
303 "-u", 276 "-u",
304 "[CACHE]/cipd/goma/goma_ctl.py", 277 "[CACHE]/cipd/goma/goma_ctl.py",
305 "restart" 278 "restart"
306 ], 279 ],
(...skipping 22 matching lines...) Expand all
329 "env": { 302 "env": {
330 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
331 }, 304 },
332 "name": "preprocess_for_goma.start cloudtail", 305 "name": "preprocess_for_goma.start cloudtail",
333 "~followup_annotations": [ 306 "~followup_annotations": [
334 "@@@STEP_NEST_LEVEL@1@@@" 307 "@@@STEP_NEST_LEVEL@1@@@"
335 ] 308 ]
336 }, 309 },
337 { 310 {
338 "cmd": [ 311 "cmd": [
312 "python",
313 "-u",
314 "\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"
315 ],
316 "name": "calculate the number of recommended jobs",
317 "stdout": "/path/to/tmp/",
318 "~followup_annotations": [
319 "@@@STEP_LOG_LINE@python.inline@@@@",
320 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
321 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
322 "@@@STEP_LOG_LINE@python.inline@@@@",
323 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
324 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
325 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
326 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
327 "@@@STEP_LOG_LINE@python.inline@@@@",
328 "@@@STEP_LOG_LINE@python.inline@try:@@@",
329 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
330 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
331 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
332 "@@@STEP_LOG_LINE@python.inline@@@@",
333 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
334 "@@@STEP_LOG_END@python.inline@@@"
335 ]
336 },
337 {
338 "cmd": [
339 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 339 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
340 "-j",
341 "50",
340 "-w", 342 "-w",
341 "dupbuild=err", 343 "dupbuild=err",
342 "-C", 344 "-C",
343 "[BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release", 345 "[BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release"
344 "-j",
345 "50"
346 ], 346 ],
347 "env": { 347 "env": {
348 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 348 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
349 }, 349 },
350 "name": "compile with ninja" 350 "name": "compile with ninja"
351 }, 351 },
352 { 352 {
353 "cmd": [], 353 "cmd": [],
354 "name": "postprocess_for_goma" 354 "name": "postprocess_for_goma"
355 }, 355 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 "-u", 405 "-u",
406 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 406 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
407 "--upload-compiler-proxy-info", 407 "--upload-compiler-proxy-info",
408 "--json-status", 408 "--json-status",
409 "[CACHE]/cipd/goma/jsonstatus", 409 "[CACHE]/cipd/goma/jsonstatus",
410 "--ninja-log-outdir", 410 "--ninja-log-outdir",
411 "[BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release", 411 "[BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release",
412 "--ninja-log-compiler", 412 "--ninja-log-compiler",
413 "goma-clang", 413 "goma-clang",
414 "--ninja-log-command", 414 "--ninja-log-command",
415 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release', '-j', 50]", 415 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/Linux_Tsan_v2/src/out/Release']",
416 "--ninja-log-exit-status", 416 "--ninja-log-exit-status",
417 "0", 417 "0",
418 "--buildbot-buildername", 418 "--buildbot-buildername",
419 "Linux Tsan v2", 419 "Linux Tsan v2",
420 "--buildbot-mastername", 420 "--buildbot-mastername",
421 "client.webrtc", 421 "client.webrtc",
422 "--buildbot-slavename", 422 "--buildbot-slavename",
423 "slavename" 423 "slavename"
424 ], 424 ],
425 "env": { 425 "env": {
(...skipping 2797 matching lines...) Expand 10 before | Expand all | Expand 10 after
3223 "@@@STEP_LOG_END@json.output@@@", 3223 "@@@STEP_LOG_END@json.output@@@",
3224 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 3224 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
3225 ] 3225 ]
3226 }, 3226 },
3227 { 3227 {
3228 "name": "$result", 3228 "name": "$result",
3229 "recipe_result": null, 3229 "recipe_result": null,
3230 "status_code": 0 3230 "status_code": 0
3231 } 3231 }
3232 ] 3232 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698