| 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]/Mac10_9_Tests_Trybot", | 7 "[BUILDER_CACHE]/Mac10_9_Tests_Trybot", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 "@@@STEP_LOG_LINE@json.output@ }@@@", | 194 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 195 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 195 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 196 "@@@STEP_LOG_LINE@json.output@}@@@", | 196 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 197 "@@@STEP_LOG_END@json.output@@@" | 197 "@@@STEP_LOG_END@json.output@@@" |
| 198 ] | 198 ] |
| 199 }, | 199 }, |
| 200 { | 200 { |
| 201 "cmd": [ | 201 "cmd": [ |
| 202 "python", | 202 "python", |
| 203 "-u", | 203 "-u", |
| 204 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 205 ], |
| 206 "name": "ensure_goma.get the number of cpus", |
| 207 "stdout": "/path/to/tmp/", |
| 208 "~followup_annotations": [ |
| 209 "@@@STEP_NEST_LEVEL@1@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 214 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 215 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 216 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 217 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 218 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 219 "@@@STEP_LOG_END@python.inline@@@" |
| 220 ] |
| 221 }, |
| 222 { |
| 223 "cmd": [ |
| 224 "python", |
| 225 "-u", |
| 204 "[BUILDER_CACHE]/Mac10_9_Tests_Trybot/src/tools/swarming_client/swarming.p
y", | 226 "[BUILDER_CACHE]/Mac10_9_Tests_Trybot/src/tools/swarming_client/swarming.p
y", |
| 205 "--version" | 227 "--version" |
| 206 ], | 228 ], |
| 207 "name": "swarming.py --version", | 229 "name": "swarming.py --version", |
| 208 "stdout": "/path/to/tmp/", | 230 "stdout": "/path/to/tmp/", |
| 209 "~followup_annotations": [ | 231 "~followup_annotations": [ |
| 210 "@@@STEP_TEXT@0.8.6@@@" | 232 "@@@STEP_TEXT@0.8.6@@@" |
| 211 ] | 233 ] |
| 212 }, | 234 }, |
| 213 { | 235 { |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 517 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 496 }, | 518 }, |
| 497 "name": "Upload to test-results [browser_tests on Mac-10.9]" | 519 "name": "Upload to test-results [browser_tests on Mac-10.9]" |
| 498 }, | 520 }, |
| 499 { | 521 { |
| 500 "name": "$result", | 522 "name": "$result", |
| 501 "recipe_result": null, | 523 "recipe_result": null, |
| 502 "status_code": 0 | 524 "status_code": 0 |
| 503 } | 525 } |
| 504 ] | 526 ] |
| OLD | NEW |