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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_linux_asan.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Linux_Asan", 7 "[BUILDER_CACHE]/Linux_Asan",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 }, 251 },
252 "name": "clang_revision", 252 "name": "clang_revision",
253 "~followup_annotations": [ 253 "~followup_annotations": [
254 "@@@STEP_LOG_LINE@json.output@{@@@", 254 "@@@STEP_LOG_LINE@json.output@{@@@",
255 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 255 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
256 "@@@STEP_LOG_LINE@json.output@}@@@", 256 "@@@STEP_LOG_LINE@json.output@}@@@",
257 "@@@STEP_LOG_END@json.output@@@" 257 "@@@STEP_LOG_END@json.output@@@"
258 ] 258 ]
259 }, 259 },
260 { 260 {
261 "cmd": [
262 "python",
263 "-u",
264 "\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"
265 ],
266 "name": "calculate the number of recommended jobs",
267 "stdout": "/path/to/tmp/",
268 "~followup_annotations": [
269 "@@@STEP_LOG_LINE@python.inline@@@@",
270 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
271 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
272 "@@@STEP_LOG_LINE@python.inline@@@@",
273 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
274 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
275 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
276 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
277 "@@@STEP_LOG_LINE@python.inline@@@@",
278 "@@@STEP_LOG_LINE@python.inline@try:@@@",
279 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
280 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
281 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
282 "@@@STEP_LOG_LINE@python.inline@@@@",
283 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
284 "@@@STEP_LOG_END@python.inline@@@"
285 ]
286 },
287 {
288 "cmd": [], 261 "cmd": [],
289 "name": "preprocess_for_goma" 262 "name": "preprocess_for_goma"
290 }, 263 },
291 { 264 {
292 "cmd": [ 265 "cmd": [
293 "python", 266 "python",
294 "-u", 267 "-u",
295 "[CACHE]/cipd/goma/goma_ctl.py", 268 "[CACHE]/cipd/goma/goma_ctl.py",
296 "restart" 269 "restart"
297 ], 270 ],
(...skipping 22 matching lines...) Expand all
320 "env": { 293 "env": {
321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 294 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
322 }, 295 },
323 "name": "preprocess_for_goma.start cloudtail", 296 "name": "preprocess_for_goma.start cloudtail",
324 "~followup_annotations": [ 297 "~followup_annotations": [
325 "@@@STEP_NEST_LEVEL@1@@@" 298 "@@@STEP_NEST_LEVEL@1@@@"
326 ] 299 ]
327 }, 300 },
328 { 301 {
329 "cmd": [ 302 "cmd": [
303 "python",
304 "-u",
305 "\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"
306 ],
307 "name": "calculate the number of recommended jobs",
308 "stdout": "/path/to/tmp/",
309 "~followup_annotations": [
310 "@@@STEP_LOG_LINE@python.inline@@@@",
311 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
312 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
313 "@@@STEP_LOG_LINE@python.inline@@@@",
314 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
315 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
316 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
317 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
318 "@@@STEP_LOG_LINE@python.inline@@@@",
319 "@@@STEP_LOG_LINE@python.inline@try:@@@",
320 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
321 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
322 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
323 "@@@STEP_LOG_LINE@python.inline@@@@",
324 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
325 "@@@STEP_LOG_END@python.inline@@@"
326 ]
327 },
328 {
329 "cmd": [
330 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 330 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
331 "-w", 331 "-w",
332 "dupbuild=err", 332 "dupbuild=err",
333 "-C", 333 "-C",
334 "[BUILDER_CACHE]/Linux_Asan/src/out/Release", 334 "[BUILDER_CACHE]/Linux_Asan/src/out/Release",
335 "-j", 335 "-j",
336 "50" 336 "50"
337 ], 337 ],
338 "env": { 338 "env": {
339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 2875 matching lines...) Expand 10 before | Expand all | Expand 10 after
3215 "@@@STEP_LOG_END@json.output@@@", 3215 "@@@STEP_LOG_END@json.output@@@",
3216 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 3216 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
3217 ] 3217 ]
3218 }, 3218 },
3219 { 3219 {
3220 "name": "$result", 3220 "name": "$result",
3221 "recipe_result": null, 3221 "recipe_result": null,
3222 "status_code": 0 3222 "status_code": 0
3223 } 3223 }
3224 ] 3224 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698