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

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

Powered by Google App Engine
This is Rietveld 408576698