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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-Swarming.json

Issue 1829423002: Skia: Run recipes as swarming tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@swarm_fix
Patch Set: Created 4 years, 8 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 "git", 4 "git",
5 "remote", 5 "remote",
6 "set-url", 6 "set-url",
7 "origin", 7 "origin",
8 "https://skia.googlesource.com/skia.git" 8 "https://skia.googlesource.com/skia.git"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]/skia", 10 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 314 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
315 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 315 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
316 "@@@STEP_LOG_END@python.inline@@@" 316 "@@@STEP_LOG_END@python.inline@@@"
317 ] 317 ]
318 }, 318 },
319 { 319 {
320 "cmd": [ 320 "cmd": [
321 "python", 321 "python",
322 "-u", 322 "-u",
323 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 323 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
324 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi g-variable\", \n \"OS\", \n \"linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"-- blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"BU ILDER_NAME\", \n \"Build-Ubuntu-GCC-x86_64-Debug-Swarming\"\n ], \n \"dir\": \"[SLAVE_BUILD]/skia/infra/bots\", \n \"version\": 1\n}", 324 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi g-variable\", \n \"OS\", \n \"linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"-- blacklist\", \n \"*.pyc\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
325 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 325 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
326 ], 326 ],
327 "cwd": "[SLAVE_BUILD]", 327 "cwd": "[SLAVE_BUILD]",
328 "name": "Write compile_skia.isolated.gen.json" 328 "name": "Write compile_skia.isolated.gen.json"
329 }, 329 },
330 { 330 {
331 "cmd": [ 331 "cmd": [
332 "python", 332 "python",
333 "-u", 333 "-u",
334 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 334 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
(...skipping 13 matching lines...) Expand all
348 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 348 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
349 "@@@STEP_LOG_LINE@json.output@}@@@", 349 "@@@STEP_LOG_LINE@json.output@}@@@",
350 "@@@STEP_LOG_END@json.output@@@", 350 "@@@STEP_LOG_END@json.output@@@",
351 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 351 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
352 ] 352 ]
353 }, 353 },
354 { 354 {
355 "cmd": [ 355 "cmd": [
356 "python", 356 "python",
357 "-u", 357 "-u",
358 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(s ys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n",
359 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated",
360 "8ba778e47df2a9b46355cf72c58b58fdb1a7f350"
361 ],
362 "cwd": "[SLAVE_BUILD]",
363 "name": "add_isolated_input",
364 "~followup_annotations": [
365 "@@@STEP_LOG_LINE@python.inline@@@@",
366 "@@@STEP_LOG_LINE@python.inline@import json@@@",
367 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
368 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
369 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
370 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
371 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
372 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
373 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
374 "@@@STEP_LOG_END@python.inline@@@"
375 ]
376 },
377 {
378 "cmd": [
379 "python",
380 "-u",
381 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
382 "archive",
383 "--isolate-server",
384 "https://isolateserver.appspot.com",
385 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated"
386 ],
387 "cwd": "[SLAVE_BUILD]",
388 "name": "upload new .isolated file for compile_skia",
389 "stdout": "/path/to/tmp/"
390 },
391 {
392 "cmd": [
393 "python",
394 "-u",
358 "[SLAVE_BUILD]/swarming.client/swarming.py", 395 "[SLAVE_BUILD]/swarming.client/swarming.py",
359 "trigger", 396 "trigger",
360 "--swarming", 397 "--swarming",
361 "https://chromium-swarm.appspot.com", 398 "https://chromium-swarm.appspot.com",
362 "--isolate-server", 399 "--isolate-server",
363 "https://isolateserver.appspot.com", 400 "https://isolateserver.appspot.com",
364 "--priority", 401 "--priority",
365 "90", 402 "90",
366 "--shards", 403 "--shards",
367 "1", 404 "1",
368 "--task-name", 405 "--task-name",
369 "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5", 406 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5",
370 "--dump-json", 407 "--dump-json",
371 "/path/to/tmp/json", 408 "/path/to/tmp/json",
372 "--expiration", 409 "--expiration",
373 "14400", 410 "14400",
374 "--io-timeout", 411 "--io-timeout",
375 "1200", 412 "1200",
376 "--hard-timeout", 413 "--hard-timeout",
377 "3600", 414 "3600",
378 "--dimension", 415 "--dimension",
379 "gpu", 416 "gpu",
380 "none", 417 "none",
381 "--dimension", 418 "--dimension",
382 "os", 419 "os",
383 "Ubuntu", 420 "Ubuntu",
384 "--dimension", 421 "--dimension",
385 "pool", 422 "pool",
386 "Skia", 423 "Skia",
387 "--tag", 424 "--tag",
388 "buildername:Build-Ubuntu-GCC-x86_64-Debug-Swarming", 425 "buildername:Build-Ubuntu-GCC-x86_64-Debug-Swarming",
389 "--tag", 426 "--tag",
390 "buildnumber:5", 427 "buildnumber:5",
391 "--tag", 428 "--tag",
392 "data:[dummy hash for compile_skia]", 429 "data:def456",
393 "--tag", 430 "--tag",
394 "master:client.skia.fyi", 431 "master:client.skia.fyi",
395 "--tag", 432 "--tag",
396 "name:compile_skia", 433 "name:compile_skia",
397 "--tag", 434 "--tag",
398 "os:Ubuntu", 435 "os:Ubuntu",
399 "--tag", 436 "--tag",
400 "slavename:skiabot-linux-housekeeper-003", 437 "slavename:skiabot-linux-housekeeper-003",
401 "--tag", 438 "--tag",
402 "stepname:compile_skia on Ubuntu", 439 "stepname:compile_skia on Ubuntu",
403 "--idempotent", 440 "--idempotent",
404 "[dummy hash for compile_skia]" 441 "def456",
442 "--",
443 "cook",
444 "-repository",
445 "https://chromium.googlesource.com/chromium/tools/build",
446 "-revision",
447 "",
448 "-recipe",
449 "skia/swarm_compile",
450 "-properties",
451 "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Debug-Swarming\", \"masternam e\": \"client.skia.fyi\", \"buildnumber\": 5, \"slavename\": \"skiabot-linux-hou sekeeper-003\", \"reason\": \"Triggered by Skia swarm_trigger Recipe\", \"swarm_ out_dir\": \"${ISOLATED_OUTDIR}\", \"revision\": 164710}",
452 "-workdir",
453 "../../.."
405 ], 454 ],
406 "cwd": "[SLAVE_BUILD]", 455 "cwd": "[SLAVE_BUILD]",
407 "name": "[trigger] compile_skia on Ubuntu", 456 "name": "[trigger] compile_skia on Ubuntu",
408 "~followup_annotations": [ 457 "~followup_annotations": [
409 "@@@STEP_LOG_LINE@json.output@{@@@", 458 "@@@STEP_LOG_LINE@json.output@{@@@",
410 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ [dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5\", @@@", 459 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5\", @@@",
411 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 460 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
412 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-U buntu-GCC-x86_64-Debug-Swarming/5\": {@@@", 461 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/def456/Build-Ubunt u-GCC-x86_64-Debug-Swarming/5\": {@@@",
413 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 462 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
414 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 463 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
415 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@", 464 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
416 "@@@STEP_LOG_LINE@json.output@ }@@@", 465 "@@@STEP_LOG_LINE@json.output@ }@@@",
417 "@@@STEP_LOG_LINE@json.output@ }@@@", 466 "@@@STEP_LOG_LINE@json.output@ }@@@",
418 "@@@STEP_LOG_LINE@json.output@}@@@", 467 "@@@STEP_LOG_LINE@json.output@}@@@",
419 "@@@STEP_LOG_END@json.output@@@", 468 "@@@STEP_LOG_END@json.output@@@",
420 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@" 469 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
421 ] 470 ]
422 }, 471 },
423 { 472 {
424 "cmd": [ 473 "cmd": [
425 "python", 474 "python",
426 "-u", 475 "-u",
427 "[SLAVE_BUILD]/swarming.client/swarming.py", 476 "[SLAVE_BUILD]/swarming.client/swarming.py",
428 "collect", 477 "collect",
429 "--swarming", 478 "--swarming",
430 "https://chromium-swarm.appspot.com", 479 "https://chromium-swarm.appspot.com",
431 "--decorate", 480 "--decorate",
432 "--print-status-updates", 481 "--print-status-updates",
433 "--shards", 482 "--shards",
434 "1", 483 "1",
435 "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5", 484 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5",
436 "--task-summary-json", 485 "--task-summary-json",
437 "/path/to/tmp/json" 486 "/path/to/tmp/json"
438 ], 487 ],
439 "cwd": "[SLAVE_BUILD]", 488 "cwd": "[SLAVE_BUILD]",
440 "name": "compile_skia on Ubuntu", 489 "name": "compile_skia on Ubuntu",
441 "~followup_annotations": [ 490 "~followup_annotations": [
442 "@@@STEP_TEXT@swarming pending 71s@@@", 491 "@@@STEP_TEXT@swarming pending 71s@@@",
443 "@@@STEP_LOG_LINE@json.output@{@@@", 492 "@@@STEP_LOG_LINE@json.output@{@@@",
444 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", 493 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
445 "@@@STEP_LOG_LINE@json.output@ {@@@", 494 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 "@@@STEP_LOG_END@json.output@@@", 529 "@@@STEP_LOG_END@json.output@@@",
481 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 530 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
482 ] 531 ]
483 }, 532 },
484 { 533 {
485 "name": "$result", 534 "name": "$result",
486 "recipe_result": null, 535 "recipe_result": null,
487 "status_code": 0 536 "status_code": 0
488 } 537 }
489 ] 538 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698