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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.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 "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 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 897 "@@@STEP_LOG_LINE@json.output@}@@@",
898 "@@@STEP_LOG_END@json.output@@@" 898 "@@@STEP_LOG_END@json.output@@@"
899 ] 899 ]
900 }, 900 },
901 { 901 {
902 "cmd": [ 902 "cmd": [
903 "python", 903 "python",
904 "-u", 904 "-u",
905 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
906 ],
907 "name": "ensure_goma.get the number of cpus",
908 "stdout": "/path/to/tmp/",
909 "~followup_annotations": [
910 "@@@STEP_NEST_LEVEL@1@@@",
911 "@@@STEP_LOG_LINE@python.inline@@@@",
912 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
913 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
914 "@@@STEP_LOG_END@python.inline@@@"
915 ]
916 },
917 {
918 "cmd": [
919 "python",
920 "-u",
905 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 921 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
906 "runhooks" 922 "runhooks"
907 ], 923 ],
908 "cwd": "[TMP_BASE]/fake_checkout_tmp_1", 924 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
909 "env": { 925 "env": {
910 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 926 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
911 "GYP_CHROMIUM_NO_ACTION": "1", 927 "GYP_CHROMIUM_NO_ACTION": "1",
912 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", 928 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1",
913 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 929 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
914 }, 930 },
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 "@@@STEP_LOG_LINE@json.output@ {@@@", 992 "@@@STEP_LOG_LINE@json.output@ {@@@",
977 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 993 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
978 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@", 994 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
979 "@@@STEP_LOG_LINE@json.output@ }@@@", 995 "@@@STEP_LOG_LINE@json.output@ }@@@",
980 "@@@STEP_LOG_LINE@json.output@ ]@@@", 996 "@@@STEP_LOG_LINE@json.output@ ]@@@",
981 "@@@STEP_LOG_LINE@json.output@}@@@", 997 "@@@STEP_LOG_LINE@json.output@}@@@",
982 "@@@STEP_LOG_END@json.output@@@" 998 "@@@STEP_LOG_END@json.output@@@"
983 ] 999 ]
984 }, 1000 },
985 { 1001 {
1002 "cmd": [
1003 "python",
1004 "-u",
1005 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
1006 ],
1007 "name": "ensure_goma.get the number of cpus (2)",
1008 "stdout": "/path/to/tmp/",
1009 "~followup_annotations": [
1010 "@@@STEP_NEST_LEVEL@1@@@",
1011 "@@@STEP_LOG_LINE@python.inline@@@@",
1012 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
1013 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
1014 "@@@STEP_LOG_END@python.inline@@@"
1015 ]
1016 },
1017 {
986 "allow_subannotations": true, 1018 "allow_subannotations": true,
987 "cmd": [ 1019 "cmd": [
988 "python", 1020 "python",
989 "-u", 1021 "-u",
990 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", 1022 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py",
991 "--target", 1023 "--target",
992 "Release", 1024 "Release",
993 "--xvfb", 1025 "--xvfb",
994 "--factory-properties", 1026 "--factory-properties",
995 "{\"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_x64 smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\" , \"dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \ "314015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric \": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\ ": \"chromium_rel_win7_x64\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"T rue\", \"test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"maste rname\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect:example\", \"sla vename\": \"dummyslave\"}", 1027 "{\"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_x64 smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\" , \"dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \ "314015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric \": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\ ": \"chromium_rel_win7_x64\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"T rue\", \"test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"maste rname\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect:example\", \"sla vename\": \"dummyslave\"}",
(...skipping 16 matching lines...) Expand all
1012 "{\"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_x64 smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\" , \"dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \ "314015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric \": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\ ": \"chromium_rel_win7_x64\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"T rue\", \"test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"maste rname\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect:example\", \"sla vename\": \"dummyslave\"}" 1044 "{\"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_x64 smoothness.tough_scrolling_cases\", \"dummy_builds\": \"True\" , \"dummy_job_names\": \"True\", \"dummy_tests\": \"True\", \"good_revision\": \ "314015\", \"gs_bucket\": \"chrome-perf\", \"max_time_minutes\": \"5\", \"metric \": \"mean_input_event_latency/mean_input_event_latency\", \"recipe_tester_name\ ": \"chromium_rel_win7_x64\", \"repeat_count\": \"2\", \"skip_gclient_ops\": \"T rue\", \"test_type\": \"perf\"}, \"buildername\": \"linux_perf_bisect\", \"maste rname\": \"tryserver.chromium.perf\", \"recipe\": \"auto_bisect:example\", \"sla vename\": \"dummyslave\"}"
1013 ], 1045 ],
1014 "name": "Running Bisection" 1046 "name": "Running Bisection"
1015 }, 1047 },
1016 { 1048 {
1017 "name": "$result", 1049 "name": "$result",
1018 "recipe_result": null, 1050 "recipe_result": null,
1019 "status_code": 0 1051 "status_code": 0
1020 } 1052 }
1021 ] 1053 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698