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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/windows_bisector.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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 "@@@STEP_LOG_LINE@json.output@ }@@@", 896 "@@@STEP_LOG_LINE@json.output@ }@@@",
897 "@@@STEP_LOG_LINE@json.output@ ]@@@", 897 "@@@STEP_LOG_LINE@json.output@ ]@@@",
898 "@@@STEP_LOG_LINE@json.output@}@@@", 898 "@@@STEP_LOG_LINE@json.output@}@@@",
899 "@@@STEP_LOG_END@json.output@@@" 899 "@@@STEP_LOG_END@json.output@@@"
900 ] 900 ]
901 }, 901 },
902 { 902 {
903 "cmd": [ 903 "cmd": [
904 "python", 904 "python",
905 "-u", 905 "-u",
906 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
907 ],
908 "name": "ensure_goma.get the number of cpus",
909 "stdout": "/path/to/tmp/",
910 "~followup_annotations": [
911 "@@@STEP_NEST_LEVEL@1@@@",
912 "@@@STEP_LOG_LINE@python.inline@@@@",
913 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
914 "@@@STEP_LOG_LINE@python.inline@@@@",
915 "@@@STEP_LOG_LINE@python.inline@try:@@@",
916 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
917 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
918 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
919 "@@@STEP_LOG_LINE@python.inline@@@@",
920 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
921 "@@@STEP_LOG_END@python.inline@@@"
922 ]
923 },
924 {
925 "cmd": [
926 "python",
927 "-u",
906 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 928 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
907 "runhooks" 929 "runhooks"
908 ], 930 ],
909 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 931 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
910 "env": { 932 "env": {
911 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 933 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
912 "GYP_CHROMIUM_NO_ACTION": "1", 934 "GYP_CHROMIUM_NO_ACTION": "1",
913 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", 935 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1",
914 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 936 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
915 }, 937 },
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 "@@@STEP_LOG_LINE@json.output@ {@@@", 1035 "@@@STEP_LOG_LINE@json.output@ {@@@",
1014 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 1036 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
1015 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@", 1037 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
1016 "@@@STEP_LOG_LINE@json.output@ }@@@", 1038 "@@@STEP_LOG_LINE@json.output@ }@@@",
1017 "@@@STEP_LOG_LINE@json.output@ ]@@@", 1039 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1018 "@@@STEP_LOG_LINE@json.output@}@@@", 1040 "@@@STEP_LOG_LINE@json.output@}@@@",
1019 "@@@STEP_LOG_END@json.output@@@" 1041 "@@@STEP_LOG_END@json.output@@@"
1020 ] 1042 ]
1021 }, 1043 },
1022 { 1044 {
1045 "cmd": [
1046 "python",
1047 "-u",
1048 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
1049 ],
1050 "name": "ensure_goma.get the number of cpus (2)",
1051 "stdout": "/path/to/tmp/",
1052 "~followup_annotations": [
1053 "@@@STEP_NEST_LEVEL@1@@@",
1054 "@@@STEP_LOG_LINE@python.inline@@@@",
1055 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1056 "@@@STEP_LOG_LINE@python.inline@@@@",
1057 "@@@STEP_LOG_LINE@python.inline@try:@@@",
1058 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
1059 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
1060 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
1061 "@@@STEP_LOG_LINE@python.inline@@@@",
1062 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
1063 "@@@STEP_LOG_END@python.inline@@@"
1064 ]
1065 },
1066 {
1023 "allow_subannotations": true, 1067 "allow_subannotations": true,
1024 "cmd": [ 1068 "cmd": [
1025 "python", 1069 "python",
1026 "-u", 1070 "-u",
1027 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", 1071 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
1028 "--target", 1072 "--target",
1029 "Release", 1073 "Release",
1030 "--xvfb", 1074 "--xvfb",
1031 "--factory-properties", 1075 "--factory-properties",
1032 "{\"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\": \ "chromium_rel_win7\", \"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\"}", 1076 "{\"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\": \ "chromium_rel_win7\", \"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
1050 "{\"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\": \ "chromium_rel_win7\", \"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\"}" 1094 "{\"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\": \ "chromium_rel_win7\", \"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\"}"
1051 ], 1095 ],
1052 "name": "Running Bisection" 1096 "name": "Running Bisection"
1053 }, 1097 },
1054 { 1098 {
1055 "name": "$result", 1099 "name": "$result",
1056 "recipe_result": null, 1100 "recipe_result": null,
1057 "status_code": 0 1101 "status_code": 0
1058 } 1102 }
1059 ] 1103 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698