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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_mac_baremetal.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update 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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 }, 233 },
234 "name": "clang_revision", 234 "name": "clang_revision",
235 "~followup_annotations": [ 235 "~followup_annotations": [
236 "@@@STEP_LOG_LINE@json.output@{@@@", 236 "@@@STEP_LOG_LINE@json.output@{@@@",
237 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 237 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
238 "@@@STEP_LOG_LINE@json.output@}@@@", 238 "@@@STEP_LOG_LINE@json.output@}@@@",
239 "@@@STEP_LOG_END@json.output@@@" 239 "@@@STEP_LOG_END@json.output@@@"
240 ] 240 ]
241 }, 241 },
242 { 242 {
243 "cmd": [
244 "python",
245 "-u",
246 "\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"
247 ],
248 "name": "calculate the number of recommended jobs",
249 "stdout": "/path/to/tmp/",
250 "~followup_annotations": [
251 "@@@STEP_LOG_LINE@python.inline@@@@",
252 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
253 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
254 "@@@STEP_LOG_LINE@python.inline@@@@",
255 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
256 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
257 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
258 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
259 "@@@STEP_LOG_LINE@python.inline@@@@",
260 "@@@STEP_LOG_LINE@python.inline@try:@@@",
261 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
262 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
263 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
264 "@@@STEP_LOG_LINE@python.inline@@@@",
265 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
266 "@@@STEP_LOG_END@python.inline@@@"
267 ]
268 },
269 {
270 "cmd": [], 243 "cmd": [],
271 "name": "preprocess_for_goma" 244 "name": "preprocess_for_goma"
272 }, 245 },
273 { 246 {
274 "cmd": [ 247 "cmd": [
275 "python", 248 "python",
276 "-u", 249 "-u",
277 "[CACHE]/cipd/goma/goma_ctl.py", 250 "[CACHE]/cipd/goma/goma_ctl.py",
278 "restart" 251 "restart"
279 ], 252 ],
(...skipping 22 matching lines...) Expand all
302 "env": { 275 "env": {
303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
304 }, 277 },
305 "name": "preprocess_for_goma.start cloudtail", 278 "name": "preprocess_for_goma.start cloudtail",
306 "~followup_annotations": [ 279 "~followup_annotations": [
307 "@@@STEP_NEST_LEVEL@1@@@" 280 "@@@STEP_NEST_LEVEL@1@@@"
308 ] 281 ]
309 }, 282 },
310 { 283 {
311 "cmd": [ 284 "cmd": [
285 "python",
286 "-u",
287 "\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"
288 ],
289 "name": "calculate the number of recommended jobs",
290 "stdout": "/path/to/tmp/",
291 "~followup_annotations": [
292 "@@@STEP_LOG_LINE@python.inline@@@@",
293 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
294 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
295 "@@@STEP_LOG_LINE@python.inline@@@@",
296 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
297 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
298 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
299 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
300 "@@@STEP_LOG_LINE@python.inline@@@@",
301 "@@@STEP_LOG_LINE@python.inline@try:@@@",
302 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
303 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
304 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
305 "@@@STEP_LOG_LINE@python.inline@@@@",
306 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
307 "@@@STEP_LOG_END@python.inline@@@"
308 ]
309 },
310 {
311 "cmd": [
312 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 312 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
313 "-w", 313 "-w",
314 "dupbuild=err", 314 "dupbuild=err",
315 "-C", 315 "-C",
316 "[BUILDER_CACHE]/mac_baremetal/src/out/Release", 316 "[BUILDER_CACHE]/mac_baremetal/src/out/Release",
317 "-j", 317 "-j",
318 "50" 318 "50"
319 ], 319 ],
320 "env": { 320 "env": {
321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 ], 498 ],
499 "cwd": "[BUILDER_CACHE]/mac_baremetal", 499 "cwd": "[BUILDER_CACHE]/mac_baremetal",
500 "name": "video_capture_tests" 500 "name": "video_capture_tests"
501 }, 501 },
502 { 502 {
503 "name": "$result", 503 "name": "$result",
504 "recipe_result": null, 504 "recipe_result": null,
505 "status_code": 0 505 "status_code": 0
506 } 506 }
507 ] 507 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698