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

Side by Side Diff: scripts/slave/recipes/findit/chromium/compile.expected/find_culprit_using_bisect.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]/linux", 7 "[BUILDER_CACHE]/linux",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 184 "@@@STEP_LOG_LINE@json.output@}@@@",
185 "@@@STEP_LOG_END@json.output@@@" 185 "@@@STEP_LOG_END@json.output@@@"
186 ] 186 ]
187 }, 187 },
188 { 188 {
189 "cmd": [ 189 "cmd": [
190 "python", 190 "python",
191 "-u", 191 "-u",
192 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
193 ],
194 "name": "ensure_goma.get the number of cpus",
195 "stdout": "/path/to/tmp/",
196 "~followup_annotations": [
197 "@@@STEP_NEST_LEVEL@1@@@",
198 "@@@STEP_LOG_LINE@python.inline@@@@",
199 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
200 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
201 "@@@STEP_LOG_END@python.inline@@@"
202 ]
203 },
204 {
205 "cmd": [
206 "python",
207 "-u",
192 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 208 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
193 "--version" 209 "--version"
194 ], 210 ],
195 "name": "swarming.py --version", 211 "name": "swarming.py --version",
196 "stdout": "/path/to/tmp/", 212 "stdout": "/path/to/tmp/",
197 "~followup_annotations": [ 213 "~followup_annotations": [
198 "@@@STEP_TEXT@0.8.6@@@" 214 "@@@STEP_TEXT@0.8.6@@@"
199 ] 215 ]
200 }, 216 },
201 { 217 {
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 "@@@STEP_LOG_LINE@json.output@ }@@@", 482 "@@@STEP_LOG_LINE@json.output@ }@@@",
467 "@@@STEP_LOG_LINE@json.output@ ]@@@", 483 "@@@STEP_LOG_LINE@json.output@ ]@@@",
468 "@@@STEP_LOG_LINE@json.output@}@@@", 484 "@@@STEP_LOG_LINE@json.output@}@@@",
469 "@@@STEP_LOG_END@json.output@@@" 485 "@@@STEP_LOG_END@json.output@@@"
470 ] 486 ]
471 }, 487 },
472 { 488 {
473 "cmd": [ 489 "cmd": [
474 "python", 490 "python",
475 "-u", 491 "-u",
492 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
493 ],
494 "name": "test r6.ensure_goma.get the number of cpus",
495 "stdout": "/path/to/tmp/",
496 "~followup_annotations": [
497 "@@@STEP_NEST_LEVEL@2@@@",
498 "@@@STEP_LOG_LINE@python.inline@@@@",
499 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
500 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
501 "@@@STEP_LOG_END@python.inline@@@"
502 ]
503 },
504 {
505 "cmd": [
506 "python",
507 "-u",
476 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 508 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
477 "runhooks" 509 "runhooks"
478 ], 510 ],
479 "cwd": "[BUILDER_CACHE]/linux/src", 511 "cwd": "[BUILDER_CACHE]/linux/src",
480 "env": { 512 "env": {
481 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 513 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
482 "GYP_CHROMIUM_NO_ACTION": "1", 514 "GYP_CHROMIUM_NO_ACTION": "1",
483 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1", 515 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1",
484 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 516 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
485 }, 517 },
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 "@@@STEP_LOG_LINE@json.output@ }@@@", 885 "@@@STEP_LOG_LINE@json.output@ }@@@",
854 "@@@STEP_LOG_LINE@json.output@ ]@@@", 886 "@@@STEP_LOG_LINE@json.output@ ]@@@",
855 "@@@STEP_LOG_LINE@json.output@}@@@", 887 "@@@STEP_LOG_LINE@json.output@}@@@",
856 "@@@STEP_LOG_END@json.output@@@" 888 "@@@STEP_LOG_END@json.output@@@"
857 ] 889 ]
858 }, 890 },
859 { 891 {
860 "cmd": [ 892 "cmd": [
861 "python", 893 "python",
862 "-u", 894 "-u",
895 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
896 ],
897 "name": "test r4.ensure_goma.get the number of cpus",
898 "stdout": "/path/to/tmp/",
899 "~followup_annotations": [
900 "@@@STEP_NEST_LEVEL@2@@@",
901 "@@@STEP_LOG_LINE@python.inline@@@@",
902 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
903 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
904 "@@@STEP_LOG_END@python.inline@@@"
905 ]
906 },
907 {
908 "cmd": [
909 "python",
910 "-u",
863 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 911 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
864 "runhooks" 912 "runhooks"
865 ], 913 ],
866 "cwd": "[BUILDER_CACHE]/linux/src", 914 "cwd": "[BUILDER_CACHE]/linux/src",
867 "env": { 915 "env": {
868 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 916 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
869 "GYP_CHROMIUM_NO_ACTION": "1", 917 "GYP_CHROMIUM_NO_ACTION": "1",
870 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1", 918 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1",
871 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 919 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
872 }, 920 },
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 "@@@STEP_LOG_LINE@json.output@ }@@@", 1203 "@@@STEP_LOG_LINE@json.output@ }@@@",
1156 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1204 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1157 "@@@STEP_LOG_LINE@json.output@}@@@", 1205 "@@@STEP_LOG_LINE@json.output@}@@@",
1158 "@@@STEP_LOG_END@json.output@@@" 1206 "@@@STEP_LOG_END@json.output@@@"
1159 ] 1207 ]
1160 }, 1208 },
1161 { 1209 {
1162 "cmd": [ 1210 "cmd": [
1163 "python", 1211 "python",
1164 "-u", 1212 "-u",
1213 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
1214 ],
1215 "name": "test r5.ensure_goma.get the number of cpus",
1216 "stdout": "/path/to/tmp/",
1217 "~followup_annotations": [
1218 "@@@STEP_NEST_LEVEL@2@@@",
1219 "@@@STEP_LOG_LINE@python.inline@@@@",
1220 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1221 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
1222 "@@@STEP_LOG_END@python.inline@@@"
1223 ]
1224 },
1225 {
1226 "cmd": [
1227 "python",
1228 "-u",
1165 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1229 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1166 "runhooks" 1230 "runhooks"
1167 ], 1231 ],
1168 "cwd": "[BUILDER_CACHE]/linux/src", 1232 "cwd": "[BUILDER_CACHE]/linux/src",
1169 "env": { 1233 "env": {
1170 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1234 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1171 "GYP_CHROMIUM_NO_ACTION": "1", 1235 "GYP_CHROMIUM_NO_ACTION": "1",
1172 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1", 1236 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1",
1173 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1237 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
1174 }, 1238 },
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 "@@@STEP_LOG_END@report@@@", 1452 "@@@STEP_LOG_END@report@@@",
1389 "@@@SET_BUILD_PROPERTY@report@{\"culprit\": \"r5\", \"metadata\": {\"regre ssion_range_size\": 9, \"sub_ranges\": [[null, \"r2\", \"r3\", \"r4\", \"r5\", \ "r6\", \"r7\", \"r8\", \"r9\", \"r10\"]], \"use_bisect\": true}, \"result\": {\" r4\": \"skipped\", \"r5\": \"failed\", \"r6\": \"failed\"}}@@@" 1453 "@@@SET_BUILD_PROPERTY@report@{\"culprit\": \"r5\", \"metadata\": {\"regre ssion_range_size\": 9, \"sub_ranges\": [[null, \"r2\", \"r3\", \"r4\", \"r5\", \ "r6\", \"r7\", \"r8\", \"r9\", \"r10\"]], \"use_bisect\": true}, \"result\": {\" r4\": \"skipped\", \"r5\": \"failed\", \"r6\": \"failed\"}}@@@"
1390 ] 1454 ]
1391 }, 1455 },
1392 { 1456 {
1393 "name": "$result", 1457 "name": "$result",
1394 "recipe_result": null, 1458 "recipe_result": null,
1395 "status_code": 0 1459 "status_code": 0
1396 } 1460 }
1397 ] 1461 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698