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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/tryserver_libyuv_linux.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint Created 4 years, 1 month 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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
7 "--show-path", 7 "--show-path",
8 "python", 8 "python",
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
10 ], 10 ],
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py", 147 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py",
148 "--root=[SLAVE_BUILD]/src", 148 "--root=[SLAVE_BUILD]/src",
149 "gen", 149 "gen",
150 "//out/Debug", 150 "//out/Debug",
151 "--args=symbol_level=2 dcheck_always_on=true is_debug=true target_cpu=\"x6 4\" use_goma=true goma_dir=\"[CACHE]/cipd/goma\"" 151 "--args=symbol_level=2 dcheck_always_on=true is_debug=true target_cpu=\"x6 4\" use_goma=true goma_dir=\"[CACHE]/cipd/goma\""
152 ], 152 ],
153 "cwd": "[SLAVE_BUILD]/src", 153 "cwd": "[SLAVE_BUILD]/src",
154 "name": "gn" 154 "name": "gn"
155 }, 155 },
156 { 156 {
157 "cmd": [
158 "python",
159 "-u",
160 "\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"
161 ],
162 "name": "calculate the number of recommended jobs",
163 "stdout": "/path/to/tmp/",
164 "~followup_annotations": [
165 "@@@STEP_LOG_LINE@python.inline@@@@",
166 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
167 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
168 "@@@STEP_LOG_LINE@python.inline@@@@",
169 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
170 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
171 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
172 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
173 "@@@STEP_LOG_LINE@python.inline@@@@",
174 "@@@STEP_LOG_LINE@python.inline@try:@@@",
175 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
176 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
177 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
178 "@@@STEP_LOG_LINE@python.inline@@@@",
179 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
180 "@@@STEP_LOG_END@python.inline@@@"
181 ]
182 },
183 {
184 "cmd": [], 157 "cmd": [],
185 "name": "preprocess_for_goma" 158 "name": "preprocess_for_goma"
186 }, 159 },
187 { 160 {
188 "cmd": [ 161 "cmd": [
189 "python", 162 "python",
190 "-u", 163 "-u",
191 "[CACHE]/cipd/goma/goma_ctl.py", 164 "[CACHE]/cipd/goma/goma_ctl.py",
192 "restart" 165 "restart"
193 ], 166 ],
(...skipping 22 matching lines...) Expand all
216 "env": { 189 "env": {
217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
218 }, 191 },
219 "name": "preprocess_for_goma.start cloudtail", 192 "name": "preprocess_for_goma.start cloudtail",
220 "~followup_annotations": [ 193 "~followup_annotations": [
221 "@@@STEP_NEST_LEVEL@1@@@" 194 "@@@STEP_NEST_LEVEL@1@@@"
222 ] 195 ]
223 }, 196 },
224 { 197 {
225 "cmd": [ 198 "cmd": [
199 "python",
200 "-u",
201 "\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"
202 ],
203 "name": "calculate the number of recommended jobs",
204 "stdout": "/path/to/tmp/",
205 "~followup_annotations": [
206 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
208 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
209 "@@@STEP_LOG_LINE@python.inline@@@@",
210 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
211 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
212 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
213 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
214 "@@@STEP_LOG_LINE@python.inline@@@@",
215 "@@@STEP_LOG_LINE@python.inline@try:@@@",
216 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
217 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
218 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
219 "@@@STEP_LOG_LINE@python.inline@@@@",
220 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
221 "@@@STEP_LOG_END@python.inline@@@"
222 ]
223 },
224 {
225 "cmd": [
226 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 226 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
227 "-j",
228 "50",
227 "-w", 229 "-w",
228 "dupbuild=err", 230 "dupbuild=err",
229 "-C", 231 "-C",
230 "[SLAVE_BUILD]/src/out/Debug", 232 "[SLAVE_BUILD]/src/out/Debug"
231 "-j",
232 "50"
233 ], 233 ],
234 "env": { 234 "env": {
235 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 235 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
236 }, 236 },
237 "name": "compile with ninja" 237 "name": "compile with ninja"
238 }, 238 },
239 { 239 {
240 "cmd": [], 240 "cmd": [],
241 "name": "postprocess_for_goma" 241 "name": "postprocess_for_goma"
242 }, 242 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 "-u", 292 "-u",
293 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 293 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
294 "--upload-compiler-proxy-info", 294 "--upload-compiler-proxy-info",
295 "--json-status", 295 "--json-status",
296 "[CACHE]/cipd/goma/jsonstatus", 296 "[CACHE]/cipd/goma/jsonstatus",
297 "--ninja-log-outdir", 297 "--ninja-log-outdir",
298 "[SLAVE_BUILD]/src/out/Debug", 298 "[SLAVE_BUILD]/src/out/Debug",
299 "--ninja-log-compiler", 299 "--ninja-log-compiler",
300 "goma", 300 "goma",
301 "--ninja-log-command", 301 "--ninja-log-command",
302 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Debug', '-j', 50]", 302 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Debug']",
303 "--ninja-log-exit-status", 303 "--ninja-log-exit-status",
304 "0", 304 "0",
305 "--buildbot-buildername", 305 "--buildbot-buildername",
306 "linux", 306 "linux",
307 "--buildbot-mastername", 307 "--buildbot-mastername",
308 "tryserver.libyuv", 308 "tryserver.libyuv",
309 "--buildbot-slavename", 309 "--buildbot-slavename",
310 "slavename" 310 "slavename"
311 ], 311 ],
312 "env": { 312 "env": {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 "libyuv_unittest" 350 "libyuv_unittest"
351 ], 351 ],
352 "name": "libyuv_unittest" 352 "name": "libyuv_unittest"
353 }, 353 },
354 { 354 {
355 "name": "$result", 355 "name": "$result",
356 "recipe_result": null, 356 "recipe_result": null,
357 "status_code": 0 357 "status_code": 0
358 } 358 }
359 ] 359 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698