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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/basic.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 "git", 4 "git",
5 "update-ref", 5 "update-ref",
6 "refs/heads/master", 6 "refs/heads/master",
7 "refs/remotes/origin/master" 7 "refs/remotes/origin/master"
8 ], 8 ],
9 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 9 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
10 "name": "git update-ref" 10 "name": "git update-ref"
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 "@@@STEP_LOG_LINE@json.output@ }@@@", 894 "@@@STEP_LOG_LINE@json.output@ }@@@",
895 "@@@STEP_LOG_LINE@json.output@ ]@@@", 895 "@@@STEP_LOG_LINE@json.output@ ]@@@",
896 "@@@STEP_LOG_LINE@json.output@}@@@", 896 "@@@STEP_LOG_LINE@json.output@}@@@",
897 "@@@STEP_LOG_END@json.output@@@" 897 "@@@STEP_LOG_END@json.output@@@"
898 ] 898 ]
899 }, 899 },
900 { 900 {
901 "cmd": [ 901 "cmd": [
902 "python", 902 "python",
903 "-u", 903 "-u",
904 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
905 ],
906 "name": "ensure_goma.get the number of cpus",
907 "stdout": "/path/to/tmp/",
908 "~followup_annotations": [
909 "@@@STEP_NEST_LEVEL@1@@@",
910 "@@@STEP_LOG_LINE@python.inline@@@@",
911 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
912 "@@@STEP_LOG_LINE@python.inline@@@@",
913 "@@@STEP_LOG_LINE@python.inline@try:@@@",
914 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
915 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
916 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
917 "@@@STEP_LOG_LINE@python.inline@@@@",
918 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
919 "@@@STEP_LOG_END@python.inline@@@"
920 ]
921 },
922 {
923 "cmd": [
924 "python",
925 "-u",
904 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 926 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
905 "runhooks" 927 "runhooks"
906 ], 928 ],
907 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 929 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
908 "env": { 930 "env": {
909 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 931 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
910 "GYP_CHROMIUM_NO_ACTION": "1", 932 "GYP_CHROMIUM_NO_ACTION": "1",
911 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", 933 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1",
912 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 934 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
913 }, 935 },
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 "@@@STEP_LOG_LINE@json.output@ {@@@", 1033 "@@@STEP_LOG_LINE@json.output@ {@@@",
1012 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 1034 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
1013 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@", 1035 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
1014 "@@@STEP_LOG_LINE@json.output@ }@@@", 1036 "@@@STEP_LOG_LINE@json.output@ }@@@",
1015 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1037 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1016 "@@@STEP_LOG_LINE@json.output@}@@@", 1038 "@@@STEP_LOG_LINE@json.output@}@@@",
1017 "@@@STEP_LOG_END@json.output@@@" 1039 "@@@STEP_LOG_END@json.output@@@"
1018 ] 1040 ]
1019 }, 1041 },
1020 { 1042 {
1043 "cmd": [
1044 "python",
1045 "-u",
1046 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
1047 ],
1048 "name": "ensure_goma.get the number of cpus (2)",
1049 "stdout": "/path/to/tmp/",
1050 "~followup_annotations": [
1051 "@@@STEP_NEST_LEVEL@1@@@",
1052 "@@@STEP_LOG_LINE@python.inline@@@@",
1053 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1054 "@@@STEP_LOG_LINE@python.inline@@@@",
1055 "@@@STEP_LOG_LINE@python.inline@try:@@@",
1056 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
1057 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
1058 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
1059 "@@@STEP_LOG_LINE@python.inline@@@@",
1060 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
1061 "@@@STEP_LOG_END@python.inline@@@"
1062 ]
1063 },
1064 {
1021 "allow_subannotations": true, 1065 "allow_subannotations": true,
1022 "cmd": [ 1066 "cmd": [
1023 "python", 1067 "python",
1024 "-u", 1068 "-u",
1025 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", 1069 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
1026 "--target", 1070 "--target",
1027 "Release", 1071 "Release",
1028 "--xvfb", 1072 "--xvfb",
1029 "--factory-properties", 1073 "--factory-properties",
1030 "{\"bisect_config\": {\"bad_revision\": \"314017\", \"bug_id\": \"-1\", \" builder_host\": \"master4.golo.chromium.org\", \"builder_port\": \"8341\", \"byp ass_stats_check\": \"True\", \"command\": \"src/tools/perf/run_benchmark -v --br owser=release smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\", \" dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \"314 015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\": \ "linux_perf_tester\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"True\", \ "test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"buildnumber\" : 123456, \"mastername\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect :example\", \"slavename\": \"dummyslave\"}", 1074 "{\"bisect_config\": {\"bad_revision\": \"314017\", \"bug_id\": \"-1\", \" builder_host\": \"master4.golo.chromium.org\", \"builder_port\": \"8341\", \"byp ass_stats_check\": \"True\", \"command\": \"src/tools/perf/run_benchmark -v --br owser=release smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\", \" dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \"314 015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\": \ "linux_perf_tester\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"True\", \ "test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"buildnumber\" : 123456, \"mastername\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect :example\", \"slavename\": \"dummyslave\"}",
(...skipping 17 matching lines...) Expand all
1048 "{\"bisect_config\": {\"bad_revision\": \"314017\", \"bug_id\": \"-1\", \" builder_host\": \"master4.golo.chromium.org\", \"builder_port\": \"8341\", \"byp ass_stats_check\": \"True\", \"command\": \"src/tools/perf/run_benchmark -v --br owser=release smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\", \" dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \"314 015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\": \ "linux_perf_tester\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"True\", \ "test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"buildnumber\" : 123456, \"mastername\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect :example\", \"slavename\": \"dummyslave\"}" 1092 "{\"bisect_config\": {\"bad_revision\": \"314017\", \"bug_id\": \"-1\", \" builder_host\": \"master4.golo.chromium.org\", \"builder_port\": \"8341\", \"byp ass_stats_check\": \"True\", \"command\": \"src/tools/perf/run_benchmark -v --br owser=release smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\", \" dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \"314 015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\": \ "linux_perf_tester\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"True\", \ "test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"buildnumber\" : 123456, \"mastername\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect :example\", \"slavename\": \"dummyslave\"}"
1049 ], 1093 ],
1050 "name": "Running Bisection" 1094 "name": "Running Bisection"
1051 }, 1095 },
1052 { 1096 {
1053 "name": "$result", 1097 "name": "$result",
1054 "recipe_result": null, 1098 "recipe_result": null,
1055 "status_code": 0 1099 "status_code": 0
1056 } 1100 }
1057 ] 1101 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698