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

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: use 80 for linux 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 185 "@@@STEP_LOG_LINE@json.output@}@@@",
186 "@@@STEP_LOG_END@json.output@@@" 186 "@@@STEP_LOG_END@json.output@@@"
187 ] 187 ]
188 }, 188 },
189 { 189 {
190 "cmd": [ 190 "cmd": [
191 "python", 191 "python",
192 "-u", 192 "-u",
193 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
194 ],
195 "name": "ensure_goma.get the number of cpus",
196 "stdout": "/path/to/tmp/",
197 "~followup_annotations": [
198 "@@@STEP_NEST_LEVEL@1@@@",
199 "@@@STEP_LOG_LINE@python.inline@@@@",
200 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
201 "@@@STEP_LOG_LINE@python.inline@@@@",
202 "@@@STEP_LOG_LINE@python.inline@try:@@@",
203 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
204 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
205 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
206 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
208 "@@@STEP_LOG_END@python.inline@@@"
209 ]
210 },
211 {
212 "cmd": [
213 "python",
214 "-u",
193 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 215 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
194 "--version" 216 "--version"
195 ], 217 ],
196 "name": "swarming.py --version", 218 "name": "swarming.py --version",
197 "stdout": "/path/to/tmp/", 219 "stdout": "/path/to/tmp/",
198 "~followup_annotations": [ 220 "~followup_annotations": [
199 "@@@STEP_TEXT@0.8.6@@@" 221 "@@@STEP_TEXT@0.8.6@@@"
200 ] 222 ]
201 }, 223 },
202 { 224 {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 "@@@STEP_LOG_LINE@json.output@ }@@@", 490 "@@@STEP_LOG_LINE@json.output@ }@@@",
469 "@@@STEP_LOG_LINE@json.output@ ]@@@", 491 "@@@STEP_LOG_LINE@json.output@ ]@@@",
470 "@@@STEP_LOG_LINE@json.output@}@@@", 492 "@@@STEP_LOG_LINE@json.output@}@@@",
471 "@@@STEP_LOG_END@json.output@@@" 493 "@@@STEP_LOG_END@json.output@@@"
472 ] 494 ]
473 }, 495 },
474 { 496 {
475 "cmd": [ 497 "cmd": [
476 "python", 498 "python",
477 "-u", 499 "-u",
500 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
501 ],
502 "name": "test r6.ensure_goma.get the number of cpus",
503 "stdout": "/path/to/tmp/",
504 "~followup_annotations": [
505 "@@@STEP_NEST_LEVEL@2@@@",
506 "@@@STEP_LOG_LINE@python.inline@@@@",
507 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
508 "@@@STEP_LOG_LINE@python.inline@@@@",
509 "@@@STEP_LOG_LINE@python.inline@try:@@@",
510 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
511 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
512 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
513 "@@@STEP_LOG_LINE@python.inline@@@@",
514 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
515 "@@@STEP_LOG_END@python.inline@@@"
516 ]
517 },
518 {
519 "cmd": [
520 "python",
521 "-u",
478 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 522 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
479 "runhooks" 523 "runhooks"
480 ], 524 ],
481 "cwd": "[BUILDER_CACHE]/linux/src", 525 "cwd": "[BUILDER_CACHE]/linux/src",
482 "env": { 526 "env": {
483 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 527 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
484 "GYP_CHROMIUM_NO_ACTION": "1", 528 "GYP_CHROMIUM_NO_ACTION": "1",
485 "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", 529 "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",
486 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 530 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
487 }, 531 },
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 "@@@STEP_LOG_LINE@json.output@ }@@@", 900 "@@@STEP_LOG_LINE@json.output@ }@@@",
857 "@@@STEP_LOG_LINE@json.output@ ]@@@", 901 "@@@STEP_LOG_LINE@json.output@ ]@@@",
858 "@@@STEP_LOG_LINE@json.output@}@@@", 902 "@@@STEP_LOG_LINE@json.output@}@@@",
859 "@@@STEP_LOG_END@json.output@@@" 903 "@@@STEP_LOG_END@json.output@@@"
860 ] 904 ]
861 }, 905 },
862 { 906 {
863 "cmd": [ 907 "cmd": [
864 "python", 908 "python",
865 "-u", 909 "-u",
910 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
911 ],
912 "name": "test r4.ensure_goma.get the number of cpus",
913 "stdout": "/path/to/tmp/",
914 "~followup_annotations": [
915 "@@@STEP_NEST_LEVEL@2@@@",
916 "@@@STEP_LOG_LINE@python.inline@@@@",
917 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
918 "@@@STEP_LOG_LINE@python.inline@@@@",
919 "@@@STEP_LOG_LINE@python.inline@try:@@@",
920 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
921 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
922 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
923 "@@@STEP_LOG_LINE@python.inline@@@@",
924 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
925 "@@@STEP_LOG_END@python.inline@@@"
926 ]
927 },
928 {
929 "cmd": [
930 "python",
931 "-u",
866 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 932 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
867 "runhooks" 933 "runhooks"
868 ], 934 ],
869 "cwd": "[BUILDER_CACHE]/linux/src", 935 "cwd": "[BUILDER_CACHE]/linux/src",
870 "env": { 936 "env": {
871 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 937 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
872 "GYP_CHROMIUM_NO_ACTION": "1", 938 "GYP_CHROMIUM_NO_ACTION": "1",
873 "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", 939 "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",
874 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 940 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
875 }, 941 },
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 "@@@STEP_LOG_LINE@json.output@ }@@@", 1225 "@@@STEP_LOG_LINE@json.output@ }@@@",
1160 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1226 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1161 "@@@STEP_LOG_LINE@json.output@}@@@", 1227 "@@@STEP_LOG_LINE@json.output@}@@@",
1162 "@@@STEP_LOG_END@json.output@@@" 1228 "@@@STEP_LOG_END@json.output@@@"
1163 ] 1229 ]
1164 }, 1230 },
1165 { 1231 {
1166 "cmd": [ 1232 "cmd": [
1167 "python", 1233 "python",
1168 "-u", 1234 "-u",
1235 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
1236 ],
1237 "name": "test r5.ensure_goma.get the number of cpus",
1238 "stdout": "/path/to/tmp/",
1239 "~followup_annotations": [
1240 "@@@STEP_NEST_LEVEL@2@@@",
1241 "@@@STEP_LOG_LINE@python.inline@@@@",
1242 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1243 "@@@STEP_LOG_LINE@python.inline@@@@",
1244 "@@@STEP_LOG_LINE@python.inline@try:@@@",
1245 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
1246 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
1247 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
1248 "@@@STEP_LOG_LINE@python.inline@@@@",
1249 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
1250 "@@@STEP_LOG_END@python.inline@@@"
1251 ]
1252 },
1253 {
1254 "cmd": [
1255 "python",
1256 "-u",
1169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1257 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1170 "runhooks" 1258 "runhooks"
1171 ], 1259 ],
1172 "cwd": "[BUILDER_CACHE]/linux/src", 1260 "cwd": "[BUILDER_CACHE]/linux/src",
1173 "env": { 1261 "env": {
1174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1262 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1175 "GYP_CHROMIUM_NO_ACTION": "1", 1263 "GYP_CHROMIUM_NO_ACTION": "1",
1176 "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", 1264 "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",
1177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1265 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
1178 }, 1266 },
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 "@@@STEP_LOG_END@report@@@", 1480 "@@@STEP_LOG_END@report@@@",
1393 "@@@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\"}}@@@" 1481 "@@@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\"}}@@@"
1394 ] 1482 ]
1395 }, 1483 },
1396 { 1484 {
1397 "name": "$result", 1485 "name": "$result",
1398 "recipe_result": null, 1486 "recipe_result": null,
1399 "status_code": 0 1487 "status_code": 0
1400 } 1488 }
1401 ] 1489 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698