Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: scripts/slave/recipes/findit/chromium/test.expected/swarming_tests.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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]/mac", 7 "[BUILDER_CACHE]/mac",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "@@@STEP_LOG_LINE@json.output@ }@@@", 181 "@@@STEP_LOG_LINE@json.output@ }@@@",
182 "@@@STEP_LOG_LINE@json.output@ ]@@@", 182 "@@@STEP_LOG_LINE@json.output@ ]@@@",
183 "@@@STEP_LOG_LINE@json.output@}@@@", 183 "@@@STEP_LOG_LINE@json.output@}@@@",
184 "@@@STEP_LOG_END@json.output@@@" 184 "@@@STEP_LOG_END@json.output@@@"
185 ] 185 ]
186 }, 186 },
187 { 187 {
188 "cmd": [ 188 "cmd": [
189 "python", 189 "python",
190 "-u", 190 "-u",
191 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
192 ],
193 "name": "ensure_goma.get the number of cpus",
194 "stdout": "/path/to/tmp/",
195 "~followup_annotations": [
196 "@@@STEP_NEST_LEVEL@1@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
199 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
200 "@@@STEP_LOG_END@python.inline@@@"
201 ]
202 },
203 {
204 "cmd": [
205 "python",
206 "-u",
191 "[BUILDER_CACHE]/mac/src/tools/swarming_client/swarming.py", 207 "[BUILDER_CACHE]/mac/src/tools/swarming_client/swarming.py",
192 "--version" 208 "--version"
193 ], 209 ],
194 "name": "swarming.py --version", 210 "name": "swarming.py --version",
195 "stdout": "/path/to/tmp/", 211 "stdout": "/path/to/tmp/",
196 "~followup_annotations": [ 212 "~followup_annotations": [
197 "@@@STEP_TEXT@0.8.6@@@" 213 "@@@STEP_TEXT@0.8.6@@@"
198 ] 214 ]
199 }, 215 },
200 { 216 {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 "@@@STEP_LOG_LINE@json.output@ }@@@", 473 "@@@STEP_LOG_LINE@json.output@ }@@@",
458 "@@@STEP_LOG_LINE@json.output@ ]@@@", 474 "@@@STEP_LOG_LINE@json.output@ ]@@@",
459 "@@@STEP_LOG_LINE@json.output@}@@@", 475 "@@@STEP_LOG_LINE@json.output@}@@@",
460 "@@@STEP_LOG_END@json.output@@@" 476 "@@@STEP_LOG_END@json.output@@@"
461 ] 477 ]
462 }, 478 },
463 { 479 {
464 "cmd": [ 480 "cmd": [
465 "python", 481 "python",
466 "-u", 482 "-u",
483 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
484 ],
485 "name": "test r1.ensure_goma.get the number of cpus",
486 "stdout": "/path/to/tmp/",
487 "~followup_annotations": [
488 "@@@STEP_NEST_LEVEL@2@@@",
489 "@@@STEP_LOG_LINE@python.inline@@@@",
490 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
491 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
492 "@@@STEP_LOG_END@python.inline@@@"
493 ]
494 },
495 {
496 "cmd": [
497 "python",
498 "-u",
467 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 499 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
468 "runhooks" 500 "runhooks"
469 ], 501 ],
470 "cwd": "[BUILDER_CACHE]/mac/src", 502 "cwd": "[BUILDER_CACHE]/mac/src",
471 "env": { 503 "env": {
472 "FORCE_MAC_TOOLCHAIN": "1", 504 "FORCE_MAC_TOOLCHAIN": "1",
473 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 505 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
474 "GYP_CHROMIUM_NO_ACTION": "1", 506 "GYP_CHROMIUM_NO_ACTION": "1",
475 "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpe g_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x 64 test_isolation_mode=prepare use_goma=1", 507 "GYP_DEFINES": "archive_gpu_tests=1 clang=1 component=static_library ffmpe g_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x 64 test_isolation_mode=prepare use_goma=1",
476 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 508 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 "@@@STEP_LOG_END@report@@@", 898 "@@@STEP_LOG_END@report@@@",
867 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 }, \"result\": {\"r1\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true} }}}@@@" 899 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 }, \"result\": {\"r1\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true} }}}@@@"
868 ] 900 ]
869 }, 901 },
870 { 902 {
871 "name": "$result", 903 "name": "$result",
872 "recipe_result": null, 904 "recipe_result": null,
873 "status_code": 0 905 "status_code": 0
874 } 906 }
875 ] 907 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698