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

Side by Side Diff: scripts/slave/recipe_modules/goma/example.expected/win_upload_logs.json

Issue 2237403002: Add cloudtail start/stop in recipe_modules/goma (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: remove --log-id, sleep 3 seconds Created 4 years, 4 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 "name": "ensure_goma" 4 "name": "ensure_goma"
5 }, 5 },
6 { 6 {
7 "cmd": [ 7 "cmd": [
8 "python", 8 "python",
9 "-u", 9 "-u",
10 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py", 10 "RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file", 64 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file",
65 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", 65 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto",
66 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 66 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
67 }, 67 },
68 "name": "start_goma" 68 "name": "start_goma"
69 }, 69 },
70 { 70 {
71 "cmd": [ 71 "cmd": [
72 "python", 72 "python",
73 "-u", 73 "-u",
74 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
75 "--start-cloudtail",
76 "--cloudtail-path",
77 "C:\\infra-tools\\cloudtail",
78 "--log-id",
79 "goma_compiler_proxy"
80 ],
81 "env": {
82 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file",
83 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto",
84 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
85 },
86 "name": "start cloudtail",
87 "stdout": "/path/to/tmp/"
88 },
89 {
90 "cmd": [
91 "python",
92 "-u",
74 "[CACHE]\\cipd\\goma\\goma_ctl.py", 93 "[CACHE]\\cipd\\goma\\goma_ctl.py",
75 "stop" 94 "stop"
76 ], 95 ],
77 "env": { 96 "env": {
78 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file", 97 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file",
79 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", 98 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto",
80 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 99 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
81 }, 100 },
82 "name": "stop_goma" 101 "name": "stop_goma"
83 }, 102 },
84 { 103 {
85 "cmd": [ 104 "cmd": [
86 "python", 105 "python",
87 "-u", 106 "-u",
107 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
108 "--killed-pid",
109 "12345"
110 ],
111 "name": "stop cloudtail"
112 },
113 {
114 "cmd": [
115 "python",
116 "-u",
88 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", 117 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py",
89 "--upload-compiler-proxy-info", 118 "--upload-compiler-proxy-info",
90 "--ninja-log-outdir", 119 "--ninja-log-outdir",
91 "build_data_dir", 120 "build_data_dir",
92 "--ninja-log-compiler", 121 "--ninja-log-compiler",
93 "goma", 122 "goma",
94 "--ninja-log-command", 123 "--ninja-log-command",
95 "ninja -j 500", 124 "ninja -j 500",
96 "--ninja-log-exit-status", 125 "--ninja-log-exit-status",
97 "0", 126 "0",
98 "--goma-stats-file", 127 "--goma-stats-file",
99 "build_data_dir\\goma_stats_proto", 128 "build_data_dir\\goma_stats_proto",
100 "--goma-crash-report-id-file", 129 "--goma-crash-report-id-file",
101 "build_data_dir\\crash_report_id_file", 130 "build_data_dir\\crash_report_id_file",
102 "--build-data-dir", 131 "--build-data-dir",
103 "build_data_dir" 132 "build_data_dir"
104 ], 133 ],
105 "name": "upload_log" 134 "name": "upload_log"
106 }, 135 },
107 { 136 {
108 "name": "$result", 137 "name": "$result",
109 "recipe_result": null, 138 "recipe_result": null,
110 "status_code": 0 139 "status_code": 0
111 } 140 }
112 ] 141 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698