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

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: 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 "@@@STEP_LOG_LINE@json.output@ }@@@", 478 "@@@STEP_LOG_LINE@json.output@ }@@@",
463 "@@@STEP_LOG_LINE@json.output@ ]@@@", 479 "@@@STEP_LOG_LINE@json.output@ ]@@@",
464 "@@@STEP_LOG_LINE@json.output@}@@@", 480 "@@@STEP_LOG_LINE@json.output@}@@@",
465 "@@@STEP_LOG_END@json.output@@@" 481 "@@@STEP_LOG_END@json.output@@@"
466 ] 482 ]
467 }, 483 },
468 { 484 {
469 "cmd": [ 485 "cmd": [
470 "python", 486 "python",
471 "-u", 487 "-u",
488 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
489 ],
490 "name": "test r2.ensure_goma.get the number of cpus",
491 "stdout": "/path/to/tmp/",
492 "~followup_annotations": [
493 "@@@STEP_NEST_LEVEL@2@@@",
494 "@@@STEP_LOG_LINE@python.inline@@@@",
495 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
496 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
497 "@@@STEP_LOG_END@python.inline@@@"
498 ]
499 },
500 {
501 "cmd": [
502 "python",
503 "-u",
472 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 504 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
473 "runhooks" 505 "runhooks"
474 ], 506 ],
475 "cwd": "[BUILDER_CACHE]/mac/src", 507 "cwd": "[BUILDER_CACHE]/mac/src",
476 "env": { 508 "env": {
477 "FORCE_MAC_TOOLCHAIN": "1", 509 "FORCE_MAC_TOOLCHAIN": "1",
478 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 510 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
479 "GYP_CHROMIUM_NO_ACTION": "1", 511 "GYP_CHROMIUM_NO_ACTION": "1",
480 "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", 512 "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",
481 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 513 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 "@@@STEP_LOG_LINE@json.output@ }@@@", 1070 "@@@STEP_LOG_LINE@json.output@ }@@@",
1039 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1071 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1040 "@@@STEP_LOG_LINE@json.output@}@@@", 1072 "@@@STEP_LOG_LINE@json.output@}@@@",
1041 "@@@STEP_LOG_END@json.output@@@" 1073 "@@@STEP_LOG_END@json.output@@@"
1042 ] 1074 ]
1043 }, 1075 },
1044 { 1076 {
1045 "cmd": [ 1077 "cmd": [
1046 "python", 1078 "python",
1047 "-u", 1079 "-u",
1080 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
1081 ],
1082 "name": "test r3.ensure_goma.get the number of cpus",
1083 "stdout": "/path/to/tmp/",
1084 "~followup_annotations": [
1085 "@@@STEP_NEST_LEVEL@2@@@",
1086 "@@@STEP_LOG_LINE@python.inline@@@@",
1087 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1088 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
1089 "@@@STEP_LOG_END@python.inline@@@"
1090 ]
1091 },
1092 {
1093 "cmd": [
1094 "python",
1095 "-u",
1048 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1096 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1049 "runhooks" 1097 "runhooks"
1050 ], 1098 ],
1051 "cwd": "[BUILDER_CACHE]/mac/src", 1099 "cwd": "[BUILDER_CACHE]/mac/src",
1052 "env": { 1100 "env": {
1053 "FORCE_MAC_TOOLCHAIN": "1", 1101 "FORCE_MAC_TOOLCHAIN": "1",
1054 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1102 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1055 "GYP_CHROMIUM_NO_ACTION": "1", 1103 "GYP_CHROMIUM_NO_ACTION": "1",
1056 "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", 1104 "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",
1057 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1105 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 "@@@STEP_LOG_LINE@json.output@ }@@@", 1662 "@@@STEP_LOG_LINE@json.output@ }@@@",
1615 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1663 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1616 "@@@STEP_LOG_LINE@json.output@}@@@", 1664 "@@@STEP_LOG_LINE@json.output@}@@@",
1617 "@@@STEP_LOG_END@json.output@@@" 1665 "@@@STEP_LOG_END@json.output@@@"
1618 ] 1666 ]
1619 }, 1667 },
1620 { 1668 {
1621 "cmd": [ 1669 "cmd": [
1622 "python", 1670 "python",
1623 "-u", 1671 "-u",
1672 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
1673 ],
1674 "name": "test r4.ensure_goma.get the number of cpus",
1675 "stdout": "/path/to/tmp/",
1676 "~followup_annotations": [
1677 "@@@STEP_NEST_LEVEL@2@@@",
1678 "@@@STEP_LOG_LINE@python.inline@@@@",
1679 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1680 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
1681 "@@@STEP_LOG_END@python.inline@@@"
1682 ]
1683 },
1684 {
1685 "cmd": [
1686 "python",
1687 "-u",
1624 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 1688 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
1625 "runhooks" 1689 "runhooks"
1626 ], 1690 ],
1627 "cwd": "[BUILDER_CACHE]/mac/src", 1691 "cwd": "[BUILDER_CACHE]/mac/src",
1628 "env": { 1692 "env": {
1629 "FORCE_MAC_TOOLCHAIN": "1", 1693 "FORCE_MAC_TOOLCHAIN": "1",
1630 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1694 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1631 "GYP_CHROMIUM_NO_ACTION": "1", 1695 "GYP_CHROMIUM_NO_ACTION": "1",
1632 "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", 1696 "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",
1633 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 1697 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 "@@@STEP_LOG_END@report@@@", 2110 "@@@STEP_LOG_END@report@@@",
2047 "@@@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}}}}@@@" 2111 "@@@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}}}}@@@"
2048 ] 2112 ]
2049 }, 2113 },
2050 { 2114 {
2051 "name": "$result", 2115 "name": "$result",
2052 "recipe_result": null, 2116 "recipe_result": null,
2053 "status_code": 0 2117 "status_code": 0
2054 } 2118 }
2055 ] 2119 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698