| 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\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@", |
| 246 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 247 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 248 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 249 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 250 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 251 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 252 "@@@STEP_LOG_END@python.inline@@@" |
| 253 ] |
| 254 }, |
| 255 { |
| 256 "cmd": [ |
| 257 "python", |
| 258 "-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", | 259 "\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" | 260 "[SLAVE_BUILD]/src/out/Release" |
| 239 ], | 261 ], |
| 240 "name": "rmtree clobber", | 262 "name": "rmtree clobber", |
| 241 "~followup_annotations": [ | 263 "~followup_annotations": [ |
| 242 "@@@STEP_LOG_LINE@python.inline@@@@", | 264 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 243 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 265 "@@@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.@@@", | 266 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 245 "@@@STEP_LOG_LINE@python.inline@@@@", | 267 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 246 "@@@STEP_LOG_LINE@python.inline@@@@", | 268 "@@@STEP_LOG_LINE@python.inline@@@@", |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 ], | 524 ], |
| 503 "cwd": "[SLAVE_BUILD]", | 525 "cwd": "[SLAVE_BUILD]", |
| 504 "name": "compare_build_artifacts" | 526 "name": "compare_build_artifacts" |
| 505 }, | 527 }, |
| 506 { | 528 { |
| 507 "name": "$result", | 529 "name": "$result", |
| 508 "recipe_result": null, | 530 "recipe_result": null, |
| 509 "status_code": 0 | 531 "status_code": 0 |
| 510 } | 532 } |
| 511 ] | 533 ] |
| OLD | NEW |