| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
| 7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
| 8 ], | 8 ], |
| 9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 "@@@STEP_LOG_LINE@json.output@ }@@@", | 227 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 228 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 228 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 229 "@@@STEP_LOG_LINE@json.output@}@@@", | 229 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 230 "@@@STEP_LOG_END@json.output@@@" | 230 "@@@STEP_LOG_END@json.output@@@" |
| 231 ] | 231 ] |
| 232 }, | 232 }, |
| 233 { | 233 { |
| 234 "cmd": [ | 234 "cmd": [ |
| 235 "python", | 235 "python", |
| 236 "-u", | 236 "-u", |
| 237 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10
)\n" |
| 238 ], |
| 239 "name": "ensure_goma.get the number of cpus", |
| 240 "stdout": "/path/to/tmp/", |
| 241 "~followup_annotations": [ |
| 242 "@@@STEP_NEST_LEVEL@1@@@", |
| 243 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 244 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 245 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count()
* 10)@@@", |
| 246 "@@@STEP_LOG_END@python.inline@@@" |
| 247 ] |
| 248 }, |
| 249 { |
| 250 "cmd": [ |
| 251 "python", |
| 252 "-u", |
| 237 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 253 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 238 "[SLAVE_BUILD]/src/out/Release" | 254 "[SLAVE_BUILD]/src/out/Release" |
| 239 ], | 255 ], |
| 240 "name": "rmtree clobber", | 256 "name": "rmtree clobber", |
| 241 "~followup_annotations": [ | 257 "~followup_annotations": [ |
| 242 "@@@STEP_LOG_LINE@python.inline@@@@", | 258 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 243 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 259 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 244 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 260 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 245 "@@@STEP_LOG_LINE@python.inline@@@@", | 261 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 246 "@@@STEP_LOG_LINE@python.inline@@@@", | 262 "@@@STEP_LOG_LINE@python.inline@@@@", |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 ], | 518 ], |
| 503 "cwd": "[SLAVE_BUILD]", | 519 "cwd": "[SLAVE_BUILD]", |
| 504 "name": "compare_build_artifacts" | 520 "name": "compare_build_artifacts" |
| 505 }, | 521 }, |
| 506 { | 522 { |
| 507 "name": "$result", | 523 "name": "$result", |
| 508 "recipe_result": null, | 524 "recipe_result": null, |
| 509 "status_code": 0 | 525 "status_code": 0 |
| 510 } | 526 } |
| 511 ] | 527 ] |
| OLD | NEW |