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_perf_bisect", | 7 "[BUILDER_CACHE]/linux_perf_bisect", |
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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 221 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
200 "runhooks" | 222 "runhooks" |
201 ], | 223 ], |
202 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", | 224 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", |
203 "env": { | 225 "env": { |
204 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
205 "GYP_CHROMIUM_NO_ACTION": "1", | 227 "GYP_CHROMIUM_NO_ACTION": "1", |
206 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", | 228 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
207 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 229 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
208 }, | 230 }, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 "@@@STEP_LOG_LINE@json.output@ {@@@", | 374 "@@@STEP_LOG_LINE@json.output@ {@@@", |
353 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | 375 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
354 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | 376 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", |
355 "@@@STEP_LOG_LINE@json.output@ }@@@", | 377 "@@@STEP_LOG_LINE@json.output@ }@@@", |
356 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 378 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
357 "@@@STEP_LOG_LINE@json.output@}@@@", | 379 "@@@STEP_LOG_LINE@json.output@}@@@", |
358 "@@@STEP_LOG_END@json.output@@@" | 380 "@@@STEP_LOG_END@json.output@@@" |
359 ] | 381 ] |
360 }, | 382 }, |
361 { | 383 { |
| 384 "cmd": [ |
| 385 "python", |
| 386 "-u", |
| 387 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 388 ], |
| 389 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", |
| 390 "name": "ensure_goma.get the number of cpus (2)", |
| 391 "stdout": "/path/to/tmp/", |
| 392 "~followup_annotations": [ |
| 393 "@@@STEP_NEST_LEVEL@1@@@", |
| 394 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 395 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 396 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 397 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 398 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 399 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 400 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 401 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 402 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 403 "@@@STEP_LOG_END@python.inline@@@" |
| 404 ] |
| 405 }, |
| 406 { |
362 "allow_subannotations": true, | 407 "allow_subannotations": true, |
363 "cmd": [ | 408 "cmd": [ |
364 "python", | 409 "python", |
365 "-u", | 410 "-u", |
366 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | 411 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", |
367 "--target", | 412 "--target", |
368 "Release", | 413 "Release", |
369 "--xvfb", | 414 "--xvfb", |
370 "--factory-properties", | 415 "--factory-properties", |
371 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"
issue\": 12853011, \"mastername\": \"tryserver.chromium.perf\", \"patch_project\
": \"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"c
hrome\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"reque
ster\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"htt
ps://codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \
"/path/to/workdir/TestSlavename\"}", | 416 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"
issue\": 12853011, \"mastername\": \"tryserver.chromium.perf\", \"patch_project\
": \"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"c
hrome\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"reque
ster\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"htt
ps://codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \
"/path/to/workdir/TestSlavename\"}", |
(...skipping 14 matching lines...) Expand all Loading... |
386 ], | 431 ], |
387 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | 432 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", |
388 "name": "Running Bisection" | 433 "name": "Running Bisection" |
389 }, | 434 }, |
390 { | 435 { |
391 "name": "$result", | 436 "name": "$result", |
392 "recipe_result": null, | 437 "recipe_result": null, |
393 "status_code": 0 | 438 "status_code": 0 |
394 } | 439 } |
395 ] | 440 ] |
OLD | NEW |