| OLD | NEW |
| 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", | 7 "[BUILDER_CACHE]/linux", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 "@@@STEP_LOG_LINE@json.output@ }@@@", | 189 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 190 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 190 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 191 "@@@STEP_LOG_LINE@json.output@}@@@", | 191 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 192 "@@@STEP_LOG_END@json.output@@@" | 192 "@@@STEP_LOG_END@json.output@@@" |
| 193 ] | 193 ] |
| 194 }, | 194 }, |
| 195 { | 195 { |
| 196 "cmd": [ | 196 "cmd": [ |
| 197 "python", | 197 "python", |
| 198 "-u", | 198 "-u", |
| 199 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 200 ], |
| 201 "name": "ensure_goma.get the number of cpus", |
| 202 "stdout": "/path/to/tmp/", |
| 203 "~followup_annotations": [ |
| 204 "@@@STEP_NEST_LEVEL@1@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 214 "@@@STEP_LOG_END@python.inline@@@" |
| 215 ] |
| 216 }, |
| 217 { |
| 218 "cmd": [ |
| 219 "python", |
| 220 "-u", |
| 199 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", | 221 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", |
| 200 "--version" | 222 "--version" |
| 201 ], | 223 ], |
| 202 "name": "swarming.py --version", | 224 "name": "swarming.py --version", |
| 203 "stdout": "/path/to/tmp/", | 225 "stdout": "/path/to/tmp/", |
| 204 "~followup_annotations": [ | 226 "~followup_annotations": [ |
| 205 "@@@STEP_TEXT@0.8.6@@@" | 227 "@@@STEP_TEXT@0.8.6@@@" |
| 206 ] | 228 ] |
| 207 }, | 229 }, |
| 208 { | 230 { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 "@@@SET_BUILD_PROPERTY@failure_hash@\"3908b365fae78e6b96f5e3b38db5b33131cd
e606\"@@@" | 382 "@@@SET_BUILD_PROPERTY@failure_hash@\"3908b365fae78e6b96f5e3b38db5b33131cd
e606\"@@@" |
| 361 ] | 383 ] |
| 362 }, | 384 }, |
| 363 { | 385 { |
| 364 "name": "$result", | 386 "name": "$result", |
| 365 "reason": "Error, following targets were not found: invalid target, another
one", | 387 "reason": "Error, following targets were not found: invalid target, another
one", |
| 366 "recipe_result": null, | 388 "recipe_result": null, |
| 367 "status_code": 1 | 389 "status_code": 1 |
| 368 } | 390 } |
| 369 ] | 391 ] |
| OLD | NEW |