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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_clang_dbg.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]/android_clang_dbg", 7 "[BUILDER_CACHE]/android_clang_dbg",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 }, 225 },
226 "name": "clang_revision", 226 "name": "clang_revision",
227 "~followup_annotations": [ 227 "~followup_annotations": [
228 "@@@STEP_LOG_LINE@json.output@{@@@", 228 "@@@STEP_LOG_LINE@json.output@{@@@",
229 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 229 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
230 "@@@STEP_LOG_LINE@json.output@}@@@", 230 "@@@STEP_LOG_LINE@json.output@}@@@",
231 "@@@STEP_LOG_END@json.output@@@" 231 "@@@STEP_LOG_END@json.output@@@"
232 ] 232 ]
233 }, 233 },
234 { 234 {
235 "cmd": [
236 "python",
237 "-u",
238 "\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"
239 ],
240 "name": "calculate the number of recommended jobs",
241 "stdout": "/path/to/tmp/",
242 "~followup_annotations": [
243 "@@@STEP_LOG_LINE@python.inline@@@@",
244 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
245 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
246 "@@@STEP_LOG_LINE@python.inline@@@@",
247 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
248 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
249 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
250 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
251 "@@@STEP_LOG_LINE@python.inline@@@@",
252 "@@@STEP_LOG_LINE@python.inline@try:@@@",
253 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
254 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
255 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
256 "@@@STEP_LOG_LINE@python.inline@@@@",
257 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
258 "@@@STEP_LOG_END@python.inline@@@"
259 ]
260 },
261 {
262 "cmd": [], 235 "cmd": [],
263 "name": "preprocess_for_goma" 236 "name": "preprocess_for_goma"
264 }, 237 },
265 { 238 {
266 "cmd": [ 239 "cmd": [
267 "python", 240 "python",
268 "-u", 241 "-u",
269 "[CACHE]/cipd/goma/goma_ctl.py", 242 "[CACHE]/cipd/goma/goma_ctl.py",
270 "restart" 243 "restart"
271 ], 244 ],
(...skipping 23 matching lines...) Expand all
295 "env": { 268 "env": {
296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 269 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
297 }, 270 },
298 "name": "preprocess_for_goma.start cloudtail", 271 "name": "preprocess_for_goma.start cloudtail",
299 "~followup_annotations": [ 272 "~followup_annotations": [
300 "@@@STEP_NEST_LEVEL@1@@@" 273 "@@@STEP_NEST_LEVEL@1@@@"
301 ] 274 ]
302 }, 275 },
303 { 276 {
304 "cmd": [ 277 "cmd": [
278 "python",
279 "-u",
280 "\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"
281 ],
282 "name": "calculate the number of recommended jobs",
283 "stdout": "/path/to/tmp/",
284 "~followup_annotations": [
285 "@@@STEP_LOG_LINE@python.inline@@@@",
286 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
287 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
290 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
291 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
292 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
293 "@@@STEP_LOG_LINE@python.inline@@@@",
294 "@@@STEP_LOG_LINE@python.inline@try:@@@",
295 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
296 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
297 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
298 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
300 "@@@STEP_LOG_END@python.inline@@@"
301 ]
302 },
303 {
304 "cmd": [
305 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 305 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
306 "-w", 306 "-w",
307 "dupbuild=err", 307 "dupbuild=err",
308 "-C", 308 "-C",
309 "[BUILDER_CACHE]/android_clang_dbg/src/out/Debug", 309 "[BUILDER_CACHE]/android_clang_dbg/src/out/Debug",
310 "-j", 310 "-j",
311 "50" 311 "50"
312 ], 312 ],
313 "env": { 313 "env": {
314 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 314 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 "~followup_annotations": [ 410 "~followup_annotations": [
411 "@@@STEP_NEST_LEVEL@1@@@" 411 "@@@STEP_NEST_LEVEL@1@@@"
412 ] 412 ]
413 }, 413 },
414 { 414 {
415 "name": "$result", 415 "name": "$result",
416 "recipe_result": null, 416 "recipe_result": null,
417 "status_code": 0 417 "status_code": 0
418 } 418 }
419 ] 419 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698