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

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

Issue 2375843005: Stop redirect stdout/stderr and remove close_fds=True (Closed)
Patch Set: add comment Created 4 years, 2 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 }, 80 },
81 "name": "start_goma" 81 "name": "start_goma"
82 }, 82 },
83 { 83 {
84 "cmd": [ 84 "cmd": [
85 "python", 85 "python",
86 "-u", 86 "-u",
87 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py", 87 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
88 "start", 88 "start",
89 "--cloudtail-path", 89 "--cloudtail-path",
90 "[CACHE]\\cipd\\goma\\cloudtail" 90 "[CACHE]\\cipd\\goma\\cloudtail",
91 "--pid-file",
92 "[TMP_BASE]\\cloudtail.pid"
91 ], 93 ],
92 "env": { 94 "env": {
93 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file", 95 "GOMACTL_CRASH_REPORT_ID_FILE": "build_data_dir\\crash_report_id_file",
94 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto", 96 "GOMA_DUMP_STATS_FILE": "build_data_dir\\goma_stats_proto",
95 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 97 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
96 }, 98 },
97 "name": "start cloudtail", 99 "name": "start cloudtail"
98 "stdout": "/path/to/tmp/"
99 }, 100 },
100 { 101 {
101 "cmd": [ 102 "cmd": [
102 "python", 103 "python",
103 "-u", 104 "-u",
104 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n" 105 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
105 ], 106 ],
106 "name": "calculate the number of recommended jobs", 107 "name": "calculate the number of recommended jobs",
107 "stdout": "/path/to/tmp/", 108 "stdout": "/path/to/tmp/",
108 "~followup_annotations": [ 109 "~followup_annotations": [
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 219 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
219 }, 220 },
220 "name": "upload_log" 221 "name": "upload_log"
221 }, 222 },
222 { 223 {
223 "cmd": [ 224 "cmd": [
224 "python", 225 "python",
225 "-u", 226 "-u",
226 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py", 227 "RECIPE_MODULE[build::goma]\\resources\\cloudtail_utils.py",
227 "stop", 228 "stop",
228 "--killed-pid", 229 "--killed-pid-file",
229 "12345" 230 "[TMP_BASE]\\cloudtail.pid"
230 ], 231 ],
231 "name": "stop cloudtail" 232 "name": "stop cloudtail"
232 }, 233 },
233 { 234 {
234 "name": "$result", 235 "name": "$result",
235 "recipe_result": null, 236 "recipe_result": null,
236 "status_code": 0 237 "status_code": 0
237 } 238 }
238 ] 239 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698