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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/legacy_android_sdk.json

Issue 2068123002: Add Swarming task for downloading Android SDK on Skia bots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Expectations, fix names Created 4 years, 6 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@", 392 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
393 "@@@STEP_LOG_LINE@json.output@}@@@", 393 "@@@STEP_LOG_LINE@json.output@}@@@",
394 "@@@STEP_LOG_END@json.output@@@", 394 "@@@STEP_LOG_END@json.output@@@",
395 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@" 395 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
396 ] 396 ]
397 }, 397 },
398 { 398 {
399 "cmd": [ 399 "cmd": [
400 "python", 400 "python",
401 "-u", 401 "-u",
402 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
403 "[SLAVE_BUILD]/skia/infra/bots/android_sdk_hash",
404 "/path/to/tmp/"
405 ],
406 "name": "Read android_sdk_hash",
407 "~followup_annotations": [
408 "step returned non-zero exit code: 1",
409 "@@@STEP_EXCEPTION@@@"
410 ]
411 },
412 {
413 "cmd": [
414 "python",
415 "-u",
416 "\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", 402 "\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",
417 "[SLAVE_BUILD]/swarming_temp_dir", 403 "[SLAVE_BUILD]/swarming_temp_dir",
418 "511" 404 "511"
419 ], 405 ],
420 "name": "makedirs swarming tmp dir (2)", 406 "name": "makedirs swarming tmp dir (2)",
421 "~followup_annotations": [ 407 "~followup_annotations": [
422 "@@@STEP_LOG_LINE@python.inline@@@@", 408 "@@@STEP_LOG_LINE@python.inline@@@@",
423 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 409 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
410 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
411 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
412 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
413 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
414 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
415 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
416 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
417 "@@@STEP_LOG_END@python.inline@@@"
418 ]
419 },
420 {
421 "cmd": [
422 "python",
423 "-u",
424 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
425 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl ave/recipes/skia/gsutil.isolate\", \n \"--isolated\", \n \"[SLAVE_ BUILD]/swarming_temp_dir/skia-task-isolate_gsutil.isolated\", \n \"--conf ig-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\": \"[B UILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}",
426 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
427 ],
428 "name": "Write isolate_gsutil.isolated.gen.json"
429 },
430 {
431 "cmd": [
432 "python",
433 "-u",
434 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
435 "[SLAVE_BUILD]/swarming.client",
436 "batcharchive",
437 "--dump-json",
438 "/path/to/tmp/json",
439 "--isolate-server",
440 "https://isolateserver.appspot.com",
441 "--verbose",
442 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
443 ],
444 "name": "isolate tests (2)",
445 "~followup_annotations": [
446 "@@@STEP_LOG_LINE@json.output@{@@@",
447 "@@@STEP_LOG_LINE@json.output@ \"isolate_gsutil\": \"[dummy hash for isol ate_gsutil]\"@@@",
448 "@@@STEP_LOG_LINE@json.output@}@@@",
449 "@@@STEP_LOG_END@json.output@@@",
450 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_gsutil\": \"[dummy hash for isolate_gsutil]\"}@@@"
451 ]
452 },
453 {
454 "cmd": [
455 "python",
456 "-u",
457 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
458 "[SLAVE_BUILD]/skia/infra/bots/android_sdk_hash",
459 "/path/to/tmp/"
460 ],
461 "name": "Read android_sdk_hash"
462 },
463 {
464 "cmd": [
465 "python",
466 "-u",
467 "\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",
468 "[SLAVE_BUILD]/swarming_temp_dir",
469 "511"
470 ],
471 "name": "makedirs swarming tmp dir (3)",
472 "~followup_annotations": [
473 "@@@STEP_LOG_LINE@python.inline@@@@",
474 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
424 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 475 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
425 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 476 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
426 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 477 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
427 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 478 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
428 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 479 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
429 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 480 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
430 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 481 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
431 "@@@STEP_LOG_END@python.inline@@@" 482 "@@@STEP_LOG_END@python.inline@@@"
432 ] 483 ]
433 }, 484 },
(...skipping 14 matching lines...) Expand all
448 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 499 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
449 "[SLAVE_BUILD]/swarming.client", 500 "[SLAVE_BUILD]/swarming.client",
450 "batcharchive", 501 "batcharchive",
451 "--dump-json", 502 "--dump-json",
452 "/path/to/tmp/json", 503 "/path/to/tmp/json",
453 "--isolate-server", 504 "--isolate-server",
454 "https://isolateserver.appspot.com", 505 "https://isolateserver.appspot.com",
455 "--verbose", 506 "--verbose",
456 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 507 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
457 ], 508 ],
458 "name": "isolate tests (2)", 509 "name": "isolate tests (3)",
459 "~followup_annotations": [ 510 "~followup_annotations": [
460 "@@@STEP_LOG_LINE@json.output@{@@@", 511 "@@@STEP_LOG_LINE@json.output@{@@@",
461 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 512 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
462 "@@@STEP_LOG_LINE@json.output@}@@@", 513 "@@@STEP_LOG_LINE@json.output@}@@@",
463 "@@@STEP_LOG_END@json.output@@@", 514 "@@@STEP_LOG_END@json.output@@@",
464 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 515 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
465 ] 516 ]
466 }, 517 },
467 { 518 {
468 "cmd": [ 519 "cmd": [
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 "@@@STEP_LOG_END@json.output@@@", 691 "@@@STEP_LOG_END@json.output@@@",
641 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 692 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
642 ] 693 ]
643 }, 694 },
644 { 695 {
645 "name": "$result", 696 "name": "$result",
646 "recipe_result": null, 697 "recipe_result": null,
647 "status_code": 0 698 "status_code": 0
648 } 699 }
649 ] 700 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698