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

Side by Side Diff: scripts/slave/recipes/findit/chromium/test.expected/findit_consecutive_culprits.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]/mac", 7 "[BUILDER_CACHE]/mac",
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\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@",
201 "@@@STEP_LOG_LINE@python.inline@try:@@@",
202 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
203 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
204 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
207 "@@@STEP_LOG_END@python.inline@@@"
208 ]
209 },
210 {
211 "cmd": [
212 "python",
213 "-u",
192 "[BUILDER_CACHE]/mac/src/tools/swarming_client/swarming.py", 214 "[BUILDER_CACHE]/mac/src/tools/swarming_client/swarming.py",
193 "--version" 215 "--version"
194 ], 216 ],
195 "name": "swarming.py --version", 217 "name": "swarming.py --version",
196 "stdout": "/path/to/tmp/", 218 "stdout": "/path/to/tmp/",
197 "~followup_annotations": [ 219 "~followup_annotations": [
198 "@@@STEP_TEXT@0.8.6@@@" 220 "@@@STEP_TEXT@0.8.6@@@"
199 ] 221 ]
200 }, 222 },
201 { 223 {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "@@@STEP_LOG_LINE@json.output@ }@@@", 486 "@@@STEP_LOG_LINE@json.output@ }@@@",
465 "@@@STEP_LOG_LINE@json.output@ ]@@@", 487 "@@@STEP_LOG_LINE@json.output@ ]@@@",
466 "@@@STEP_LOG_LINE@json.output@}@@@", 488 "@@@STEP_LOG_LINE@json.output@}@@@",
467 "@@@STEP_LOG_END@json.output@@@" 489 "@@@STEP_LOG_END@json.output@@@"
468 ] 490 ]
469 }, 491 },
470 { 492 {
471 "cmd": [ 493 "cmd": [
472 "python", 494 "python",
473 "-u", 495 "-u",
496 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
497 ],
498 "name": "test r2.ensure_goma.get the number of cpus",
499 "stdout": "/path/to/tmp/",
500 "~followup_annotations": [
501 "@@@STEP_NEST_LEVEL@2@@@",
502 "@@@STEP_LOG_LINE@python.inline@@@@",
503 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
504 "@@@STEP_LOG_LINE@python.inline@@@@",
505 "@@@STEP_LOG_LINE@python.inline@try:@@@",
506 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
507 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
508 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
509 "@@@STEP_LOG_LINE@python.inline@@@@",
510 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
511 "@@@STEP_LOG_END@python.inline@@@"
512 ]
513 },
514 {
515 "cmd": [
516 "python",
517 "-u",
474 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 518 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
475 "runhooks" 519 "runhooks"
476 ], 520 ],
477 "cwd": "[BUILDER_CACHE]/mac/src", 521 "cwd": "[BUILDER_CACHE]/mac/src",
478 "env": { 522 "env": {
479 "FORCE_MAC_TOOLCHAIN": "1", 523 "FORCE_MAC_TOOLCHAIN": "1",
480 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 524 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
481 "GYP_CHROMIUM_NO_ACTION": "1", 525 "GYP_CHROMIUM_NO_ACTION": "1",
482 "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", 526 "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",
483 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 527 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 "@@@STEP_LOG_LINE@json.output@ }@@@", 1085 "@@@STEP_LOG_LINE@json.output@ }@@@",
1042 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1086 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1043 "@@@STEP_LOG_LINE@json.output@}@@@", 1087 "@@@STEP_LOG_LINE@json.output@}@@@",
1044 "@@@STEP_LOG_END@json.output@@@" 1088 "@@@STEP_LOG_END@json.output@@@"
1045 ] 1089 ]
1046 }, 1090 },
1047 { 1091 {
1048 "cmd": [ 1092 "cmd": [
1049 "python", 1093 "python",
1050 "-u", 1094 "-u",
1095 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
1096 ],
1097 "name": "test r3.ensure_goma.get the number of cpus",
1098 "stdout": "/path/to/tmp/",
1099 "~followup_annotations": [
1100 "@@@STEP_NEST_LEVEL@2@@@",
1101 "@@@STEP_LOG_LINE@python.inline@@@@",
1102 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1103 "@@@STEP_LOG_LINE@python.inline@@@@",
1104 "@@@STEP_LOG_LINE@python.inline@try:@@@",
1105 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
1106 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
1107 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
1108 "@@@STEP_LOG_LINE@python.inline@@@@",
1109 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
1110 "@@@STEP_LOG_END@python.inline@@@"
1111 ]
1112 },
1113 {
1114 "cmd": [
1115 "python",
1116 "-u",
1051 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1117 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1052 "runhooks" 1118 "runhooks"
1053 ], 1119 ],
1054 "cwd": "[BUILDER_CACHE]/mac/src", 1120 "cwd": "[BUILDER_CACHE]/mac/src",
1055 "env": { 1121 "env": {
1056 "FORCE_MAC_TOOLCHAIN": "1", 1122 "FORCE_MAC_TOOLCHAIN": "1",
1057 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1123 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1058 "GYP_CHROMIUM_NO_ACTION": "1", 1124 "GYP_CHROMIUM_NO_ACTION": "1",
1059 "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", 1125 "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",
1060 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 "@@@STEP_LOG_LINE@json.output@ }@@@", 1684 "@@@STEP_LOG_LINE@json.output@ }@@@",
1619 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1685 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1620 "@@@STEP_LOG_LINE@json.output@}@@@", 1686 "@@@STEP_LOG_LINE@json.output@}@@@",
1621 "@@@STEP_LOG_END@json.output@@@" 1687 "@@@STEP_LOG_END@json.output@@@"
1622 ] 1688 ]
1623 }, 1689 },
1624 { 1690 {
1625 "cmd": [ 1691 "cmd": [
1626 "python", 1692 "python",
1627 "-u", 1693 "-u",
1694 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
1695 ],
1696 "name": "test r4.ensure_goma.get the number of cpus",
1697 "stdout": "/path/to/tmp/",
1698 "~followup_annotations": [
1699 "@@@STEP_NEST_LEVEL@2@@@",
1700 "@@@STEP_LOG_LINE@python.inline@@@@",
1701 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1702 "@@@STEP_LOG_LINE@python.inline@@@@",
1703 "@@@STEP_LOG_LINE@python.inline@try:@@@",
1704 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
1705 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
1706 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
1707 "@@@STEP_LOG_LINE@python.inline@@@@",
1708 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
1709 "@@@STEP_LOG_END@python.inline@@@"
1710 ]
1711 },
1712 {
1713 "cmd": [
1714 "python",
1715 "-u",
1628 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1716 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1629 "runhooks" 1717 "runhooks"
1630 ], 1718 ],
1631 "cwd": "[BUILDER_CACHE]/mac/src", 1719 "cwd": "[BUILDER_CACHE]/mac/src",
1632 "env": { 1720 "env": {
1633 "FORCE_MAC_TOOLCHAIN": "1", 1721 "FORCE_MAC_TOOLCHAIN": "1",
1634 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1722 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1635 "GYP_CHROMIUM_NO_ACTION": "1", 1723 "GYP_CHROMIUM_NO_ACTION": "1",
1636 "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", 1724 "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",
1637 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1725 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2050 "@@@STEP_LOG_END@report@@@", 2138 "@@@STEP_LOG_END@report@@@",
2051 "@@@SET_BUILD_PROPERTY@report@{\"culprits\": {\"gl_tests\": {\"Test.One\": \"r4\"}}, \"metadata\": {\"regression_range_size\": 6}, \"result\": {\"r2\": {\ "gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r3\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r4\": {\"gl_tests\": {\"failures\" : [\"Test.One\"], \"status\": \"failed\", \"valid\": true}}}}@@@" 2139 "@@@SET_BUILD_PROPERTY@report@{\"culprits\": {\"gl_tests\": {\"Test.One\": \"r4\"}}, \"metadata\": {\"regression_range_size\": 6}, \"result\": {\"r2\": {\ "gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r3\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true}}, \"r4\": {\"gl_tests\": {\"failures\" : [\"Test.One\"], \"status\": \"failed\", \"valid\": true}}}}@@@"
2052 ] 2140 ]
2053 }, 2141 },
2054 { 2142 {
2055 "name": "$result", 2143 "name": "$result",
2056 "recipe_result": null, 2144 "recipe_result": null,
2057 "status_code": 0 2145 "status_code": 0
2058 } 2146 }
2059 ] 2147 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698