| 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 returned non-zero exit code: 1", | 227 "step returned non-zero exit code: 1", |
| 206 "@@@STEP_TEXT@0.8.6@@@", | 228 "@@@STEP_TEXT@0.8.6@@@", |
| 207 "@@@STEP_FAILURE@@@" | 229 "@@@STEP_FAILURE@@@" |
| 208 ] | 230 ] |
| 209 }, | 231 }, |
| 210 { | 232 { |
| 211 "cmd": [ | 233 "cmd": [ |
| 212 "python", | 234 "python", |
| 213 "-u", | 235 "-u", |
| 214 "import sys; sys.exit(0)" | 236 "import sys; sys.exit(0)" |
| 215 ], | 237 ], |
| 216 "name": "mark: before_tests", | 238 "name": "mark: before_tests", |
| 217 "~followup_annotations": [ | 239 "~followup_annotations": [ |
| 218 "@@@SET_BUILD_PROPERTY@failure_hash@\"d263d3961e134a9db54b635705e234a976cb
9ca6\"@@@" | 240 "@@@SET_BUILD_PROPERTY@failure_hash@\"d263d3961e134a9db54b635705e234a976cb
9ca6\"@@@" |
| 219 ] | 241 ] |
| 220 }, | 242 }, |
| 221 { | 243 { |
| 222 "name": "$result", | 244 "name": "$result", |
| 223 "reason": "Step('swarming.py --version') failed with return_code 1", | 245 "reason": "Step('swarming.py --version') failed with return_code 1", |
| 224 "recipe_result": null, | 246 "recipe_result": null, |
| 225 "status_code": 1 | 247 "status_code": 1 |
| 226 } | 248 } |
| 227 ] | 249 ] |
| OLD | NEW |